NINA-W1 series - User Manual 
     
export IDF_PATH="C:/git/esp-idf"
cd examples/get-started/hello_world
make menuconfig 
2.5.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 8: Setting up the PATH variable 
2.5.4  Building and flashing ESP-IDF v3 
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”. 
Now  enter  “make  menuconfig”  to  open  the  ESP-IDF  configuration  window.  You  can  select  and 
modify a lot of configuration options about the environment using this tool; in this example, only the 
com port that is used to flash NINA-W10 is modified.  
 
 
 
Use the arrow keys to navigate and select the “Serial flasher config” as shown in Figure