diff --git a/examples/zephyr/rpmsg_multi_services/boards/nxp_adsp_imx8m.conf b/examples/zephyr/rpmsg_multi_services/boards/nxp_adsp_imx8m.conf new file mode 100644 index 0000000..1647bfa --- /dev/null +++ b/examples/zephyr/rpmsg_multi_services/boards/nxp_adsp_imx8m.conf @@ -0,0 +1,4 @@ +CONFIG_IPM_IMX_MAX_DATA_SIZE_16=n +CONFIG_IPM_IMX_MAX_DATA_SIZE_4=y +CONFIG_OPENAMP_WITH_DCACHE=y +CONFIG_IPM_IMX_FW_READY_REPLY=y diff --git a/examples/zephyr/rpmsg_multi_services/boards/nxp_adsp_imx8m.overlay b/examples/zephyr/rpmsg_multi_services/boards/nxp_adsp_imx8m.overlay new file mode 100644 index 0000000..56843c4 --- /dev/null +++ b/examples/zephyr/rpmsg_multi_services/boards/nxp_adsp_imx8m.overlay @@ -0,0 +1,24 @@ +/* + * Copyright 2024 NXP + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/ { + chosen { + /* + * shared memory reserved for the inter-processor communication + */ + zephyr,ipc_shm = &dspsram3; + zephyr,ipc = &mailbox0; + }; + + dspsram3: memory@942f0000 { + compatible = "mmio-sram"; + reg = <0x942f0000 0x110000>; + }; +}; + +&mailbox0 { + status = "okay"; +}; diff --git a/examples/zephyr/rpmsg_multi_services/sample.yaml b/examples/zephyr/rpmsg_multi_services/sample.yaml index 50a21b1..fa1efa1 100644 --- a/examples/zephyr/rpmsg_multi_services/sample.yaml +++ b/examples/zephyr/rpmsg_multi_services/sample.yaml @@ -8,4 +8,5 @@ tests: platform_allow: stm32mp157c_dk2 platform_allow: qemu_cortex_r5 platform_allow: kv260_r5 + platform_allow: nxp_adsp_imx8m tags: ipm