Skip to content

Commit 63f0fae

Browse files
AyturkDuzenrlubos
authored andcommitted
[nrf noup] tests: bluetooth: tester: sysbuild configurable 53/54H
Add support for sysbuild 54h20 building added nrf54h20 cpurad configuration to hci_ipc sample. Signed-off-by: Aytürk Düzen <[email protected]> Signed-off-by: Vinayak Kariappa Chettimada <[email protected]> (cherry picked from commit 3f40e38)
1 parent 018554d commit 63f0fae

File tree

3 files changed

+48
-2
lines changed

3 files changed

+48
-2
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
CONFIG_IPC_SERVICE=y
2+
CONFIG_MBOX=y
3+
4+
CONFIG_ISR_STACK_SIZE=1024
5+
CONFIG_IDLE_STACK_SIZE=256
6+
CONFIG_MAIN_STACK_SIZE=512
7+
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=512
8+
CONFIG_IPC_SERVICE_BACKEND_RPMSG_WQ_STACK_SIZE=512
9+
CONFIG_HEAP_MEM_POOL_SIZE=8192
10+
11+
CONFIG_BT=y
12+
CONFIG_BT_HCI_RAW=y
13+
14+
CONFIG_BT_BUF_EVT_RX_COUNT=16
15+
CONFIG_BT_BUF_EVT_RX_SIZE=255
16+
CONFIG_BT_BUF_ACL_RX_SIZE=255
17+
CONFIG_BT_BUF_ACL_TX_SIZE=251
18+
CONFIG_BT_BUF_CMD_TX_SIZE=255
19+
20+
# Host
21+
CONFIG_BT_BROADCASTER=y
22+
CONFIG_BT_PERIPHERAL=y
23+
CONFIG_BT_OBSERVER=y
24+
CONFIG_BT_CENTRAL=y
25+
CONFIG_BT_EXT_ADV=y
26+
CONFIG_BT_PER_ADV=y
27+
CONFIG_BT_PER_ADV_SYNC=y
28+
29+
# Controller
30+
CONFIG_BT_LL_SW_SPLIT=n
31+
CONFIG_BT_LL_SOFTDEVICE=y
32+
CONFIG_BT_CTLR_DATA_LENGTH_MAX=251
33+
CONFIG_BT_CTLR_SCAN_DATA_LEN_MAX=191

tests/bluetooth/tester/Kconfig.sysbuild

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ source "share/sysbuild/Kconfig"
55

66
config NET_CORE_BOARD
77
string
8+
default "nrf54h20dk/nrf54h20/cpurad" if "$(BOARD)" = "nrf54h20dk"
89
default "nrf5340dk/nrf5340/cpunet" if "$(BOARD)" = "nrf5340dk"
910
default "nrf5340_audio_dk/nrf5340/cpunet" if "$(BOARD)" = "nrf5340_audio_dk"
1011
default "nrf5340bsim/nrf5340/cpunet" if $(BOARD_TARGET_STRING) = "NRF5340BSIM_NRF5340_CPUAPP"

tests/bluetooth/tester/sysbuild.cmake

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
# SPDX-License-Identifier: Apache-2.0
33

44
if(SB_CONFIG_NET_CORE_IMAGE_HCI_IPC)
5-
# For builds in the nrf5340, we build the netcore image with the controller
6-
75
set(NET_APP hci_ipc)
86
set(NET_APP_SRC_DIR ${ZEPHYR_BASE}/samples/bluetooth/${NET_APP})
97

@@ -13,6 +11,20 @@ if(SB_CONFIG_NET_CORE_IMAGE_HCI_IPC)
1311
BOARD ${SB_CONFIG_NET_CORE_BOARD}
1412
)
1513

14+
if(SB_CONFIG_SOC_NRF5340_CPUAPP)
15+
set(${NET_APP}_SNIPPET
16+
"bt-ll-sw-split"
17+
CACHE INTERNAL ""
18+
)
19+
endif()
20+
21+
if(SB_CONFIG_SOC_NRF54H20_CPUAPP)
22+
set(${NET_APP}_CONF_FILE
23+
${NET_APP_SRC_DIR}/nrf54h20_cpurad-bt_ll_softdevice.conf
24+
CACHE INTERNAL ""
25+
)
26+
endif()
27+
1628
set(${NET_APP}_EXTRA_CONF_FILE
1729
${APP_DIR}/overlay-bt_ll_sw_split.conf
1830
CACHE INTERNAL ""

0 commit comments

Comments
 (0)