Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions samples/subsys/ipc/ipc_service/icmsg/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})

if(NOT CONFIG_BOARD_NRF5340DK_NRF5340_CPUAPP AND
NOT CONFIG_BOARD_NRF5340BSIM_NRF5340_CPUAPP AND
NOT CONFIG_BOARD_NRF54LM20DK_NRF54LM20A_CPUAPP AND
NOT CONFIG_BOARD_STM32H747I_DISCO AND
NOT CONFIG_BOARD_NRF54L15DK_NRF54L15_CPUAPP)
message(FATAL_ERROR "${BOARD} is not supported for this sample")
Expand Down
1 change: 1 addition & 0 deletions samples/subsys/ipc/ipc_service/icmsg/Kconfig.sysbuild
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ string
default "nrf5340dk/nrf5340/cpunet" if $(BOARD) = "nrf5340dk"
default "nrf5340bsim/nrf5340/cpunet" if $(BOARD) = "nrf5340bsim"
default "nrf54l15dk/nrf54l15/cpuflpr" if $(BOARD) = "nrf54l15dk"
default "nrf54lm20dk/nrf54lm20a/cpuflpr" if $(BOARD) = "nrf54lm20dk"
default "stm32h747i_disco/stm32h747xx/m4" if $(BOARD) = "stm32h747i_disco"
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/*
* Copyright (c) 2024 Nordic Semiconductor ASA
*
* SPDX-License-Identifier: Apache-2.0
*/

&ipc0 {
compatible = "zephyr,ipc-icbmsg";
tx-blocks = <16>;
rx-blocks = <18>;
status = "okay";
};
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2024 Nordic Semiconductor ASA
* Copyright (c) 2025 Nordic Semiconductor ASA
*
* SPDX-License-Identifier: Apache-2.0
*/
Expand All @@ -10,24 +10,22 @@
#address-cells = <1>;
#size-cells = <1>;

sram_rx: memory@20018000 {
reg = <0x20018000 0x0800>;
sram_rx: memory@20057c00 {
reg = <0x20057c00 0x8000>;
};

sram_tx: memory@20020000 {
reg = <0x20020000 0x0800>;
sram_tx: memory@2005fc00 {
reg = <0x2005fc00 0x8000>;
};
};
};

