File tree Expand file tree Collapse file tree 3 files changed +19
-1
lines changed
samples/subsys/zbus/ipc_forwarder Expand file tree Collapse file tree 3 files changed +19
-1
lines changed Original file line number Diff line number Diff line change 10
10
prompt "Remote board target"
11
11
default REMOTE_BOARD_NRF54H20_CPURAD if BOARD = "nrf54h20dk"
12
12
default REMOTE_BOARD_NRF5340_CPUNET if BOARD = "nrf5340dk"
13
+ default REMOTE_BOARD_NRF5340_CPUNET_SIM if BOARD = "nrf5340bsim"
13
14
14
15
config REMOTE_BOARD_NRF54H20_CPURAD
15
16
bool "nrf54h20dk/nrf54h20/cpurad"
@@ -28,6 +29,12 @@ config REMOTE_BOARD_NRF54H20_CPUFLPR_XIP
28
29
config REMOTE_BOARD_NRF5340_CPUNET
29
30
bool "nrf5340dk/nrf5340/cpunet"
30
31
32
+ config REMOTE_BOARD_NRF5340_CPUNET_SIM
33
+ bool "nrf5340bsim/nrf5340/cpunet"
34
+ help
35
+ Use this option to run the sample on nRF5340 CPU network simulator target.
36
+ This option is useful for development and testing without requiring physical hardware.
37
+
31
38
endchoice
32
39
33
40
config REMOTE_BOARD
@@ -36,4 +43,5 @@ config REMOTE_BOARD
36
43
default "nrf54h20dk/nrf54h20/cpuppr" if REMOTE_BOARD_NRF54H20_CPUPPR
37
44
default "nrf54h20dk/nrf54h20/cpuppr/xip" if REMOTE_BOARD_NRF54H20_CPUPPR_XIP
38
45
default "nrf54h20dk/nrf54h20/cpuflpr/xip" if REMOTE_BOARD_NRF54H20_CPUFLPR_XIP
39
- default "nrf5340dk/nrf5340/cpunet" if REMOTE_BOARD_NRF5340_CPUNET
46
+ default "nrf5340dk/nrf5340/cpunet" if REMOTE_BOARD_NRF5340_CPUNET
47
+ default "nrf5340bsim/nrf5340/cpunet" if REMOTE_BOARD_NRF5340_CPUNET_SIM
Original file line number Diff line number Diff line change
1
+ # Copyright (c) 2025 Nordic Semiconductor ASA
2
+ # SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
3
+
4
+ CONFIG_SOC_NRF53_CPUNET_ENABLE=y
Original file line number Diff line number Diff line change @@ -36,6 +36,12 @@ ExternalZephyrProject_Add(
36
36
BOARD_REVISION ${BOARD_REVISION}
37
37
)
38
38
39
+ # Configure BabbleSim multi-core setup for nrf5340bsim targets
40
+ if ("${SB_CONFIG_REMOTE_BOARD} " MATCHES "nrf5340bsim" )
41
+ native_simulator_set_child_images(${DEFAULT_IMAGE} remote_app)
42
+ native_simulator_set_final_executable(${DEFAULT_IMAGE} )
43
+ endif ()
44
+
39
45
# Setup PM partitioning for remote
40
46
set_property (GLOBAL APPEND PROPERTY PM_DOMAINS REMOTE)
41
47
set_property (GLOBAL APPEND PROPERTY PM_REMOTE_IMAGES remote_app)
You can’t perform that action at this time.
0 commit comments