Skip to content

Commit 906f248

Browse files
committed
tests: ipc: ipc_sessions: Add nrf54h20 cpuapp-cpurad configuration
Implemenation of the test between cpuapp and cpurad cores. Signed-off-by: Radoslaw Koppel <[email protected]>
1 parent 7e8b188 commit 906f248

File tree

6 files changed

+56
-20
lines changed

6 files changed

+56
-20
lines changed

tests/subsys/ipc/ipc_sessions/Kconfig.sysbuild

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ config REMOTE_BOARD
1010
string "The board used for remote target"
1111
default "nrf5340dk/nrf5340/cpunet" if BOARD_NRF5340DK_NRF5340_CPUAPP
1212
default "nrf5340dk/nrf5340/cpunet" if BOARD_NRF5340DK_NRF5340_CPUAPP_NS
13-
default "nrf54h20dk/nrf54h20/cpuppr" if BOARD_NRF54H20DK_NRF54H20_CPUAPP
13+
default "nrf54h20dk/nrf54h20/cpurad" if BOARD_NRF54H20DK_NRF54H20_CPUAPP

tests/subsys/ipc/ipc_sessions/boards/nrf54h20dk_nrf54h20_cpuapp.overlay

Lines changed: 5 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,9 @@
44
*/
55

66
/* Replace default ipc0 instance */
7-
/delete-node/ &ipc0;
8-
9-
ipc0: &cpuapp_cpuppr_ipc {
10-
status = "okay";
11-
unbound = "detect";
12-
};
13-
14-
&cpuppr_vevif {
15-
status = "okay";
16-
};
17-
18-
&cpuapp_bellboard {
19-
status = "okay";
20-
};
21-
22-
/ {
23-
chosen {
24-
/delete-property/ zephyr,bt-hci;
25-
};
7+
&ipc0 {
8+
compatible = "zephyr,ipc-icmsg";
9+
/delete-property/ tx-blocks;
10+
/delete-property/ rx-blocks;
11+
unbound = "enable";
2612
};
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
/*
2+
* Copyright (c) 2024 Nordic Semiconductor ASA
3+
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
4+
*/
5+
6+
/* Replace default ipc0 instance */
7+
/delete-node/ &ipc0;
8+
9+
ipc0: &cpuapp_cpuppr_ipc {
10+
status = "okay";
11+
unbound = "detect";
12+
};
13+
14+
&cpuppr_vevif {
15+
status = "okay";
16+
};
17+
18+
&cpuapp_bellboard {
19+
status = "okay";
20+
};
21+
22+
/ {
23+
chosen {
24+
/delete-property/ zephyr,bt-hci;
25+
};
26+
};
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
/*
2+
* Copyright (c) 2024 Nordic Semiconductor ASA
3+
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
4+
*/
5+
6+
&uart135 {
7+
/delete-property/ hw-flow-control;
8+
};
9+
10+
&ipc0 {
11+
compatible = "zephyr,ipc-icmsg";
12+
/delete-property/ tx-blocks;
13+
/delete-property/ rx-blocks;
14+
unbound = "enable";
15+
};
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Copyright (c) 2024 Nordic Semiconductor ASA
2+
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
3+
4+
SB_CONFIG_REMOTE_BOARD="nrf54h20dk/nrf54h20/cpuppr"

tests/subsys/ipc/ipc_sessions/testcase.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ tests:
1313
- nrf5340dk/nrf5340/cpuapp
1414
integration_platforms:
1515
- nrf5340dk/nrf5340/cpuapp
16+
sample.ipc.ipc_sessions.nrf54h20dk_cpuapp_cpurad:
17+
platform_allow:
18+
- nrf54h20dk/nrf54h20/cpuapp
19+
integration_platforms:
20+
- nrf54h20dk/nrf54h20/cpuapp
1621
sample.ipc.ipc_sessions.nrf54h20dk_cpuapp_cpuppr:
1722
platform_allow:
1823
- nrf54h20dk/nrf54h20/cpuapp

0 commit comments

Comments
 (0)