From a4f89574b9520207c0497b57cf395a8cb7299888 Mon Sep 17 00:00:00 2001 From: Toon Stegen Date: Mon, 14 Apr 2025 15:28:52 +0200 Subject: [PATCH] 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 --- subsys/bluetooth/host/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/subsys/bluetooth/host/Kconfig b/subsys/bluetooth/host/Kconfig index d49ea5c8fde..ba34a96ffdb 100644 --- a/subsys/bluetooth/host/Kconfig +++ b/subsys/bluetooth/host/Kconfig @@ -15,6 +15,7 @@ config BT_LONG_WQ_STACK_SIZE # Hidden: Long workqueue stack size. Should be derived from system # requirements. int + default 4096 if NO_OPTIMIZATIONS default 1400 if BT_ECC default 1300 if BT_GATT_CACHING default 1024