Using ESP-IDF within Arduino-esp32

DaVinci007
Posts: 1
Joined: Sat Aug 19, 2017 11:54 pm

Using ESP-IDF within Arduino-esp32

Postby DaVinci007 » Sun Aug 20, 2017 12:03 am

Hi, I'm new to Arduino and ESP32.

My understanding is that ESP32 Arduino is a simplified way of programming the ESP32 and ESP-IDF is much more complete and offers more control but at the cost of more complexity (more lines of code).

Is there a way or a syntax where I can write most of my stuff using Arduino-esp32 library within the Arduino IDE and when I require more control or some extra features, I can use ESP-IDF?

Thank you!

ESP_igrr
Posts: 2072
Joined: Tue Dec 01, 2015 8:37 am

Re: Using ESP-IDF within Arduino-esp32

Postby ESP_igrr » Sun Aug 20, 2017 3:59 am

You should be able to include IDF header files when you are writing code in Arduino IDE with arduino-esp32 package installed.

You will not be able to change any Kconfig options, however. Currently we don't know of a way to build IDF libraries from within Arduino IDE (for the common scenario when 'make' is not installed), so IDF libraries are pre-compiled with certain Kconfig options and then placed into Arduino repository.

Who is online

Users browsing this forum: No registered users and 144 guests