hello good afternoon, could anyone help me ?
I have the following error when trying to use the AsyncTCP library in a project with esp32;
.piolibdeps \ AsyncTCP \ src \ AsyncTCP.cpp: 201: 141: error: 'xTaskCreateUniversal' was not declared in this scope.
NOTE: I am using platformio id
Thank you.
3 Answers
Hello, It looks like you’re using an outdated library and that’s why is not compiling. Can you ensure that you update all the libraries and the ESP32 board add-on?
- Tools > Board > Boards Manager: ESP32 board add-on: core version 1.0.2
- Sketch > Include Library > Manage libraries: AsyncTCP library version 1.0.3
I can guarantee that using the latest libraries will fix that error. More information here: https://github.com/espressif/arduino-esp32/issues/1887
Let me know your results.