A fatal error occurred: This chip is ESP8266 not ESP32. Wrong --chip argument? *** [upload] Error 2

Then the first thing to do is a platform update. E.g., via CLIpio pkg update -g -p espressif32.

BUT, the S3 Devkit is not the board you want to select. An ESP-WROOM-32 module has a regular ESP32 chip inside (XTensa). You should update the platform, but keep board = esp32dev.

Do you maybe have multiple COM ports / boards attached and it selects the wrong one? See Device Manager → COM ports to see them. Use upload_port = COMx in the platformio.ini if needed.

1 Like