Page 1 of 1

vTaskList not found by ld

Posted: Fri Oct 26, 2018 2:26 pm
by sterwen
Hello,

I would like to understand the details of the tasks running on the ESP and I am compiling from an Arduino environment.
I would like to call vTaskList and the compiler is finding the declaration (via FreeRTOS.h) but the link editor is not finding the function.

Any hint ?

Re: vTaskList not found by ld

Posted: Sat Oct 27, 2018 2:28 pm
by ESP_igrr
You need to enable run time stats and stats formatting functions in menuconfig: https://docs.espressif.com/projects/esp ... -functions

Re: vTaskList not found by ld

Posted: Mon Oct 29, 2018 9:17 am
by sterwen
That I understand, but when I look into the FreeRTOSConfig.h all the flags are set to 1 in this directory

C:\Users\<user>\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\tools\sdk\include\freertos\freertos

Is there something to be put somewhere else ?
Do I need and can I recompile the whole kernel ? With what toolchain ?

Thanks