vTaskList not found by ld

sterwen
Posts: 6
Joined: Sun Sep 02, 2018 12:17 pm

vTaskList not found by ld

Postby sterwen » Fri Oct 26, 2018 2:26 pm

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 ?

ESP_igrr
Posts: 2071
Joined: Tue Dec 01, 2015 8:37 am

Re: vTaskList not found by ld

Postby ESP_igrr » Sat Oct 27, 2018 2:28 pm

You need to enable run time stats and stats formatting functions in menuconfig: https://docs.espressif.com/projects/esp ... -functions

sterwen
Posts: 6
Joined: Sun Sep 02, 2018 12:17 pm

Re: vTaskList not found by ld

Postby sterwen » Mon Oct 29, 2018 9:17 am

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

Who is online

Users browsing this forum: Google [Bot] and 65 guests