I am trying to get a better understanding of stacksizes needed for different programs so I decided to try the uxTaskGetStackHighWaterMark() API function. Unfortunately I get:
Code: Select all
Untested FreeRTOS function uxTaskGetStackHighWaterMark
/home/volle/esp/esp-idf/components/freertos/./tasks.c:3734 (uxTaskGetStackHighWaterMark)- assert failed!
abort() was called at PC 0x40083de6 on core 0
Guru Meditation Error: Core 0 panic'ed (abort)
Code: Select all
void vTaskGPIO(void *pvParameters)
{
UBaseType_t uxHighWaterMark;
uxHighWaterMark = uxTaskGetStackHighWaterMark(NULL);
...