Hello,
I have created a new PlattformIO project with the espidf as the framework and successfully compiled this project. Now I want to use the espidf with the tag 3.3.2 with PlattformIO, so I changed my platformio.ini
file in the following way:
[env]
platform = espressif32
framework = espidf
monitor_speed = 115200
platform_packages =
; Use the tag 3.3.2 of the espidf
framework-espidf @ https://github.com/espressif/esp-idf.git#9e70825d1e1cbf7988cf36981774300066580ea7
[env:esp32dev]
board = esp32dev
But I get the following error
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32dev.html
PLATFORM: Espressif 32 (2.1.0) > Espressif ESP32 Dev Module
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
DEBUG: Current (esp-prog) External (esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES:
- framework-espidf 1.1.0+sha.9e70825d1
- tool-cmake 3.16.4
- tool-esptoolpy 1.30000.201119 (3.0.0)
- tool-idf 1.0.1
- tool-mconf 1.4060000.20190628 (406.0.0)
- tool-ninja 1.9.0
- toolchain-esp32ulp 1.22851.191205 (2.28.51)
- toolchain-xtensa32 2.80200.200827 (8.2.0)
Reading CMake configuration...
-- Configuring incomplete, errors occurred!
See also ".../test9/.pio/build/esp32dev/CMakeFiles/CMakeOutput.log".
CMake Error at CMakeLists.txt:2 (include):
include could not find load file:
...\.platformio\packages\framework-espidf/tools/cmake/project.cmake
How can I fix this error?