kernel: Kconfig: increase test default MAIN_STACK_SIZE for ARM Cortex M

There are more and more tests that fail due to stackoverflow.
Increasing MAIN_STACK_SIZE to fix those issues.

Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
This commit is contained in:
Alexandre Bourdiol 2021-02-01 11:06:12 +01:00 committed by Anas Nashif
commit 8925af94f2

View file

@ -150,6 +150,7 @@ config SCHED_CPU_MASK
config MAIN_STACK_SIZE
int "Size of stack for initialization and main thread"
default 2048 if COVERAGE_GCOV
default 1024 if TEST_ARM_CORTEX_M
default 512 if ZTEST && !(RISCV || X86)
default 1024
help