How to make vTaskList functional in VS Code and Platformio
How to make vTaskList functional in VS Code and Platformio
Hi, I am trying to debug my code (without debuger) and I found this function (vTaskList) in FreeRTOS . I was able to run it in VS Code and ESP-IDF with some settings for FreeRTOS, but I can not do that for project in Platformio. I would switch to ESP-IDF, but there I couldnt make functional libraries from arduino. Can someone please write step by step manual, how to change setings for FreeRTOS in project created in VS Code and Platformio? Thank you very much in advance.
Re: How to make vTaskList functional in VS Code and Platformio
I used it in platformIO without any issues. Did you run menuconfig in platformIO to enable using these features ?
Re: How to make vTaskList functional in VS Code and Platformio
Hi, maybe I am missing something or I was not clear in my question. I use ESP32, Platformio and Arduino framework. I believe, that Arduino has prebuild FreeRTOS as library. And menuconfig I believe is for clean ESP-IDF, not for Arduino based project? But I add
into platformio.ini and I add
into sdkconfig.h, but still during linking I get this:
C:\git\gaggia_classic\SW_esp32/src/main.cpp:161: undefined reference to `vTaskList'
Code: Select all
-D CONFIG_FREERTOS_VTASKLIST_INCLUDE_COREID=1
-D CONFIG_FREERTOS_USE_TRACE_FACILITY=1
-D CONFIG_FREERTOS_USE_STATS_FORMATTING_FUNCTIONS=1
Code: Select all
#define CONFIG_FREERTOS_VTASKLIST_INCLUDE_COREID 1
#define CONFIG_FREERTOS_USE_TRACE_FACILITY 1
#define CONFIG_FREERTOS_USE_STATS_FORMATTING_FUNCTIONS 1
C:\git\gaggia_classic\SW_esp32/src/main.cpp:161: undefined reference to `vTaskList'
Re: How to make vTaskList functional in VS Code and Platformio
ok, I didn't catch the Arduino part.
Re: How to make vTaskList functional in VS Code and Platformio
I know this is a very old thread ..but still I'm also interrested in getting this to work to help monitoring the tasks we have running in our project
Who is online
Users browsing this forum: Basalt and 50 guests