CONFIG_BT_HCI_TX_STACK_SIZE¶
HCI Tx thread stack size
Type: int
Help¶
Stack size needed for executing bt_send with specified driver.
NOTE: This is an advanced setting and should not be changed unless
absolutely necessary.  To change this you must first select
BT_HCI_TX_STACK_SIZE_WITH_PROMPT.
Defaults¶
- 512 if - BT_H4
- 512 if - BT_H5
- 416 if - BT_SPI
- 940 if - BT_CTLR&&- BT_LL_SW_SPLIT&&- NO_OPTIMIZATIONS
- 1024 if - BT_CTLR&&- BT_LL_SW_SPLIT&&- BT_CENTRAL
- 640 if - BT_CTLR&&- BT_LL_SW_SPLIT
- 512 if - BT_USERCHAN
- 640 if - BT_STM32_IPM
- 1024 
Kconfig definition¶
At <Zephyr Subsystem>/bluetooth/host/Kconfig:17
Included via Kconfig:8 → Kconfig.zephyr:44 → <Zephyr Subsystem>/Kconfig:9 → <Zephyr Subsystem>/bluetooth/Kconfig:174
Menu path: (Top) → Sub Systems and OS Services → Bluetooth
config BT_HCI_TX_STACK_SIZE
    int "HCI Tx thread stack size" if BT_HCI_TX_STACK_SIZE_WITH_PROMPT
    default 512 if BT_H4
    default 512 if BT_H5
    default 416 if BT_SPI
    default 940 if BT_CTLR && BT_LL_SW_SPLIT && NO_OPTIMIZATIONS
    default 1024 if BT_CTLR && BT_LL_SW_SPLIT && BT_CENTRAL
    default 640 if BT_CTLR && BT_LL_SW_SPLIT
    default 512 if BT_USERCHAN
    default 640 if BT_STM32_IPM
    default 1024
    depends on BT_HCI && BT
    help
      Stack size needed for executing bt_send with specified driver.
      NOTE: This is an advanced setting and should not be changed unless
      absolutely necessary.  To change this you must first select
      BT_HCI_TX_STACK_SIZE_WITH_PROMPT.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)