Step 2. Get Esp-Idf; Linux And Macos; Windows; Step 3. Set Up The Tools - Espressif ESP32-S2 Programming Manual

Table of Contents

Advertisement

Chapter 1. Get Started

1.6 Step 2. Get ESP-IDF

To build applications for the ESP32-S2, you need the software libraries provided by Espressif in
To get ESP-IDF, navigate to your installation directory and clone the repository with git clone, following in-
structions below specific to your operating system.

1.6.1 Linux and macOS

Open Terminal, and run the following commands:
mkdir -p ~/esp
cd
~/esp
git clone -b v4.4 --recursive https://github.com/espressif/esp-idf.git
ESP-IDF will be downloaded into ~/esp/esp-idf.
Consult
ESP-IDF Versions

1.6.2 Windows

In addition to installing the tools,
of ESP-IDF.
Consult
ESP-IDF Versions
If you wish to download ESP-IDF without the help of ESP-IDF Tools Installer, refer to these instructions.

1.7 Step 3. 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.
1.7.1 Windows
ESP-IDF Tools Installer
for Windows introduced in Step 1 installs all the required tools.
If you want to install the tools without the help of ESP-IDF Tools Installer, open the Command Prompt and follow
these steps:
cd
%userprofile%\esp\esp-idf
install.bat esp32s2
or with Windows PowerShell
cd
~/esp/esp-idf
./install.ps1 esp32s2
1.7.2 Linux and macOS
cd
~/esp/esp-idf
./install.sh esp32s2
or with Fish shell
Espressif Systems
for information about which ESP-IDF version to use in a given situation.
ESP-IDF Tools Installer
for information about which ESP-IDF version to use in a given situation.
Submit Document Feedback
for Windows introduced in Step 1 can also download a copy
62
ESP-IDF
repository.
Release v4.4

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Table of Contents

Save PDF