Hello,
I am trying to configure my ESP-IDF project on VSCode to have arduino component. I used "ESP-IDF: Add Aeduino ESP32 as ESP-IDF component" command to add arduino component, I am using ESP-IDF v4.4, but after building my project with newly added component, I get this error:
ERROR: Because project depends on idf (>=5.1) which doesn't match any versions, version solving failed.
Can someone explain what is the problem and how to fix it ? How does my project depends on idf 5.1, when it was created on esp-idf v4.4. ?
Arduino ESP-IDF version error
Re: Arduino ESP-IDF version error
This error indicates a version conflict between the ESP-IDF (Espressif IoT Development Framework) versions specified in your project. The error specifically mentions a dependency on IDF (Espressif IDF) version 5.1, which is not compatible with the ESP-IDF v4.4 that you're using.
-
- Posts: 1
- Joined: Fri Dec 22, 2023 4:41 am
Re: Arduino ESP-IDF version error
The error message you encountered indicates that the Arduino component you added to your ESP-IDF project has a dependency on a newer version of the ESP-IDF (IDF 5.1 or higher) than the version you are currently using (ESP-IDF v4.4). This dependency conflict is causing the version solving to fail.
-
- Posts: 3
- Joined: Tue Dec 19, 2023 6:59 am
Re: Arduino ESP-IDF version error
Yeah, It seems that current arduino component depends on esp-idf >5.1, but documentation is not up to date, because it states that idf should be 4.4 or lower. Updating esp-idf to current version fixed this problem
-
- Posts: 364
- Joined: Mon Jan 04, 2021 2:06 pm
Re: Arduino ESP-IDF version error
Hi,
If you are using the Arduino from the master, now on the 3.0.0-alpha, the required ESP-IDF is the v5.1, however, the 3.0.0 is not released yet as a final and stable version, so the documentation is still on the Arduino core 2.0.14, with the ESP-IDF v4.4.
The documentation will be updated when the 3.0.0 will be released.
If you are using the Arduino from the master, now on the 3.0.0-alpha, the required ESP-IDF is the v5.1, however, the 3.0.0 is not released yet as a final and stable version, so the documentation is still on the Arduino core 2.0.14, with the ESP-IDF v4.4.
The documentation will be updated when the 3.0.0 will be released.
Who is online
Users browsing this forum: No registered users and 72 guests