This board support package is currently in active development and these instructions are subject to change. We don't recommend Arduino usage yet for beginners

The first thing you will need to do is to download the latest release of the Arduino IDE. You will need to be using version 1.8 or higher for this guide

Install Experimental ESP32-S2 Board Support Package

The ESP32-S2 Arduino board support package is currently in active development. To use the ESP32-S2 with Arduino, you'll need to follow the steps below for your operating system.

Note that we are not using the Arduino board support package installer, instead we are going to be running the latest version from Espressif's ESP32 github repository and the v4.2 branch

Install from development environment

Follow these instructions to install ESP32 support from the development respository on github (do not install from the Arduino board manager!)

However, there's one step different

After you start by git-cloning in to your  sketchfolder/hardware/espressif/esp folder:

Switch to the v4.2 branch with:

git checkout --track origin/"idf-release/v4.2"

If you look in the sketchfolder/hardware/espressif/esp/variants folder you will see adafruit_metro_esp32s2 and others

Once you verify that - you can continue with the instructions.

git submodule update --init --recursive

On mac/Linux then run

cd tools && python

On Windows run the get.exe program in the tools folder

Then, restart the Arduino IDE. 

In the Tools -> Board submenu you should see ESP32 Arduino (in sketchbook) and in that dropdown look for Adafurit Metro ESP32-S2, or whatever your board is called

This guide was first published on Nov 10, 2020. It was last updated on Nov 10, 2020.

This page (Arduino IDE Setup) was last updated on Apr 15, 2021.

Text editor powered by tinymce.