Figure 8: Verification of all the downloaded files
2.3.3 Setup path to ESP-IDF
The toolchain for the ESP-IDF uses the IDF_PATH environment variable. This variable must be set up
for building the projects.
Figure 9: Setting up the PATH variable
2.3.4 Building and flashing
The environment is now ready to build and flash a project. In this case, we use “hello world” as a
sample project.
This project will print out “Hello World” ten times on the UART and then reboot.
To build this sample project, go to the “hello world” folder using the following command:
Plug in NINA-W10 to the PC and note down the com port number with which it is connected. In this
example, the com port number is assumed to be “COM10”.