Page 1 of 1

Arduino component

Posted: Wed Aug 17, 2022 2:07 pm
by MrBean
Is the Arduino component still supported by the IDF?

I am working on an Arduino IDE project for the ESP32 and need to gain access to mbedtls configuration. For this purpose I am trying o port my project to the ESP IDF. I got a basic hello_world project working. I then copied my Arduino project over and installed the Arduino component. I set it up as per the advice here:

https://docs.espressif.com/projects/ard ... onent.html

Unfortunately it didn't work, and the log showed that it is only compatible with IDF 4.x.x. The current version is 5.x.x. Will this component be updated to support 5.x.x or has it now been deprectated?

Also, can I build an ESP8266 project in ESP-IDF?

Re: Arduino component

Posted: Thu Aug 18, 2022 1:06 am
by ESP_Sprite
The current stable version still is 4.x.x; the 5.x.x branch is not stable yet.

ESP-IDF as of now only is for ESP32-type chips; the ESP8266 is not supported. (If you want a chip of ESP8266 size that is supported, you may be interested in the ESP32C3 or ESP32C2; they're of similar capabilities and fully supported by ESP-IDF.)

Re: Arduino component

Posted: Thu Aug 18, 2022 7:50 am
by MrBean
Thank you for the reply.

So how do I get 4.x.x?

I followed the download instructions here and automatically got 5.x.x.:
https://docs.espressif.com/projects/esp ... setup.html