Skip to content

Commit

Permalink
examples: add support for nxp_adsp_imx8m in rpmsg_multi_services
Browse files Browse the repository at this point in the history
Add the dts and config overlay for nxp_adsp_imx8m board
in order to have the rpmsg_multi_services sample working on
HiFi4 DSP from i.MX 8M Plus.

Signed-off-by: Iuliana Prodan <[email protected]>
  • Loading branch information
iuliana-prodan authored and arnopo committed Oct 2, 2024
1 parent 340adb9 commit 5386c24
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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
24 changes: 24 additions & 0 deletions examples/zephyr/rpmsg_multi_services/boards/nxp_adsp_imx8m.overlay
Original file line number Diff line number Diff line change
@@ -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";
};
1 change: 1 addition & 0 deletions examples/zephyr/rpmsg_multi_services/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 5386c24

Please sign in to comment.