Downgrading Arduino core version for ESP32

I’ve run into an issue with my code where it runs in Arduino, but immediately crashes when ran in PlatformIO with the following text:

configsip: 0, SPIWP:0xee
mode:DIO, clock div:1
entry 0x400805e4

I found if I update the ESP32 board in Arduino from 1.0.6 to the newest version of 2.0.11 I get the same error from PlatformIO. I’m trying to downgrade the Arduino core in my PlatformIO project, but changing my framework to arduino@1.0.6 doesn’t seem to work; resulting in the following error:

PLATFORM: Espressif 32 (6.3.2) > Espressif ESP32 Dev Module
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
DEBUG: Current (cmsis-dap) 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)
 - tool-esptoolpy @ 1.40501.0 (4.5.1) 
 - toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch5
Error: This board doesn't support arduino@1.0.6 framework!
========================== [FAILED] Took 0.86 seconds ==========================

Are the versions for Arduino in PlatformIO different than the versions in the arduino IDE, or should I be changing something else?



Nowhere is that documented to work. What is documented is how to select a certain version of the Espressif32 development platform.

With the matching available versions per releases. The last version to use Arduino-ESP32 1.0.6 is platform-espressif32 3.5.0.

1 Like