How do I convert a PlatformIO build environment to ESP-IDF? (IDFGH-8275) #9760
Labels
Awaiting Response
awaiting a response from the author
Resolution: Done
Issue is done internally
Status: Done
Issue is done internally
I am using a ESP32-S2 variant for a project in PlatformIO. It seems like the support for this board definition via platformIO is always behind the latest ESPIDF framework updates which is frustrating. Right now it seems as though the basic example for the smartconfig feature no longer sends acknowledgements to the smartphone app. I am trying to rebuild the project purely in ESP-IDF using VScode and the esp-idf extension to see if I can get it working, but it uses a different build system than PlatformIO does and I can't build it.
I understand that CMake wants us to specify what is required dependencies for each component. This seems like a huge huge amount of trouble for me in my instance where I have like 10 headers and source files for each different peripheral on the board I am making use of previously in my platformIO project.
The simplist and sloppiest way I could think of getting everything migrated over was to throw the headers in the main ESP-IDF project folder and tell CMake to look at the same root path for headers like this:
main.c
OUTPUT:
The text was updated successfully, but these errors were encountered: