Some ARM platforms, now, enable HW Stack Protection by default in the Board definition. So if some tests need to run without stack protection, it is not sufficient to disable TEST_HW_STACK_PROTECTION; we need to explicitly disable HW_STACK_PROTECTION. Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
18 lines
404 B
Plaintext
18 lines
404 B
Plaintext
CONFIG_TEST=y
|
|
# all printf, fprintf to stdout go to console
|
|
CONFIG_STDOUT_CONSOLE=y
|
|
|
|
# eliminate timer interrupts during the benchmark
|
|
CONFIG_SYS_CLOCK_TICKS_PER_SEC=1
|
|
CONFIG_TICKLESS_KERNEL=n
|
|
|
|
CONFIG_MAIN_STACK_SIZE=16384
|
|
CONFIG_FORCE_NO_ASSERT=y
|
|
|
|
CONFIG_TEST_HW_STACK_PROTECTION=n
|
|
# Disable HW Stack Protection (see #28664)
|
|
CONFIG_HW_STACK_PROTECTION=n
|
|
|
|
# Can only run under 1 CPU
|
|
CONFIG_MP_NUM_CPUS=1
|