NINA-W1 series - System Integration Manual
UBX-17005730 - R07
Software
Page 15 of 47
Start the bash shell using the“mingw32.exe” (“mingw64.exe” is currently not supported).
☞
If you encounter any issues, use the “autorebase.bat” and the “msys2_shell.cmd” shortcuts. This
will reset the path variable with a Cygwin installation on some computers, which can have
problems with the path to the compiler or the python tool.
2.3.2
Get ESP-IDF
The source files for Espressif ESP-IDF repository is located on github at
https://github.com/espressif/esp-idf
.
To download the files, open the “mingw32.exe”, navigate to the directory where you want to have the
ESP-IDF (like c:\git), and clone it using “git clone” command.
☞
Use the “--recursive” parameter
In this example, the esp-idf repository will be created in the c:\git folder.
git clone --recursive https://github.com/espressif/esp-idf.git
To checkout a specific tag such as v2.1, use the following command as shown in the example below:
git clone https://github.com/espressif/esp-idf.git esp-idf-v3.1
cd esp-idf-v3.1/
git checkout v3.1
git submodule update --init --recursive
Figure 7: Example of the git clone of ESP-IDF
Go to the new folder by typing “cd esp-idf” and then type “ls” to show the folder content.
cd esp-idf
ls