Skip to content
Permalink
Browse files

tests: increase main stack size for x86 with ztest

Some options like stack canaries use more stack space,
and on x86 this is not quite enough for ztest's main
thread stack to be 512 bytes.

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
  • Loading branch information...
andrewboie authored and carlescufi committed Jul 30, 2019
1 parent f281b74 commit 7fae2bbc1897d339b3ba0139a804d6faf9599b98
Showing with 1 addition and 1 deletion.
  1. +1 −1 kernel/Kconfig
@@ -148,7 +148,7 @@ config SCHED_CPU_MASK
config MAIN_STACK_SIZE
int "Size of stack for initialization and main thread"
default 2048 if COVERAGE_GCOV
default 512 if ZTEST && !RISCV
default 512 if ZTEST && !(RISCV || X86)
default 1024
help
When the initialization is complete, the thread executing it then

0 comments on commit 7fae2bb

Please sign in to comment.
You can’t perform that action at this time.