Skip to content

Commit

Permalink
test: kernel: fpu_sharing: Fix text exception by increasing the stack…
Browse files Browse the repository at this point in the history
… size

The test case will show an unexpected exception in the idle thread after
all test cases pass. The issue is caused by the main thread
stackoverflow.

Increase the main stack configured in this test case to fix the issue.

Signed-off-by: Jaxson Han <[email protected]>
  • Loading branch information
povergoing authored and carlescufi committed May 30, 2023
1 parent 5f5b347 commit 7d174ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/kernel/fpu_sharing/generic/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ CONFIG_FPU=y
CONFIG_FPU_SHARING=y
CONFIG_STDOUT_CONSOLE=y
CONFIG_CBPRINTF_FP_SUPPORT=y
CONFIG_MAIN_STACK_SIZE=1024
CONFIG_MAIN_STACK_SIZE=2048
CONFIG_ZTEST_NEW_API=y
CONFIG_MP_MAX_NUM_CPUS=1

0 comments on commit 7d174ee

Please sign in to comment.