It’s now September 2023 and I’ve spent the last month trying to find a simple and reliable way to move my platformio/arduino esp projects to the esp-idf so I can have both the benefits of getting deep into things like ULP and wake stubs using espressif idf while bringing along my many years investment in the arduino framework under platformio.
Everything I read is several years old and many things have broken since then. For example, the “Arduino as a component” option has been broken since the esp-idf move to release 5+ (over nine months now). Finding the right combination of revisions of libraries to make this work has eluded me.
So… the question… What is the right/best way to approach this today. Again, I want to use Platformio, Espressif-idf (with all its example code), and bring along all my investment in arduino code.
I don’t know if this is ‘the right way’ but I would just forget about Arduino and rewrite the IO dependencies based on ESP IDF. What kind of I/O do you use in your code? Do you have Arduino dependencies other than I/O related?