You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ make all
CC hello_world_main.o
AR libmain.a
LD hello-world.elf
C:/eMbeddedHome2017/CLK_erzeuger/hello_world/build/main\libmain.a(hello_world_main.o):(.literal.app_main+0x1c): undefined reference to vTaskGetRunTimeStats' C:/eMbeddedHome2017/CLK_erzeuger/hello_world/build/main\libmain.a(hello_world_main.o): In function app_main':
C:/eMbeddedHome2017/CLK_erzeuger/hello_world/main/hello_world_main.c:80: undefined reference to `vTaskGetRunTimeStats'
collect2.exe: error: ld returned 1 exit status
after check the freertos.a in build folder
there is no vTaskGetRunTimeStats or vTaskList
do some statement,in your local project terminal ,run "make menuconfig", and then select "Component config --->FreeRTOS", set the config page like the photo I show above. Generally enable FreeRTOS stats formatting functions Enable FreeRTOS to collect run time stats.
github-actionsbot
changed the title
undefined reference to `vTaskGetRunTimeStats' - missing vTaskGetRunTimeStats ..... vTaskList
undefined reference to `vTaskGetRunTimeStats' - missing vTaskGetRunTimeStats ..... vTaskList (IDFGH-801)
Mar 19, 2019
hi guys
can not compile
after check the freertos.a in build folder
there is no vTaskGetRunTimeStats or vTaskList
best wishes
rudi ;-)
edit:
we have a vTaskGetRunTimeStats function:
esp-idf/components/freertos/tasks.c
Line 3989 in 4480ab6
and we have a vTaskGetRunTimeStats macro
esp-idf/components/freertos/include/freertos/mpu_wrappers.h
Line 97 in 4480ab6
Currently I am helpless
edit:
https://esp32.com/viewtopic.php?f=2&t=1399&p=6388#p6388
think it is freertos specific and not an ESP-IDF problem
i close it
The text was updated successfully, but these errors were encountered: