FreeRTOS scheduler uses additional stack space, as in some functions variables are placed onto the stack instead of registers. This issue resulted in occasional stack overflows in dport task, when compiling at -O0 optimization level. - Increase the configMINIMAL_STACK_SIZE to 1kB. - Enable the watchpoint at the end of stack in CI startup test for this optimization level.
2 lines
78 B
Text
2 lines
78 B
Text
CONFIG_COMPILER_OPTIMIZATION_NONE=y
|
|
CONFIG_FREERTOS_WATCHPOINT_END_OF_STACK=y
|