File tree Expand file tree Collapse file tree 5 files changed +61
-0
lines changed Expand file tree Collapse file tree 5 files changed +61
-0
lines changed Original file line number Diff line number Diff line change 1+ # Copyright 2025 Nordic Semiconductor ASA
2+ # SPDX-License-Identifier: Apache-2.0
3+
4+ source "share/sysbuild/Kconfig"
5+
6+ config NET_CORE_BOARD
7+ string
8+ default "nrf5340bsim/nrf5340/cpunet" if $(BOARD_TARGET_STRING) = "NRF5340BSIM_NRF5340_CPUAPP"
9+
10+ config NATIVE_SIMULATOR_PRIMARY_MCU_INDEX
11+ int
12+ # Let's pass the test arguments to the application MCU test
13+ # otherwise by default they would have gone to the net core.
14+ default 0 if $(BOARD_TARGET_STRING) = "NRF5340BSIM_NRF5340_CPUAPP"
Original file line number Diff line number Diff line change 1+ CONFIG_IPC_SERVICE=y
2+ CONFIG_MBOX=y
3+ CONFIG_ISR_STACK_SIZE=1024
4+ CONFIG_IDLE_STACK_SIZE=256
5+ CONFIG_MAIN_STACK_SIZE=512
6+ CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=512
7+ CONFIG_IPC_SERVICE_BACKEND_RPMSG_WQ_STACK_SIZE=512
8+ CONFIG_HEAP_MEM_POOL_SIZE=4096
9+ CONFIG_CBPRINTF_REDUCED_INTEGRAL=y
10+ CONFIG_ISR_TABLES_LOCAL_DECLARATION=y
11+
12+ CONFIG_BT=y
13+ CONFIG_BT_HCI_RAW=y
14+ CONFIG_BT_EXT_ADV=y
15+ CONFIG_BT_PRIVACY=y
16+ CONFIG_BT_EXT_ADV_MAX_ADV_SET=3
17+ CONFIG_BT_CTLR_ADVANCED_FEATURES=y
18+ CONFIG_BT_CTLR_ADV_DATA_BUF_MAX=3
19+ CONFIG_BT_EXT_ADV_MAX_ADV_SET=4
20+ CONFIG_BT_CTLR_ADV_DATA_BUF_MAX=4
21+
22+ # Controller
23+ CONFIG_BT_LL_SW_SPLIT=y
24+ CONFIG_BT_CTLR_ASSERT_HANDLER=y
Original file line number Diff line number Diff line change 1+ # Copyright (c) 2025 Nordic Semiconductor ASA
2+ # SPDX-License-Identifier: Apache-2.0
3+
4+ if (NOT ("${SB_CONFIG_NET_CORE_BOARD} " STREQUAL "" ))
5+ set (NET_APP hci_ipc)
6+ set (NET_APP_SRC_DIR ${ZEPHYR_BASE} /samples/bluetooth/${NET_APP} )
7+
8+ ExternalZephyrProject_Add(
9+ APPLICATION ${NET_APP}
10+ SOURCE_DIR ${NET_APP_SRC_DIR}
11+ BOARD ${SB_CONFIG_NET_CORE_BOARD}
12+ )
13+
14+ set (${NET_APP} _CONF_FILE ${APP_DIR} /nrf5340_cpunet-bt_ll_sw_split.conf CACHE INTERNAL "" )
15+
16+ native_simulator_set_primary_mcu_index(${DEFAULT_IMAGE} ${NET_APP} )
17+ native_simulator_set_child_images(${DEFAULT_IMAGE} ${NET_APP} )
18+ endif ()
19+
20+ native_simulator_set_final_executable(${DEFAULT_IMAGE} )
Original file line number Diff line number Diff line change 11common :
22 build_only : true
3+ sysbuild : true
34 tags :
45 - bluetooth
56 platform_allow :
67 - nrf52_bsim/native
8+ - nrf5340bsim/nrf5340/cpuapp
79 harness : bsim
810
911tests :
Original file line number Diff line number Diff line change @@ -12,4 +12,5 @@ tests/bsim/bluetooth/audio/
1212tests/bsim/bluetooth/host/gatt/notify_stress/
1313tests/bsim/bluetooth/host/misc/hfc/
1414tests/bsim/bluetooth/host/misc/hfc_multilink/
15+ tests/bsim/bluetooth/host/privacy/peripheral
1516tests/bsim/bluetooth/tester/
You can’t perform that action at this time.
0 commit comments