Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arduino version not compatible with ESP-IDF latest #9479

Open
1 task done
0x5b62656e5d opened this issue Apr 10, 2024 · 5 comments
Open
1 task done

Arduino version not compatible with ESP-IDF latest #9479

0x5b62656e5d opened this issue Apr 10, 2024 · 5 comments
Labels
Type: Question Only question

Comments

@0x5b62656e5d
Copy link

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

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.
@0x5b62656e5d 0x5b62656e5d added the Status: Awaiting triage Issue is waiting for triage label Apr 10, 2024
@Jason2866
Copy link
Collaborator

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

@Jason2866 Jason2866 added Type: Question Only question and removed Status: Awaiting triage Issue is waiting for triage labels Apr 10, 2024
@0x5b62656e5d
Copy link
Author

Do I install an older IDF version in vscode then?

@lbernstone
Copy link
Contributor

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

@0x5b62656e5d
Copy link
Author

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.

@SuGlider
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Question Only question
Projects
None yet
Development

No branches or pull requests

4 participants