Building a project with the latest platform-espressif32 release v6.9.0.
On the release notes it says to suppport ESP-IDF v5.3.1.
If I build a simple blank project with nothing in the component folder, it builds fine.
this is my platformiol.ini file
[env:esp32-s3-devkitc-1]
platform = espressif32 @ 6.9.0
board = esp32-s3-devkitc-1
framework = espidf
If I add another component in the components folder like this one for example it also manages to compile.
Now the problem arises when I add Arduino as a component, by downloading it from arduino-esp32, release 3.1.0 says that it’s based on ESP-IDF v5.3.1, and putting it in the components folder like I did with the other component that works fine.
Despite being on the same supported ESP-IDF version, (building logs confirm that), it still fails to build and gives no reason why, here’s the log:
* The terminal process "C:\Users\CreepyMemes\.platformio\penv\Scripts\platformio.exe 'run', '--environment', 'esp32-s3-devkitc-1'" terminated with exit code: 1.
* Terminal will be reused by tasks, press any key to close it.
* Executing task: C:\Users\CreepyMemes\.platformio\penv\Scripts\platformio.exe run --environment esp32-s3-devkitc-1
Processing esp32-s3-devkitc-1 (platform: espressif32 @ 6.9.0; board: esp32-s3-devkitc-1; framework: espidf)
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32-s3-devkitc-1.html
PLATFORM: Espressif 32 (6.9.0) > Espressif ESP32-S3-DevKitC-1-N8 (8 MB QD, No PSRAM)
HARDWARE: ESP32S3 240MHz, 320KB RAM, 8MB Flash
DEBUG: Current (esp-builtin) On-board (esp-builtin) External (cmsis-dap, esp-bridge, 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 @ 3.50301.0 (5.3.1)
- tool-cmake @ 3.16.4
- tool-esptoolpy @ 1.40501.0 (4.5.1)
- tool-idf @ 1.0.1
- tool-mconf @ 1.4060000.20190628 (406.0.0)
- tool-ninja @ 1.9.0
- tool-riscv32-esp-elf-gdb @ 11.2.0+20220823
- tool-xtensa-esp-elf-gdb @ 11.2.0+20230208
- toolchain-esp32ulp @ 1.23800.240113 (2.38.0)
- toolchain-riscv32-esp @ 13.2.0+20240530
- toolchain-xtensa-esp-elf @ 13.2.0+20240530
Reading CMake configuration...
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 0 compatible libraries
Scanning dependencies...
No dependencies
Building in release mode
Archiving .pio\build\esp32-s3-devkitc-1\esp-idf\espressif__esp_diagnostics\libespressif__esp_diagnostics.a
*** [.pio\build\esp32-s3-devkitc-1\.pio\build\esp32-s3-devkitc-1\https_server.crt.S.o] Source `.pio\build\esp32-s3-devkitc-1\https_server.crt.S' not found, needed by target `.pio\build\esp32-s3-devkitc-1\.pio\build\esp32-s3-devkitc-1\https_server.crt.S.o'.
Indexing .pio\build\esp32-s3-devkitc-1\esp-idf\espressif__esp_diagnostics\libespressif__esp_diagnostics.a
============================================================================== [FAILED] Took 5.20 seconds ==============================================================================
* The terminal process "C:\Users\CreepyMemes\.platformio\penv\Scripts\platformio.exe 'run', '--environment', 'esp32-s3-devkitc-1'" terminated with exit code: 1.
* Terminal will be reused by tasks, press any key to close it.
I’m doing this instead of doing
framework = arduino, espidf
Because this way it doens’t support ESP-IDF v5.x.x+, am I missing something?