File tree Expand file tree Collapse file tree 3 files changed +48
-2
lines changed
samples/bluetooth/hci_ipc Expand file tree Collapse file tree 3 files changed +48
-2
lines changed Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ source "share/sysbuild/Kconfig"
5
5
6
6
config NET_CORE_BOARD
7
7
string
8
+ default "nrf54h20dk/nrf54h20/cpurad" if "$(BOARD)" = "nrf54h20dk"
8
9
default "nrf5340dk/nrf5340/cpunet" if "$(BOARD)" = "nrf5340dk"
9
10
default "nrf5340_audio_dk/nrf5340/cpunet" if "$(BOARD)" = "nrf5340_audio_dk"
10
11
default "nrf5340bsim/nrf5340/cpunet" if $(BOARD_TARGET_STRING) = "NRF5340BSIM_NRF5340_CPUAPP"
Original file line number Diff line number Diff line change 2
2
# SPDX-License-Identifier: Apache-2.0
3
3
4
4
if (SB_CONFIG_NET_CORE_IMAGE_HCI_IPC )
5
- # For builds in the nrf5340, we build the netcore image with the controller
6
-
7
5
set (NET_APP hci_ipc )
8
6
set (NET_APP_SRC_DIR ${ZEPHYR_BASE} /samples/bluetooth/${NET_APP} )
9
7
@@ -13,6 +11,20 @@ if(SB_CONFIG_NET_CORE_IMAGE_HCI_IPC)
13
11
BOARD ${SB_CONFIG_NET_CORE_BOARD}
14
12
)
15
13
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
+
16
28
set (${NET_APP} _EXTRA_CONF_FILE
17
29
${APP_DIR} /overlay-bt_ll_sw_split.conf
18
30
CACHE INTERNAL ""
You can’t perform that action at this time.
0 commit comments