Skip to content

Commit a4f8957

Browse files
toonstkartben
authored andcommitted
bluetooth: increase stack size for NO_OPTIMIZATIONS
when building without optimizations, the bt long thread needs more space to not crash Signed-off-by: Toon Stegen <[email protected]>
1 parent a499afd commit a4f8957

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

subsys/bluetooth/host/Kconfig

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ config BT_LONG_WQ_STACK_SIZE
1515
# Hidden: Long workqueue stack size. Should be derived from system
1616
# requirements.
1717
int
18+
default 4096 if NO_OPTIMIZATIONS
1819
default 1400 if BT_ECC
1920
default 1300 if BT_GATT_CACHING
2021
default 1024

0 commit comments

Comments
 (0)