Skip to content

Commit b8b40c4

Browse files
committed
samples: Bluetooth: hci_uart: Make bt_ll_sw_split conf consistent
Make overlay-all-bt_ll_sw_split configs consistent with the one used in hci_ipc for nRF5340 SoC. Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
1 parent 8748b75 commit b8b40c4

File tree

3 files changed

+18
-9
lines changed

3 files changed

+18
-9
lines changed

samples/bluetooth/hci_ipc/prj.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ CONFIG_BT=y
1010
CONFIG_BT_HCI_RAW=y
1111
CONFIG_BT_MAX_CONN=16
1212

13-
# Enable and adjust the below value as necessary
13+
# Enable and adjust the below value as necessary to match Controller values
1414
# CONFIG_BT_BUF_EVT_RX_COUNT=16
1515
# CONFIG_BT_BUF_EVT_RX_SIZE=255
1616
# CONFIG_BT_BUF_ACL_RX_SIZE=255

samples/bluetooth/hci_uart/overlay-all-bt_ll_sw_split.conf

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
1-
CONFIG_BT_BUF_EVT_RX_COUNT=16
1+
CONFIG_BT=y
2+
CONFIG_BT_HCI_RAW=y
23

4+
# BT Buffers
5+
CONFIG_BT_BUF_CMD_TX_SIZE=255
6+
CONFIG_BT_BUF_EVT_RX_COUNT=16
37
CONFIG_BT_BUF_EVT_RX_SIZE=255
4-
CONFIG_BT_BUF_ACL_RX_SIZE=255
8+
CONFIG_BT_BUF_ACL_TX_COUNT=3
59
CONFIG_BT_BUF_ACL_TX_SIZE=251
6-
CONFIG_BT_BUF_CMD_TX_SIZE=255
10+
CONFIG_BT_BUF_ACL_RX_COUNT_EXTRA=1
11+
CONFIG_BT_BUF_ACL_RX_SIZE=255
712

813
# Host and Controller common dependencies
914
CONFIG_BT_EXT_ADV=y

samples/bluetooth/hci_uart/prj.conf

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,18 @@ CONFIG_UART_CONSOLE=n
44
CONFIG_GPIO=y
55
CONFIG_SERIAL=y
66
CONFIG_UART_INTERRUPT_DRIVEN=y
7+
8+
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=512
9+
710
CONFIG_BT=y
811
CONFIG_BT_HCI_RAW=y
912
CONFIG_BT_HCI_RAW_H4=y
1013
CONFIG_BT_HCI_RAW_H4_ENABLE=y
11-
CONFIG_BT_BUF_ACL_RX_SIZE=255
12-
CONFIG_BT_BUF_CMD_TX_SIZE=255
13-
CONFIG_BT_CTLR_ASSERT_HANDLER=y
1414
CONFIG_BT_MAX_CONN=16
15-
CONFIG_BT_CTLR_DTM_HCI=y
1615

17-
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=512
16+
# Enable and adjust the below value as necessary to match Controller values
17+
# CONFIG_BT_BUF_EVT_RX_COUNT=16
18+
# CONFIG_BT_BUF_EVT_RX_SIZE=255
19+
# CONFIG_BT_BUF_ACL_RX_SIZE=255
20+
# CONFIG_BT_BUF_ACL_TX_SIZE=251
21+
# CONFIG_BT_BUF_CMD_TX_SIZE=255

0 commit comments

Comments
 (0)