From 0810fe3edb74f2cac6b180fcfe0267a71d611af6 Mon Sep 17 00:00:00 2001 From: Jori Rintahaka Date: Thu, 6 Mar 2025 11:37:47 +0200 Subject: [PATCH] soc: silabs: fix too small BT_LONG_WQ_STACK_SIZE Increase the long workqueue stack size to prevent it from being overflown for example in the GATT database hashing. This leaves us with a bit less than 200B of headroom as of today Signed-off-by: Jori Rintahaka --- soc/silabs/Kconfig.defconfig | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/soc/silabs/Kconfig.defconfig b/soc/silabs/Kconfig.defconfig index aaf363576f8..a2cf6b7b26d 100644 --- a/soc/silabs/Kconfig.defconfig +++ b/soc/silabs/Kconfig.defconfig @@ -22,4 +22,13 @@ config IDLE_STACK_SIZE configdefault NUM_METAIRQ_PRIORITIES default 1 if BT_SILABS_EFR32 +if BT_LONG_WQ +configdefault BT_LONG_WQ_STACK_SIZE + # Hidden config item. We require a slightly larger stack than the + # default values are. As of this writing, we have a bit less than + # 200 bytes of headroom for future increases here, before we hit + # the limit again. + default 1600 if BT_ECC +endif + endif