# Thing Plus - ESP32-S2 WROOM and PLATFORMIO

**URL:** <https://community.sparkfun.com/t/thing-plus-esp32-s2-wroom-and-platformio/42637>\
**Category:** MicroMod\
**Tags:** processor\
**Created:** [August 24, 2021, 6:29am UTC](https://community.sparkfun.com/t/thing-plus-esp32-s2-wroom-and-platformio/42637 "2021-08-24T06:29:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ygageot](https://avatars.discourse-cdn.com/v4/letter/y/97f17d/32.png) [@ygageot](https://community.sparkfun.com/u/ygageot)\
**Post date:** [August 24, 2021, 6:29am UTC](https://community.sparkfun.com/t/thing-plus-esp32-s2-wroom-and-platformio/42637/1 "2021-08-24T06:29:13Z")

</div>

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 ?

---

<div class="post-metadata">

**Author:** ![TS-Russell](https://yyz1.discourse-cdn.com/sparkfun/user_avatar/community.sparkfun.com/ts-russell/32/6092_2.png) [@TS-Russell](https://community.sparkfun.com/u/TS-Russell)\
**Post date:** [August 24, 2021, 3:23pm UTC](https://community.sparkfun.com/t/thing-plus-esp32-s2-wroom-and-platformio/42637/2 "2021-08-24T15:23:22Z")

</div>

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

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

Hope this helps!

---

<div class="post-metadata">

**Author:** ![ygageot](https://avatars.discourse-cdn.com/v4/letter/y/97f17d/32.png) [@ygageot](https://community.sparkfun.com/u/ygageot)\
**Post date:** [September 3, 2021, 4:25pm UTC](https://community.sparkfun.com/t/thing-plus-esp32-s2-wroom-and-platformio/42637/3 "2021-09-03T16:25:14Z")

</div>

**With Arduino IDE :**

I install in the Preferences

[https://raw.githubusercontent.com/espre … index.json](https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_dev_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 !_

---

<div class="post-metadata">

**Author:** ![fritzy](https://avatars.discourse-cdn.com/v4/letter/f/dbc845/32.png) [@fritzy](https://community.sparkfun.com/u/fritzy)\
**Post date:** [May 17, 2023, 3:15pm UTC](https://community.sparkfun.com/t/thing-plus-esp32-s2-wroom-and-platformio/42637/4 "2023-05-17T15:15:17Z")

</div>

Did anyone get this working with Platformio?
