-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Unable to call to function vTaskList (GIT8266O-190) #495
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
"configUSE_TRACE_FACILITY", "configUSE_STATS_FORMATTING_FUNCTIONS" and "configSUPPORT_DYNAMIC_ALLOCATION" should be set to be "1" at "FreeRTOSConfig.h". |
Mr-Pi
pushed a commit
to Mr-Pi/ESP8266_RTOS_SDK
that referenced
this issue
Apr 20, 2019
This commit makes configUSE_TRACE_FACILITY and configUSE_STATS_FORMATTING_FUNCTIONS configurable in kconfig. Closes espressif#495
I'm still unable to call vTaskList even with @donghengqaz solution. Those values are already set to 1 on my system |
Using SDK of release/v3.1 or newer version, you can only enable at "make menuconfig":
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In trying to generate a run-time stat about running tasks, I tried to call vTaskList but it fails with the following error message:
undefined reference to `vTaskList'
collect2: error: ld returned 1 exit status
Based on a recommendation found in ESP32 forums I did try to enable it's use in components/freertos/include/freertos/FreeRTOS.h by setting
configUSE_TRACE_FACILITY and configUSE_STATS_FORMATTING_FUNCTIONS as follows
#ifndef configUSE_STATS_FORMATTING_FUNCTIONS
#define configUSE_STATS_FORMATTING_FUNCTIONS 1
#endif
#ifndef configUSE_TRACE_FACILITY
#define configUSE_TRACE_FACILITY 1
#endif
A similar issue can be found here
The text was updated successfully, but these errors were encountered: