Configure; Build The Project - Espressif Systems ESP32-S2-MINI-2 User Manual

Table of Contents

Advertisement

3 Get Started

3.4.3 Configure

Navigate to your 'hello_world' directory from Step 3.4.1. Start a Project, set ESP32-S2 chip as the target and run
the project configuration utility 'menuconfig'.
cd ~/esp/hello_world
1
idf.py set-target esp32s2
2
idf.py menuconfig
3
Setting the target with 'idf.py set-target ESP32-S2' should be done once, after opening a new project. If the
project contains some existing builds and configuration, they will be cleared and initialized. The target may be
saved in environment variable to skip this step at all. See
If the previous steps have been done correctly, the following menu appears:
You are using this menu to set up project specific variables, e.g. Wi-Fi network name and password, the
processor speed, etc. Setting up the project with menuconfig may be skipped for "hello_word". This example will
run with default configuration
The colors of the menu could be different in your terminal. You can change the appearance with the option
'--style'. Please run 'idf.py menuconfig --help' for further information.

3.4.4 Build the Project

Build the project by running:
idf.py build
1
This command will compile the application and all ESP-IDF components, then it will generate the bootloader,
partition table, and application binaries.
$ idf.py build
1
Running cmake in directory /path/to/hello_world/build
2
Executing "cmake -G Ninja --warn-uninitialized /path/to/hello_world"...
3
Espressif Systems
Figure 3: Project Configuration - Home Window
10
Selecting the Target
for additional information.
ESP32-S2-MINI-2 User Manual v0.5

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Table of Contents