Platformio configuration: framework = arduino,espidf esp32-s2 with latest 2.0.14 and 4.4.6
Posted: Sun Oct 15, 2023 1:50 pm
Thanks in advance for your help.
I'm trying to create a platformio.ini that uses the latest arduino @ 2.0.14 and the espoidf it needs @ 4.4.6 for an esp32-s2.
Here is what I have in my platformio.ini file:
[env:esp32-s2-saola-1]
platform = espressif32
framework = arduino, espidf
board = esp32-s2-saola-1
platform_packages =
framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#2.0.14
framework-espidf @ https://github.com/espressif/esp-idf#v4.4.6
toolchain-xtensa-esp32s2 @ 8.4.0+2021r2-patch5
toolchain-xtensa-riscv32-esp @ 8.4.0+2021r2-patch3
The first thing I get is this error:
UnknownPackageError: Could not find the package with 'toolchain-xtensa-riscv32-esp @ 8.4.0+2021r2-patch3' requirements for your system 'windows_amd64'
What is interesting is that I have an intel i7 windows 11.
What version of espressif32 must I install in platformio?
Is there a way to directly install espidf @ 4.4.6 into the .platformio/packages directory and set arduino 4.4.6 as a component? I tried this, but i'm not sure how to tell platformio to use this package ofer the one it installed.
I'm trying to create a platformio.ini that uses the latest arduino @ 2.0.14 and the espoidf it needs @ 4.4.6 for an esp32-s2.
Here is what I have in my platformio.ini file:
[env:esp32-s2-saola-1]
platform = espressif32
framework = arduino, espidf
board = esp32-s2-saola-1
platform_packages =
framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#2.0.14
framework-espidf @ https://github.com/espressif/esp-idf#v4.4.6
toolchain-xtensa-esp32s2 @ 8.4.0+2021r2-patch5
toolchain-xtensa-riscv32-esp @ 8.4.0+2021r2-patch3
The first thing I get is this error:
UnknownPackageError: Could not find the package with 'toolchain-xtensa-riscv32-esp @ 8.4.0+2021r2-patch3' requirements for your system 'windows_amd64'
What is interesting is that I have an intel i7 windows 11.
What version of espressif32 must I install in platformio?
Is there a way to directly install espidf @ 4.4.6 into the .platformio/packages directory and set arduino 4.4.6 as a component? I tried this, but i'm not sure how to tell platformio to use this package ofer the one it installed.