Skip to content

Commit 76b0f07

Browse files
committed
[nrf noup] tests: bluetooth: tester: build with sysbuild
To enable common sysbuild hci_ipc build for rad core: Kconfig.sysbuild sysbuild/prj.conf added for multicore devices (nRF53/54H) Signed-off-by: Aytürk Düzen <ayturk.duzen@nordicsemi.no>
1 parent a70d6bd commit 76b0f07

File tree

2 files changed

+48
-0
lines changed

2 files changed

+48
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Copyright 2024 Nordic Semiconductor ASA
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
source "${ZEPHYR_BASE}/share/sysbuild/Kconfig"
5+
6+
config NRF_DEFAULT_IPC_RADIO
7+
default y
8+
9+
config NETCORE_IPC_RADIO_BT_HCI_IPC
10+
default y
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
CONFIG_IPC_SERVICE=y
2+
CONFIG_MBOX=y
3+
4+
CONFIG_HEAP_MEM_POOL_SIZE=8192
5+
CONFIG_MAIN_STACK_SIZE=2048
6+
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048
7+
8+
CONFIG_IPC_RADIO_BT=y
9+
CONFIG_IPC_RADIO_BT_HCI_IPC=y
10+
11+
CONFIG_BT=y
12+
CONFIG_BT_HCI_RAW=y
13+
14+
CONFIG_BT_CTLR_PHY_2M=y
15+
16+
CONFIG_BT=y
17+
CONFIG_BT_CENTRAL=y
18+
CONFIG_BT_PERIPHERAL=y
19+
CONFIG_BT_PRIVACY=n3
20+
CONFIG_BT_ATT_RETRY_ON_SEC_ERR=n
21+
CONFIG_BT_EXT_ADV=y
22+
CONFIG_BT_PER_ADV=y
23+
CONFIG_BT_PER_ADV_SYNC=y
24+
CONFIG_BT_RX_STACK_SIZE=4096
25+
26+
# Workaround: Unable to allocate command buffer when using K_NO_WAIT since
27+
# Host number of completed commands does not follow normal flow control.
28+
CONFIG_BT_BUF_CMD_TX_COUNT=10
29+
30+
# Apply this overlay at hci_ipc controller build
31+
CONFIG_BT_MAX_CONN=3
32+
33+
# Those have to be the same as in the controller (hci_ipc)
34+
CONFIG_BT_BUF_EVT_RX_COUNT=16
35+
CONFIG_BT_BUF_EVT_RX_SIZE=255
36+
CONFIG_BT_BUF_CMD_TX_SIZE=255
37+
CONFIG_BT_BUF_ACL_TX_SIZE=251
38+
CONFIG_BT_BUF_ACL_RX_SIZE=255

0 commit comments

Comments
 (0)