-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
examples: add support for nxp_adsp_imx8m in rpmsg_multi_services
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
1 parent
340adb9
commit 5386c24
Showing
3 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
4 changes: 4 additions & 0 deletions
4
examples/zephyr/rpmsg_multi_services/boards/nxp_adsp_imx8m.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
24
examples/zephyr/rpmsg_multi_services/boards/nxp_adsp_imx8m.overlay
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters