Skip to content

Commit 720c59f

Browse files
erdemsimsekrlubos
authored andcommitted
samples: ipc: ipc_service: Enable sample on nRF7120
Adds overlays for the sample to support nRF7120. Signed-off-by: Erdem Simsek <erdem.simsek@nordicsemi.no>
1 parent 4d2d902 commit 720c59f

6 files changed

Lines changed: 125 additions & 0 deletions

File tree

samples/ipc/ipc_service/Kconfig.sysbuild

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@ config REMOTE_BOARD
1515
default "nrf54lm20dk/nrf54lm20a/cpuflpr" if BOARD_NRF54LM20DK_NRF54LM20A_CPUAPP
1616
default "nrf54lm20dk/nrf54lm20b/cpuflpr" if BOARD_NRF54LM20DK_NRF54LM20B_CPUAPP
1717
default "nrf54lv10dk/nrf54lv10a/cpuflpr" if BOARD_NRF54LV10DK_NRF54LV10A_CPUAPP
18+
default "nrf7120dk/nrf7120/cpuflpr" if BOARD_NRF7120DK_NRF7120_CPUAPP
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
/*
2+
* Copyright (c) 2026 Nordic Semiconductor ASA
3+
*
4+
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
*/
6+
7+
/ {
8+
soc {
9+
reserved-memory {
10+
#address-cells = <1>;
11+
#size-cells = <1>;
12+
13+
sram_rx: memory@20080000 {
14+
reg = <0x20080000 0x8000>;
15+
};
16+
17+
sram_tx: memory@20088000 {
18+
reg = <0x20088000 0x8000>;
19+
};
20+
};
21+
};
22+
23+
ipc {
24+
ipc0: ipc0 {
25+
compatible = "zephyr,ipc-icmsg";
26+
tx-region = <&sram_tx>;
27+
rx-region = <&sram_rx>;
28+
mboxes = <&cpuapp_vevif_rx 20>, <&cpuapp_vevif_tx 21>;
29+
mbox-names = "rx", "tx";
30+
status = "okay";
31+
};
32+
};
33+
};
34+
35+
&cpuapp_vevif_rx {
36+
status = "okay";
37+
};
38+
39+
&cpuapp_vevif_tx {
40+
status = "okay";
41+
};
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/*
2+
* Copyright (c) 2026 Nordic Semiconductor ASA
3+
*
4+
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
*/
6+
7+
&ipc0 {
8+
compatible = "zephyr,ipc-icbmsg";
9+
tx-blocks = <16>;
10+
rx-blocks = <18>;
11+
};
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
/*
2+
* Copyright (c) 2026 Nordic Semiconductor ASA
3+
*
4+
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
*/
6+
7+
/ {
8+
soc {
9+
reserved-memory {
10+
#address-cells = <1>;
11+
#size-cells = <1>;
12+
13+
sram_tx: memory@20080000 {
14+
reg = <0x20080000 0x8000>;
15+
};
16+
17+
sram_rx: memory@20088000 {
18+
reg = <0x20088000 0x8000>;
19+
};
20+
};
21+
};
22+
23+
ipc {
24+
ipc0: ipc0 {
25+
compatible = "zephyr,ipc-icmsg";
26+
tx-region = <&sram_tx>;
27+
rx-region = <&sram_rx>;
28+
mboxes = <&cpuflpr_vevif_rx 21>, <&cpuflpr_vevif_tx 20>;
29+
mbox-names = "rx", "tx";
30+
status = "okay";
31+
};
32+
};
33+
};
34+
35+
&cpuflpr_vevif_rx {
36+
status = "okay";
37+
};
38+
39+
&cpuflpr_vevif_tx {
40+
status = "okay";
41+
};
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/*
2+
* Copyright (c) 2026 Nordic Semiconductor ASA
3+
*
4+
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
*/
6+
7+
&ipc0 {
8+
compatible = "zephyr,ipc-icbmsg";
9+
tx-blocks = <18>;
10+
rx-blocks = <16>;
11+
};

samples/ipc/ipc_service/sample.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,3 +208,23 @@ tests:
208208
integration_platforms:
209209
- nrf54l15dk/nrf54l15/cpuapp
210210
timeout: 20
211+
sample.ipc.ipc_service.nrf7120dk_cpuapp_cpuflpr_icmsg:
212+
extra_args:
213+
- ipc_service_SNIPPET=nordic-flpr
214+
platform_allow:
215+
- nrf7120dk/nrf7120/cpuapp
216+
integration_platforms:
217+
- nrf7120dk/nrf7120/cpuapp
218+
timeout: 20
219+
sample.ipc.ipc_service.nrf7120dk_cpuapp_cpuflpr_icbmsg:
220+
extra_args:
221+
- ipc_service_SNIPPET=nordic-flpr
222+
- ipc_service_CONFIG_IPC_SERVICE_BACKEND_ICBMSG_NUM_EP=1
223+
- ipc_service_EXTRA_DTC_OVERLAY_FILE="boards/nrf7120dk_nrf7120_cpuapp_icbmsg.overlay"
224+
- remote_CONFIG_IPC_SERVICE_BACKEND_ICBMSG_NUM_EP=1
225+
- remote_EXTRA_DTC_OVERLAY_FILE="boards/nrf7120dk_nrf7120_cpuflpr_icbmsg.overlay"
226+
platform_allow:
227+
- nrf7120dk/nrf7120/cpuapp
228+
integration_platforms:
229+
- nrf7120dk/nrf7120/cpuapp
230+
timeout: 20

0 commit comments

Comments
 (0)