Page 1 of 1

Using esp-idf instead of Arduino

Posted: Mon Dec 05, 2022 4:14 am
by mzincali
I see a lot of you are using esp-idf instead of Arduino. What hss kept me from moving to esp-idf are all the libraries I use with my ESP32 projects. Libraries from Adafruit for their LEDs and sensors, libraries for networking and many others. I am assuming that none of those "arduino" libraries are available with esp-idf, or am I mistaken?

Re: Using esp-idf instead of Arduino

Posted: Tue Dec 06, 2022 1:56 pm
by gtjoseph
The easiest way to do this is to use the ESP Arduino Core component.
https://docs.espressif.com/projects/ard ... en/latest/
https://github.com/espressif/arduino-esp32

With it you should be able to add most Arduino libraries to an esp-idf project without changing them at all.
You can then use the Eclipse or VSCode esp-idf IDEs.