Skip to content

Commit

Permalink
Kconfig: Increase default main stack size when CC3XX is enabled
Browse files Browse the repository at this point in the history
Increase the default main stack size when CC3XX is enabled. This
avoids issues in samples where the default of 1024 would be enough
in upstream, but not in downstream.

Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
  • Loading branch information
joerchan committed Mar 5, 2021
1 parent 61e7664 commit b0bc43e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Kconfig.nrf
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,12 @@ menu "Nordic nRF Connect"
config BOARD_THINGY91_NRF9160NS
bool

# nRF Connect SDK needs a larger default stacks for running certain tests.
# nRF Connect SDK needs a larger default stacks in certain configurations
# - For running tests.
# - For CC3XX RNG
config MAIN_STACK_SIZE
default 2048 if ZTEST
default 2048 if ENTROPY_CC3XX

config ZTEST_STACKSIZE
default 2048 if ZTEST
Expand Down

0 comments on commit b0bc43e

Please sign in to comment.