lorawan: enforce larger system work queue stack size via Kconfig

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 <martin@libre.solar>
This commit is contained in:
Martin Jäger 2022-11-25 11:42:54 +01:00 committed by Carles Cufí
commit 22c8a67d4a

View file

@ -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