Getting Started With Esp32-S2-Mini-1 & Esp32-S2-Mini-1U; Esp-Idf; Set Up The Tools; Standard Setup Of Toolchain For Windows - Espressif Systems ESP32-S2-MINI-1 User Manual

Table of Contents

Advertisement

3.
Getting Started with ESP32-

3.1. ESP-IDF

The Espressif IoT Development Framework (ESP-IDF for short) is a framework for
developing applications based on the Espressif ESP32. Users can develop applications
with ESP32-S2 in Windows/Linux/MacOS based on ESP-IDF.

3.2. Set up the Tools

Aside from the ESP-IDF, you also need to install the tools used by ESP-IDF, such as the
compiler, debugger, Python packages, etc.

3.2.1. Standard Setup of Toolchain for Windows

The quickest way is to download the toolchain and MSYS2 zip from dl.espressif.com:
https://dl.espressif.com/dl/toolchains/preview/xtensa-esp32s2-elf-gcc8_2_0-esp32s2-
dev-4-g3a626e-win32.zip
Checking out
Run C:\msys32\mingw32.exe to open an MSYS2 terminal. Run:
mkdir -p ~/esp
Input cd ~/esp to enter the new directory.
Updating the Environment
When IDF is updated, sometimes new toolchains are required or new requirements are
added to the Windows MSYS2 environment. To move any data from an old version of the
precompiled environment to a new one:
Take the old MSYS2 environment (ie C:\msys32) and move/rename it to a different
directory (ie C:\msys32_old).
Download the new precompiled environment using the steps above.
Unzip the new MSYS2 environment to C:\msys32 (or another location).
Find the old C:\msys32_old\home directory and move this into C:\msys32.
You can now delete the C:\msys32_old directory if you no longer need it.
You can have independent different MSYS2 environments on your system, as long as they
are in different directories.
Espressif Systems
S2-MINI-1 & ESP32-S2-
/ 8 22
3. Getting Started with ESP32-S2-MINI-1 &
ESP32-S2-MINI-1U
MINI-1U
Sep. 2020

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ESP32-S2-MINI-1 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Esp32-s2-mini-1u

Table of Contents