Updating espressif32 version

I’ve been using platformio to write esp32 code. When I compile my code it displays the following:
framework-arduinoespressif32 @ 3.20003.220613 (2.0.3)
From what I can tell, it’s using the espressif32 version 2.0.3 but I believe the latest version is 6.x. How can I change it to use a newer version? Here are the contents of my platformio.ini file:
[env:esp32x]
platform = espressif32
board = esp32doit-devkit-v1
framework = arduino
monitor_speed = 115200
lib_deps = mobizt/Firebase Arduino Client Library for ESP8266 and ESP32@^4.3.13

Thanks!

Updating your local platform is not done automatically (many people complained that it auto-broke their projects), so now you have to do it either via

  1. PlatformIO Home (GUI) → Platforms → Espressif32 → Update
  2. or, PlatformIO Core CLIpio pkg update -g -p espressif32
3 Likes

Hi @maxgerhardt, I performed the upgrade via PIO home. It showed 6.x (I don’t remember exactly). However, when I compile the code, I see the following:

  • framework-arduinoespressif32 @ 3.20009.0 (2.0.9)
    Is the latest version 2.0.9 or 6.x?

Thanks!

The espressif32 platform is of version 6.3.2 (see here), and that platform uses the package framework-arduinoespressif32 which is at version 2.0.9. Those are different entites in PlatformIO, a platform and (one of many) packages that the platform uses. Platform version almost never equals the used Arduino core package version, they’re versioned independently.

2 Likes