Using Espressif Arduino-ESP32 v3.2.0 with PlatformIO

I’ve gone down the rabbit hole on trying to figure out how to use the Espressif Arduino-ESP32 v3.2.0 with PlatformIO, which solves the compile error when trying to use the Ethernet library WebServer example to run a webserver on the ESP32-S3.

Using the Arduino IDE the WebServer example compiles fine, which further drove my suspicion that it was something specific to PlatformIO.

From what I’ve read, the most recent platform-espressif32 version 6.11.0 is still using the version 2 of the Arduino library… I think? This is where I’m getting really confused and it is making it difficult to try and get clear answers while reading different threads.

Any help that would clarify if the Espressif Arduino-ESP32 is the same thing as the “Arduino” listed under the release for PlatformIO, and what other terms I can use to help better understand how all these are intertwined would be greatly appreciated!

Unfortunately PlatformIO does not support Espressif Arduino 3.x - See Support Arduino ESP32 v3.0 based on ESP-IDF v5.1 · Issue #1225 · platformio/platform-espressif32 · GitHub

Fortunately there is a community fork pioarduino which brings the latest available Espressif Arduino versions to PlatformIO.

See also this list of available versions

1 Like