esp-idf/tools/test_apps/system/startup/sdkconfig.ci.opt_o0
Ivan Grokhotkov f4ea9d4cea freertos: increase configMINIMAL_STACK_SIZE when building with -O0
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.
2020-06-02 18:51:16 +02:00

3 lines
78 B
Plaintext

CONFIG_COMPILER_OPTIMIZATION_NONE=y
CONFIG_FREERTOS_WATCHPOINT_END_OF_STACK=y