lorawan: Move invalid requirement of 2KiB system workqueue

The LoRaWAN subsystem does not require 2KiB of system workqueue,
testing on nrf54l15 flpr (RISCV) CPU (with custom cryptography code)
shows it uses about 700 bytes of the system workqueue, therefore it
is assumed that the real requirement for 2KiB is the software
cryptography features, not the LoRaWAN stack itself, and the
cryptography parts of LoRaWAN can be replaced with alternatives
that do not need this high of a memory requirement, so the
requirement has been moved to the specific Kconfig for software
cryptography instead

Signed-off-by: Jamie McCrae <spam@helper3000.net>
This commit is contained in:
Jamie McCrae
2025-11-01 20:43:32 +00:00
committed by Johan Hedberg
parent a310e57942
commit 6963092375
2 changed files with 1 additions and 1 deletions

View File

@@ -33,6 +33,7 @@ config HAS_SEMTECH_LORAMAC
config HAS_SEMTECH_SOFT_SE
bool "Semtech Secure Element software implementation"
depends on HAS_SEMTECH_LORAMAC
depends on SYSTEM_WORKQUEUE_STACK_SIZE >= 2048
help
This option enables the use of Semtech's Secure Element
software implementation

View File

@@ -6,7 +6,6 @@
menuconfig LORAWAN
bool "LoRaWAN support [EXPERIMENTAL]"
depends on LORA
depends on SYSTEM_WORKQUEUE_STACK_SIZE >= 2048
select REQUIRES_FULL_LIBC
select HAS_SEMTECH_LORAMAC
imply HAS_SEMTECH_SOFT_SE