Using esp-idf instead of Arduino

mzincali
Posts: 46
Joined: Wed Jun 08, 2022 7:23 am

Using esp-idf instead of Arduino

Postby mzincali » Mon Dec 05, 2022 4:14 am

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?

User avatar
gtjoseph
Posts: 81
Joined: Fri Oct 15, 2021 10:55 pm

Re: Using esp-idf instead of Arduino

Postby gtjoseph » Tue Dec 06, 2022 1:56 pm

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.

Who is online

Users browsing this forum: Baidu [Spider], homedad and 107 guests