EasyManua.ls Logo

Espressif ESP32-S2 - Step 2. Get ESP-IDF; Linux and Macos; Windows; Step 3. Set up the Tools

Espressif ESP32-S2
1695 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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 ESP-IDF repository.
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 for information about which ESP-IDF version to use in a given situation.
1.6.2 Windows
In addition to installing the tools, ESP-IDF Tools Installer for Windows introduced in Step 1 can also download a copy
of ESP-IDF.
Consult ESP-IDF Versions for information about which ESP-IDF version to use in a given situation.
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 62
Submit Document Feedback
Release v4.4

Table of Contents