ipc {
ipc0: ipc0 {
compatible = "zephyr,ipc-icbmsg";
compatible = "zephyr,ipc-icmsg";
dcache-alignment = <32>;
tx-region = <&sram_tx>;
rx-region = <&sram_rx>;
tx-blocks = <16>;
rx-blocks = <18>;
mboxes = <&cpuapp_vevif_rx 20>, <&cpuapp_vevif_tx 21>;
mbox-names = "rx", "tx";
status = "okay";
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/*
* Copyright (c) 2024 Nordic Semiconductor ASA
*
* SPDX-License-Identifier: Apache-2.0
*/

&ipc0 {
compatible = "zephyr,ipc-icbmsg";
tx-blocks = <18>;
rx-blocks = <16>;
status = "okay";
};
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,22 @@
#address-cells = <1>;
#size-cells = <1>;

sram_tx: memory@20018000 {
reg = <0x20018000 0x0800>;
sram_tx: memory@20057c00 {
reg = <0x20057c00 0x8000>;
};

sram_rx: memory@20020000 {
reg = <0x20020000 0x0800>;
sram_rx: memory@2005fc00 {
reg = <0x2005fc00 0x8000>;
};
};
};

ipc {
ipc0: ipc0 {
compatible = "zephyr,ipc-icbmsg";
compatible = "zephyr,ipc-icmsg";
dcache-alignment = <32>;
tx-region = <&sram_tx>;
rx-region = <&sram_rx>;
tx-blocks = <18>;
rx-blocks = <16>;
mboxes = <&cpuflpr_vevif_rx 21>, <&cpuflpr_vevif_tx 20>;
mbox-names = "rx", "tx";
status = "okay";
Expand Down
48 changes: 30 additions & 18 deletions samples/subsys/ipc/ipc_service/icmsg/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@ tests:
- "host: Received"
- "host: IPC-service HOST demo ended"

sample.ipc.icmsg.nrf54l15:
platform_allow: nrf54l15dk/nrf54l15/cpuapp
sample.ipc.icmsg.nrf54l:
platform_allow:
- nrf54l15dk/nrf54l15/cpuapp
- nrf54lm20dk/nrf54lm20a/cpuapp
integration_platforms:
- nrf54l15dk/nrf54l15/cpuapp
tags: ipc
Expand All @@ -43,8 +45,10 @@ tests:
- "host: Received"
- "host: IPC-service HOST demo ended"

sample.ipc.icmsg.nrf54l15_no_multithreading:
platform_allow: nrf54l15dk/nrf54l15/cpuapp
sample.ipc.icmsg.nrf54l_no_multithreading:
platform_allow:
- nrf54l15dk/nrf54l15/cpuapp
- nrf54lm20dk/nrf54lm20a/cpuapp
integration_platforms:
- nrf54l15dk/nrf54l15/cpuapp
tags: ipc
Expand All @@ -67,8 +71,10 @@ tests:
- "I: Received"
- "I: IPC-service HOST demo ended"

sample.ipc.icmsg.nrf54l15_remote_no_multithreading:
platform_allow: nrf54l15dk/nrf54l15/cpuapp
sample.ipc.icmsg.nrf54l_remote_no_multithreading:
platform_allow:
- nrf54l15dk/nrf54l15/cpuapp
- nrf54lm20dk/nrf54lm20a/cpuapp
integration_platforms:
- nrf54l15dk/nrf54l15/cpuapp
tags: ipc
Expand All @@ -89,17 +95,19 @@ tests:
- "host: Received"
- "host: IPC-service HOST demo ended"

sample.ipc.icbmsg.nrf54l15:
platform_allow: nrf54l15dk/nrf54l15/cpuapp
sample.ipc.icbmsg.nrf54l:
platform_allow:
- nrf54l15dk/nrf54l15/cpuapp
- nrf54lm20dk/nrf54lm20a/cpuapp
integration_platforms:
- nrf54l15dk/nrf54l15/cpuapp
tags: ipc
extra_args:
- icmsg_SNIPPET=nordic-flpr
- icmsg_CONFIG_IPC_SERVICE_BACKEND_ICBMSG_NUM_EP=1
- icmsg_DTC_OVERLAY_FILE="boards/nrf54l15dk_nrf54l15_cpuapp_icbmsg.overlay"
- icmsg_EXTRA_DTC_OVERLAY_FILE="boards/nrf54l_cpuapp_icbmsg.overlay"
- remote_CONFIG_IPC_SERVICE_BACKEND_ICBMSG_NUM_EP=1
- remote_DTC_OVERLAY_FILE="boards/nrf54l15dk_nrf54l15_cpuflpr_icbmsg.overlay"
- remote_EXTRA_DTC_OVERLAY_FILE="boards/nrf54l_cpuflpr_icbmsg.overlay"
sysbuild: true
harness: console
harness_config:
Expand All @@ -113,19 +121,21 @@ tests:
- "host: Received"
- "host: IPC-service HOST demo ended"

sample.ipc.icbmsg.nrf54l15_no_multithreading:
platform_allow: nrf54l15dk/nrf54l15/cpuapp
sample.ipc.icbmsg.nrf54l_no_multithreading:
platform_allow:
- nrf54l15dk/nrf54l15/cpuapp
- nrf54lm20dk/nrf54lm20a/cpuapp
integration_platforms:
- nrf54l15dk/nrf54l15/cpuapp
tags: ipc
extra_args:
- icmsg_SNIPPET=nordic-flpr
- icmsg_CONFIG_IPC_SERVICE_BACKEND_ICBMSG_NUM_EP=1
- icmsg_DTC_OVERLAY_FILE="boards/nrf54l15dk_nrf54l15_cpuapp_icbmsg.overlay"
- icmsg_EXTRA_DTC_OVERLAY_FILE="boards/nrf54l_cpuapp_icbmsg.overlay"
- icmsg_CONFIG_MULTITHREADING=n
- icmsg_CONFIG_LOG_MODE_MINIMAL=y
- remote_CONFIG_IPC_SERVICE_BACKEND_ICBMSG_NUM_EP=1
- remote_DTC_OVERLAY_FILE="boards/nrf54l15dk_nrf54l15_cpuflpr_icbmsg.overlay"
- remote_EXTRA_DTC_OVERLAY_FILE="boards/nrf54l_cpuflpr_icbmsg.overlay"
- remote_CONFIG_MULTITHREADING=n
- remote_CONFIG_LOG_MODE_MINIMAL=y
sysbuild: true
Expand All @@ -141,17 +151,19 @@ tests:
- "I: Received"
- "I: IPC-service HOST demo ended"

sample.ipc.icbmsg.nrf54l15_remote_no_multithreading:
platform_allow: nrf54l15dk/nrf54l15/cpuapp
sample.ipc.icbmsg.nrf54l_remote_no_multithreading:
platform_allow:
- nrf54l15dk/nrf54l15/cpuapp
- nrf54lm20dk/nrf54lm20a/cpuapp
integration_platforms:
- nrf54l15dk/nrf54l15/cpuapp
tags: ipc
extra_args:
- icmsg_SNIPPET=nordic-flpr
- icmsg_CONFIG_IPC_SERVICE_BACKEND_ICBMSG_NUM_EP=1
- icmsg_DTC_OVERLAY_FILE="boards/nrf54l15dk_nrf54l15_cpuapp_icbmsg.overlay"
- icmsg_EXTRA_DTC_OVERLAY_FILE="boards/nrf54l_cpuapp_icbmsg.overlay"
- remote_CONFIG_IPC_SERVICE_BACKEND_ICBMSG_NUM_EP=1
- remote_DTC_OVERLAY_FILE="boards/nrf54l15dk_nrf54l15_cpuflpr_icbmsg.overlay"
- remote_EXTRA_DTC_OVERLAY_FILE="boards/nrf54l_cpuflpr_icbmsg.overlay"
- remote_CONFIG_MULTITHREADING=n
- remote_CONFIG_LOG_MODE_MINIMAL=y
sysbuild: true
Expand Down