From 0cb307eaaf6356088f6dc61a7e97d37c5b490cf9 Mon Sep 17 00:00:00 2001 From: Ioannis Glaropoulos Date: Sun, 22 Sep 2019 23:35:29 +0200 Subject: [PATCH] tests: arm thread swap: increase Idle Stack size for no-opt test-case Executing the ARM thread swap test with NO_OPTIMIZATIONS option set, leads to Idle thread stack overflow in certain platforms. We increase the size of the Idle thread stack to address this. Signed-off-by: Ioannis Glaropoulos --- tests/arch/arm/arm_thread_swap/testcase.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/arch/arm/arm_thread_swap/testcase.yaml b/tests/arch/arm/arm_thread_swap/testcase.yaml index 5cfdde7e222b..298cd8b1f62f 100644 --- a/tests/arch/arm/arm_thread_swap/testcase.yaml +++ b/tests/arch/arm/arm_thread_swap/testcase.yaml @@ -8,6 +8,7 @@ tests: filter: CONFIG_ARMV7_M_ARMV8_M_MAINLINE extra_configs: - CONFIG_NO_OPTIMIZATIONS=y + - CONFIG_IDLE_STACK_SIZE=512 tags: arm min_flash: 64 arch.arm.swap.common.fp_sharing: @@ -24,5 +25,6 @@ tests: - CONFIG_FLOAT=y - CONFIG_FP_SHARING=y - CONFIG_NO_OPTIMIZATIONS=y + - CONFIG_IDLE_STACK_SIZE=512 tags: arm min_flash: 64