arduino-esp32
arduino-esp32 copied to clipboard
Arduino version not compatible with ESP-IDF latest
Board
ESP32 Devkit DOIT v1
Device Description
N/A, only connected to laptop via MicroUSB to USB cable
Hardware Configuration
N/A
Version
latest master (checkout manually)
IDE Name
VSCode
Operating System
macOS 14.4.1
Flash frequency
40 Mhz
PSRAM enabled
yes
Upload speed
115200
Description
I can't build or access the configmenu. Trying to do that always give me the same error msg saying the Arduino components can be used between 5.1.0 and 5.1.99 IDF versions, but I'm on ESP-iDF 5.3.0.
Sketch
#include "Arduino.h"
// Also have arduino components included in program
Debug Message
CMake Error at
/Users/benjamink/esp/esp-idf/components/arduino/CMakeLists.txt:19
(message):
Arduino-esp32 can be used with ESP-IDF versions between 5.1.0 and 5.1.99,
but a newer version is detected: 5.3.0.
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
- [X] I confirm I have checked existing issues, online documentation and Troubleshooting guide.
Yes, as expected. Arduino 3.0.0 use as base IDF 5.1.x
Do I install an older IDF version in vscode then?
From current master:
ESP-IDF Version : v5.1.2-185-g3662303f31-dirty
I tried installing the 5.1 version and running install.sh I then went into VSCode and added the 5.1 toolchain via ESP-IDF Configure Extension (not the configmenu one) However, when I run build, same message still appears.
you must run both, install.sh
and export.sh
in order to export the correct IDF version.