diff --git a/components/freertos/xtensa/include/freertos/FreeRTOSConfig.h b/components/freertos/xtensa/include/freertos/FreeRTOSConfig.h index 2970c07e83..b8a2fa2fc1 100644 --- a/components/freertos/xtensa/include/freertos/FreeRTOSConfig.h +++ b/components/freertos/xtensa/include/freertos/FreeRTOSConfig.h @@ -192,7 +192,7 @@ int xt_clock_freq(void) __attribute__((deprecated)); /* with optimizations disabled, scheduler uses additional stack */ #if CONFIG_COMPILER_OPTIMIZATION_NONE -#define configSTACK_OVERHEAD_OPTIMIZATION 256 +#define configSTACK_OVERHEAD_OPTIMIZATION 320 #else #define configSTACK_OVERHEAD_OPTIMIZATION 0 #endif