Skip to content

Commit f8c1f8e

Browse files
committed
Bluetooth: Add missing depends on for stack size Kconfig
Add missing depends on for stack size Kconfig values. Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
1 parent 6e34acc commit f8c1f8e

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

drivers/bluetooth/hci/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -345,12 +345,14 @@ config BT_HCI_SETUP
345345

346346
config BT_DRV_TX_STACK_SIZE
347347
int
348+
depends on BT_H5
348349
default 256
349350
help
350351
Stack size for the HCI driver's TX thread.
351352

352353
config BT_DRV_RX_STACK_SIZE
353354
int
355+
depends on BT_H4 || BT_H5 || BT_SPI || BT_HCI_RAW_H4 || BT_AMBIQ_HCI || BT_STM32_IPM || HCI_NXP_RX_THREAD
354356
default 640 if (BT_SPI || BT_AMBIQ_HCI)
355357
default BT_RX_STACK_SIZE if (BT_H4 || BT_HCI_RAW_H4)
356358
default BT_STM32_IPM_RX_STACK_SIZE if BT_STM32_IPM

subsys/bluetooth/host/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ endchoice
110110

111111
config BT_RX_STACK_SIZE
112112
int "Size of the receiving thread stack"
113+
depends on BT_RECV_WORKQ_BT
113114
default 768 if BT_HCI_RAW
114115
default 3092 if BT_MESH_GATT_CLIENT
115116
default 2600 if BT_MESH

0 commit comments

Comments
 (0)