Change arduino-esp32 core version


I am new to Platform IO and I want to use arduino-esp32 core 1.0.6 in my project. The latest one currently stable i think is 2.0.1 but my project requires the older sdk version.

Is there any parameter which I can change or any link that I can change to select this version? I usually select the version from the drop down in boards manager in the Arduino IDE but I’m not sure how I can do that in PlatformIO.


No exactly not – the Arduino-ESP32 version used by PlatformIO is still 1.0.6 because 2.0 support is still pending (Support for the latest Arduino v2.0 · Issue #619 · platformio/platform-espressif32 · GitHub).

The next platform-espressif32 version will likely have Arduino-ESP32 2.0(.1) support, and so it follows from the documentation and the releases that you can pin the platform version at

platform = espressif32@3.4.0

to ensure your project is built with Arduino-ESP32 1.0.6.

1 Like