Thing Plus - ESP32-S2 WROOM and PLATFORMIO

I can’n use the S2 version with PlatformIO.

If I try : “board = esp32thing_plus”

I obtain during build : A fatal error occurred: This chip is ESP32-S2 not ESP32. Wrong --chip argument?

I tried to add “board_build.mcu = esp32s2” but it is worse.

Have you a working configuration file ?

It looks like that error happens when esptool.py passes esp32 instead of esp32-s2 https://www.esp32.com/viewtopic.php?t=18492

According to later posts updating to this https://github.com/lorol/arduino-esp32fs-plugin will correct the issue

Hope this helps!

With Arduino IDE :

I install in the Preferences

https://raw.githubusercontent.com/espre … index.json

I can find your S2 board already defined

it works !

With PlatformIO :

I tried to build a configuration file but without success.

I need some help if somebody found a solution !

Did anyone get this working with Platformio?