Integration your library to VSCode & ESP-IDF #563
-
Hello! Thank you very much for your library. I used it regularly in Arudino IDE. Today I was faced with the task of transferring the project to VSCode & ESP-IDF. I did everything according to your instructions:
When build the project, I get a bunch of errors related to the use of outdated FreeRTOS definitions, incorrect type casting in the ESP_LOGI function, and including the "algorithm" library. The problem with FreeRTOS definitions was resolved by setting the "configENABLE_BACKWARD_COMPATIBILITY" parameter in the SDK configuration. I don’t know how to deal with type casts and other errors. Of course, I can do all the type conversions manually, but I don’t want to do this every time you update your library. Please tell me what I'm doing wrong.. Thank you! main.cpp:
Errors:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
I committed some corrections. But please note that you need to decide which output functionality you want to use with the help of |
Beta Was this translation helpful? Give feedback.
I committed some corrections.
But please note that you need to decide which output functionality you want to use with the help of
A2DP_LEGACY_I2S_SUPPORT and A2DP_I2S_AUDIOTOOLS