FreeRTOS stack size on ESP32 - words or bytes?
FreeRTOS
is accomplished by creating tasks with xTaskCreate()
or xTaskCreatePinnedToCore()
. In both of these calls, one of the parameters is uxStackDepth
which is the allocated stack size for the task. The FreeRTOS documentation on the subject is clear about the units for uxStackDepth
: