Skip to content

Conversation

@thedjnK
Copy link
Contributor

@thedjnK thedjnK commented Nov 1, 2025

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

To clarify, the whole application running on this core is using at most ~700 bytes of the system workqueue, this includes LoRaWAN and other parts of the code, including a duplex cross-core communication system for running commands, so it is likely that the LoRaWAN subsystem needs less than 700 bytes but I have not made a direct measurement as to how much

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>
@zephyrbot zephyrbot added area: LoRa size: XS A PR changing only a single line of code labels Nov 1, 2025
@JordanYates JordanYates added this to the v4.4.0 milestone Nov 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: LoRa size: XS A PR changing only a single line of code

5 participants