Relative Content

Tag Archive for arduinoesp32

Adaptation of an esp-idf code to arduino language

I am having problems adapting an esp-idf code (esp32 native language) to Arduino language, based on a github code (https://github.com/espressif/esp-idf/blob/master/examples/system/freertos/real_time_stats/main/real_time_stats_example_main.c), it gives me an error when equating the malloc () function with a variable of the TaskStatus_t type, which is done in the original github code (written in esp32-idf, line 62) and I do not know how to adapt that code to Arduino language. Code that I am adapting to the Arduino language:

Adaptation of an esp-idf code to arduino language

I am having problems adapting an esp-idf code (esp32 native language) to Arduino language, based on a github code (https://github.com/espressif/esp-idf/blob/master/examples/system/freertos/real_time_stats/main/real_time_stats_example_main.c), it gives me an error when equating the malloc () function with a variable of the TaskStatus_t type, which is done in the original github code (written in esp32-idf, line 62) and I do not know how to adapt that code to Arduino language. Code that I am adapting to the Arduino language: