From 22c8a67d4a15053a81e9edcdd5fc611ef7b74e0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20J=C3=A4ger?= Date: Fri, 25 Nov 2022 11:42:54 +0100 Subject: [PATCH] lorawan: enforce larger system work queue stack size via Kconfig MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The LoRaWAN subsystem uses the system work queue internally and needs more than the default stack size of 1024 bytes. This is considered in the sample application, but may be forgotten by out of tree users. Enforcing it via Kconfig prevents users from accidentally getting hard-to-debug stack overflows. Signed-off-by: Martin Jäger --- subsys/lorawan/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/subsys/lorawan/Kconfig b/subsys/lorawan/Kconfig index 0b6ec57dfee..948b79d05bd 100644 --- a/subsys/lorawan/Kconfig +++ b/subsys/lorawan/Kconfig @@ -6,6 +6,7 @@ menuconfig LORAWAN bool "LoRaWAN support [EXPERIMENTAL]" depends on LORA + depends on SYSTEM_WORKQUEUE_STACK_SIZE >= 2048 select REQUIRES_FULL_LIBC select HAS_SEMTECH_LORAMAC select HAS_SEMTECH_SOFT_SE