My project uses an ESP32, for which I’ve created a custom board, and PIO doesn’t seem to be pulling the latest version of the compilers. I’m using the latest version of arduinoespressif32 and 6.5.0 of esp-idf, others using the same setup are building with 12.2.0+20230208 of riscv and xtensa compilers.
Here’s my .ini and build output:
[env]
lib_deps = EmbeddedVideoEngine
framework = espidf, arduino
platform = espressif32 @ 6.5.0
build_flags = -D EVE_RiTFT50
monitor_speed = 115200
[env:modular_esp32_s2]
board = modular_esp32_s2
build_unflags = -Os
build_flags =
${env.build_flags}
-D EVE_CS=10
-D EVE_PDN=14
-D EVE_SCK=12
-D EVE_MISO=13
-D EVE_MOSI=11
-O2 ; Enable "O2" level optimisation, GCC performs nearly all supported optimizations that do not involve a space-speed tradeoff.
-w ; Supress warnings
- framework-arduinoespressif32 @ 3.20014.231204 (2.0.14)
- framework-espidf @ 3.40406.240122 (4.4.6)
- 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
- toolchain-esp32ulp @ 1.23500.220830 (2.35.0)
- toolchain-riscv32-esp @ 8.4.0+2021r2-patch5
- toolchain-xtensa-esp32s2 @ 8.4.0+2021r2-patch5