arduino-esp32 icon indicating copy to clipboard operation
arduino-esp32 copied to clipboard

Arduino version not compatible with ESP-IDF latest

Open 0x5b62656e5d opened this issue 10 months ago • 5 comments

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.

0x5b62656e5d avatar Apr 10 '24 14:04 0x5b62656e5d

Yes, as expected. Arduino 3.0.0 use as base IDF 5.1.x

Jason2866 avatar Apr 10 '24 15:04 Jason2866

Do I install an older IDF version in vscode then?

0x5b62656e5d avatar Apr 10 '24 21:04 0x5b62656e5d

From current master: ESP-IDF Version : v5.1.2-185-g3662303f31-dirty

lbernstone avatar Apr 11 '24 00:04 lbernstone

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.

0x5b62656e5d avatar Apr 11 '24 02:04 0x5b62656e5d

you must run both, install.sh and export.sh in order to export the correct IDF version.

SuGlider avatar Apr 11 '24 12:04 SuGlider