freertos: Bump idle stack size to 1KB, min stack to 768 bytes, make configurable

Reverts regression mentioned at
3fe0022efa (commitcomment-23013504)
This commit is contained in:
Angus Gratton
2017-07-11 12:02:09 +08:00
committed by Angus Gratton
parent 9b30f66fac
commit 3ad163e644
3 changed files with 16 additions and 3 deletions

View File

@@ -164,12 +164,16 @@
#endif
#ifndef CONFIG_ESP32_APPTRACE_ENABLE
#define configMINIMAL_STACK_SIZE 512
#define configMINIMAL_STACK_SIZE 768
#else
/* apptrace module requires at least 2KB of stack per task */
#define configMINIMAL_STACK_SIZE 2048
#endif
#ifndef configIDLE_TASK_STACK_SIZE
#define configIDLE_TASK_STACK_SIZE CONFIG_FREERTOS_IDLE_TASK_STACKSIZE
#endif
/* The Xtensa port uses a separate interrupt stack. Adjust the stack size */
/* to suit the needs of your specific application. */
#ifndef configISR_STACK_SIZE