Skip to content

Commit

Permalink
[nrf noup] Increase stack sizes for devices that runs CRACEN
Browse files Browse the repository at this point in the history
CRACEN requires more stack memory for all threads that use
many cryptographic operations.

Signed-off-by: Arkadiusz Balys <arkadiusz.balys@nordicsemi.no>
  • Loading branch information
ArekBalysNordic committed Oct 9, 2024
1 parent 5a55d60 commit 7584545
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions config/nrfconnect/chip-module/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ config CHIP_MALLOC_SYS_HEAP
config CHIP_TASK_STACK_SIZE
int "The CHIP (Matter) thread stack size"
default 10240 if LTO
default 8120 if PSA_CRYPTO_DRIVER_CRACEN
default 6144
help
Configures the stack size available for the CHIP (Matter) thread.
Expand Down
1 change: 1 addition & 0 deletions config/nrfconnect/chip-module/Kconfig.defaults
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ config IEEE802154_NRF5_RX_STACK_SIZE

config OPENTHREAD_THREAD_STACK_SIZE
default 6144 if PSA_CRYPTO_DRIVER_CC3XX && PSA_CRYPTO_DRIVER_OBERON
default 6144 if PSA_CRYPTO_DRIVER_CRACEN
default 4096

config OPENTHREAD_DEFAULT_TX_POWER
Expand Down

0 comments on commit 7584545

Please sign in to comment.