2
Get Started on ESP32-MINI-1
2.4.3 Configure
Navigate to your ‘hello_world’ directory from Step
. Start a Project, set ESP32 chip as the target and run the
project configuration utility ‘menuconfig’.
cd ~/esp/hello_world
idf .py set−target esp32
idf .py menuconfig
Setting the target with ‘idf.py set-target esp32’ 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
for additional information.
If the previous steps have been done correctly, the following menu appears:
Figure 22. Project Configuration Home Window
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.
2.4.4 Build the Project
Build the project by running:
idf .py build
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
Running cmake in directory /path/to/hello_world/build
Executing ”cmake −G Ninja −−warn−uninitialized /path/to/hello_world”...
Warn about uninitialized values .
−− Found Git: /usr/bin/git (found version ”2.17.0”)
Espressif Systems
10
ESP32-MINI-1 User Manual (Preliminary v0.1)