Bluetooth: Increase hci_tx stack size when CONFIG_NO_OPTIMIZATIONS
When optimizations are disabled more RAM is used and we get a stack
overflow on BT_HCI_TX_STACK_SIZE. To rectify this, increase the stack
size when CONFIG_NO_OPTIMIZATIONS.
This does not scale well, and will have to be replaced by a a more
general solution eventually, but in the mean time it follows the
existing best practice established by the GCOV infrastructure in
commit e908ea9aa5
Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no>
This commit is contained in:
parent
083968454b
commit
7644d02598
1 changed files with 1 additions and 0 deletions
|
@ -52,6 +52,7 @@ config BT_HCI_TX_STACK_SIZE
|
|||
default 512 if BT_H4
|
||||
default 512 if BT_H5
|
||||
default 416 if BT_SPI
|
||||
default 940 if BT_CTLR && NO_OPTIMIZATIONS
|
||||
default 640 if BT_CTLR
|
||||
default 512 if BT_USERCHAN
|
||||
# Even if no driver is selected the following default is still
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue