Is there any way to install esp-idf 3.0RC1 (aside or instead of current 2.1.1)?

I’m downloaded and added 3.0 RC 1 into
.platformio\packages\framework-espidf-3
(set “version”: “3.0.0” into package.json)
Added into platform.json

“espidf-3”: {
“package”: “framework-espidf-3”,
“script”: “builder/frameworks/espidf-3.py”
},

Updated esp32dev.json

“frameworks”: [
“arduino”,
“espidf”,
“espidf-3”
],

Made copy of espidf.py into espidf-3.py with changes like

platform.get_package_dir(“framework-espidf-3”)

(maybe, did something else, i can’t remember now)

And, PIO “seen” it as new framework for my board. But
When i try to build project with

[env:esp32dev]
platform = espressif32
board = esp32dev
framework = espidf-3

build failed with
*** Two environments with different actions were specified for the same target: D:\Arduino\ESP32BLENativeAPITest.pioenvs\esp32dev\app_trace\app_trace.c.o
(action 1: xtensa-esp32-elf-gcc -o app_trace.c.o -c -Wno-old-style-declaration -std=gnu99 -Wall -Werror=all -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-error=unused-function -Og -g3 -nostdlib -Wpointer-arith -Wno-error=unused-but-set-variable -Wno-error=unused-variable -mlongcalls -ffunction-sections -fdata-sections -fstrict-volatile-bitfields $(subst --coverage,$(CFLAGS)) -DWITH_POSIX -DIDF_VER="3.0.0" -DESP32 -DESP_PLATFORM -DF_CPU=240000000L -DHAVE_CONFIG_H -DMBEDTLS_CONFIG_FILE="mbedtls/esp_config.h" -DPLATFORMIO=30502 -DARDUINO_ESP32_DEV @“D:\Arduino\ESP32BLENativeAPITest.pioenvs\esp32dev\longcmd-83229cb6b7249602e15e63a977016e59” app_trace.c)
(action 2: xtensa-esp32-elf-gcc -o app_trace.c.o -c -Wno-old-style-declaration -std=gnu99 -Wall -Werror=all -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-error=unused-function -Og -g3 -nostdlib -Wpointer-arith -Wno-error=unused-but-set-variable -Wno-error=unused-variable -mlongcalls -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -DWITH_POSIX -DIDF_VER="3.0.0" -DESP32 -DESP_PLATFORM -DF_CPU=240000000L -DHAVE_CONFIG_H -DMBEDTLS_CONFIG_FILE="mbedtls/esp_config.h" -DPLATFORMIO=30502 -DARDUINO_ESP32_DEV @“D:\Arduino\ESP32BLENativeAPITest.pioenvs\esp32dev\longcmd-83229cb6b7249602e15e63a977016e59” app_trace.c)

What i did wrong. And how to fix? I really need ESP-IDF 3.0…

2 Likes

I am having the same issue right now. Help from PIO would be greatly appreciated.

We don’t support beta software. We will add support for ESP-IDF when it will be released.

@igrr Do you have some ETA for 3.0?

You don’t support. But, is it possible to do locally?
This is very important for me. Because 2.1.1 have critical error

the esp-IDE v3.0 is a relese version on the espresif repo, how can i use it on my project?

Now, ESP-IDF 3.0 is released. When it will be implemented in Platform.io?

See ESP-IDF 3.0 release - #4 by ivankravets

Resolved in