NINA-W1 series - User Manual
2.5.5
Using ESP-IDF v4
☞
ESP-IDF v4 is mandatory for NINA-W106.
To use ESP-IDF v4, follow the applicable instructions for your development environment on
https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/windows-setup.html
https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/linux-setup.html
https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/macos-setup.html
Get the latest toolchain and installation instructions by using applicable path above.
After the toolchain has been installed, get and install the ESP-IDF by using the below link and
following the given instructions.
The toolchain for the ESP-IDF uses the
IDF_PATH
environment variable. This variable must be set up
for building the projects by following the given instructions.
https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/index.html#step-2-get-
esp-idf
The
source
files
for
Espressif
ESP-IDF
repository
is
located
on
github
at
https://github.com/espressif/esp-idf
.
Building and flashing the examples is basically done the same way as for ESP-IDF v3, but instead of
make
, the
idf.py
shall be invoked. The same command-line parameters applies. However, some
differences exist:
☞
For NINA-W101/NINA-W102, during
idf.py make menuconfig
also set the configuration flag
CONFIG_SPI_FLASH_USE_LEGACY_IMPL
flag to
Y
, otherwise the application will fail to start.
☞
NINA-W106, during
idf.py make menuconfig
also set the
CONFIG_BOOTLOADER_VDDSDIO_BOOST_1_9V
and
CONFIG_SPI_FLASH_SUPPORT_ISSI_CHIP
configuration flags to
Y.
☞
On NINA-W106, it may be required to add the
--no-stub
parameter to
esptool.py
when flashing
the software and make a manual verification using a second invocation of
esptool.py
in case
flashing and verification fails.
2.5.6
Automatic bootloader on NINA-W10 EVK
The “
esptool.py
” flash tool supports automatic entry to the bootloader on the NINA-W10 EVK
without pressing the BOOT button and RESET the module. To use this functionality, you need to
connect the following pins:
RESET to IO19 (CTS)
IO0 (IO zero) to IO26 (DSR)
The jumpers CTS (J14-8) and DSR (J14-7) should also be removed so that they do not interfere.
☞
It is not possible to use the Hardware Flow control or the DSR signals on the UART while using
this setup.
More information about the esptool is available at -
https://github.com/espressif/esptool
2.6
Arduino support for NINA-W10
It is possible to use Arduino electronics platform on the NINA-W10. The Arduino platform and open
source community provides the possibility to access a lot of third party hardware such as displays
and sensors.