Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork122
arduino/nina-fw
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This firmware usesEspressif's IDF
Extract it and add it to your
PATH
:export PATH=$PATH:<path/to/toolchain>/bin
Clonev3.3.1 of the IDF:
git clone --branch v3.3.1 --recursive https://github.com/espressif/esp-idf.git
Set the
IDF_PATH
environment variable:export IDF_PATH=<path/to/idf>
Run
make
to build the firmware (in the directory of this read me). You may want to add different depending on the target board.RELEASE=1 make
for MKR WiFi 1010 and Nano 33 IoTRELEASE=1 NANO_RP2040_CONNECT=1 make
for Nano RP2040 connectRELEASE=1 UNO_WIFI_REV2=1 make
for UNO WiFi Rev2
Load the
Tools -> SerialNINAPassthrough
example sketch on to the boardUse
esptool
to flash the compiled firmware
As an alternative for building we can use the docker image from espressif idf, we can do that as follows:
docker run -v $PWD:/data espressif/idf:v3.3.1 -- sh -c 'cd /data && make'
You can also flash the firmware with the following snippet:
DEVICE=/dev/ttyACM0docker run --device=$DEVICE -v $PWD:/data espressif/idf:v3.3.1 -- sh -c 'cd /data && make flash ESPPORT=$DEVICE'
If updating the NINA firmware for anArduino UNO WiFi Rev. 2 orArduino Nano RP2040 board viaSerialNINAPassthrough sketch, then theesptool
invocation needs to be changed slightly:
- --baud 115200 --before default_reset+ --baud 115200 --before no_reset
Themake
command produces a bunch of binary files that must be flashed at very precise locations, makingesptool
commandline quite complicated.Instead, once the firmware has been compiled, you can invokecombine.py
script to produce a monolithic binary that can be flashed at 0x0.
makepython combine.py
This producesNINA_W102.bin
file (a different name can be specified as parameter). To flash this file you can usehttps://arduino.github.io/arduino-fwuploader/2.2/usage/#firmware-flashing
git clone https://android.googlesource.com/platform/system/ca-certificatescp nina-fw/tools/nina-fw-create-roots.sh ca-certificates/filescd ca-certificates/files./nina-fw-create-roots.shcp roots.pem ../../nina-fw/data/roots.pem
cd tools./sslcheck.sh -c ../data/roots.pem -l url_lists/url_list_moz.com.txt -e
Copyright (c) 2018-2019 Arduino SA. All rights reserved.
This library is free software; you can redistribute it and/ormodify it under the terms of the GNU Lesser General PublicLicense as published by the Free Software Foundation; eitherversion 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNULesser General Public License for more details.
You should have received a copy of the GNU Lesser General PublicLicense along with this library; if not, write to the Free SoftwareFoundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
About
Firmware for u-blox NINA W102 WiFi/BT module
Resources
Security policy
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Packages0
Uh oh!
There was an error while loading.Please reload this page.