Skip to content

Commit

Permalink
[nrf fromlist] samples: drivers: mbox: add support for nRF BELLBOARD
Browse files Browse the repository at this point in the history
Add support for testing BELLBOARD between cpuapp (local) and cpuppr
(remote).

Upstream PR: zephyrproject-rtos/zephyr#69303

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
(cherry picked from commit 54d64e39a00b6ef9383ea46eb79a409e11ccc189)
(cherry picked from commit bd0efe3)
  • Loading branch information
gmarull authored and jfischer-no committed Mar 1, 2024
1 parent a66f3be commit 34e58ef
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 0 deletions.
@@ -0,0 +1 @@
CONFIG_TX_ENABLED=n
@@ -0,0 +1,8 @@
/*
* Copyright 2024 Nordic Semiconductor ASA
* SPDX-License-Identifier: Apache-2.0
*/

mbox: &cpuapp_bellboard {
status = "okay";
};
@@ -0,0 +1 @@
CONFIG_RX_ENABLED=n
@@ -0,0 +1,8 @@
/*
* Copyright 2024 Nordic Semiconductor ASA
* SPDX-License-Identifier: Apache-2.0
*/

mbox: &cpuapp_bellboard {
status = "okay";
};
20 changes: 20 additions & 0 deletions samples/drivers/mbox/sample.yaml
Expand Up @@ -44,6 +44,26 @@ tests:
- "Ping \\(on channel 4\\)"
- "Pong \\(on channel 4\\)"

sample.drivers.mbox.nrf54h20_bellboard:
platform_allow:
- nrf54h20pdk_nrf54h20_cpuapp
integration_platforms:
- nrf54h20pdk_nrf54h20_cpuapp
extra_args:
mbox_SNIPPET=nordic-ppr
mbox_EXTRA_CONF_FILE=boards/nrf54h20pdk_nrf54h20_cpuapp_bellboard.conf
mbox_DTC_OVERLAY_FILE=boards/nrf54h20pdk_nrf54h20_cpuapp_bellboard.overlay
remote_EXTRA_CONF_FILE=boards/nrf54h20pdk_nrf54h20_cpuppr_bellboard.conf
remote_DTC_OVERLAY_FILE=boards/nrf54h20pdk_nrf54h20_cpuppr_bellboard.overlay
sysbuild: true
harness: console
harness_config:
type: multi_line
ordered: false
regex:
- "Ping \\(on channel 0\\)"
- "Pong \\(on channel 0\\)"

sample.drivers.mbox.simu:
platform_allow:
- nrf5340bsim_nrf5340_cpuapp
Expand Down

0 comments on commit 34e58ef

Please sign in to comment.