riscv: Increase TEST_EXTRA_STACK_SIZE to 4096 if c++ exceptions
Initializing the C++ stack unwinding data structures takes quite a bit of stack space. Increase the TEST_EXTRA_STACK_SIZE when using these. Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
3cdc5a9f9a
commit
e4b4a8dfe8
1 changed files with 1 additions and 0 deletions
|
@ -428,6 +428,7 @@ config MAIN_STACK_SIZE
|
|||
default 2048 if PMP_STACK_GUARD
|
||||
|
||||
config TEST_EXTRA_STACK_SIZE
|
||||
default 4096 if CPP_EXCEPTIONS
|
||||
default 1536
|
||||
|
||||
config CMSIS_THREAD_MAX_STACK_SIZE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue