Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Firmware for u-blox NINA W102 WiFi/BT module

NotificationsYou must be signed in to change notification settings

arduino/nina-fw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This firmware usesEspressif's IDF

Building

  1. Download the ESP32 toolchain

  2. Extract it and add it to yourPATH:export PATH=$PATH:<path/to/toolchain>/bin

  3. Clonev3.3.1 of the IDF:git clone --branch v3.3.1 --recursive https://github.com/espressif/esp-idf.git

  4. Set theIDF_PATH environment variable:export IDF_PATH=<path/to/idf>

  5. Runmake to build the firmware (in the directory of this read me). You may want to add different depending on the target board.

    1. RELEASE=1 make for MKR WiFi 1010 and Nano 33 IoT
    2. RELEASE=1 NANO_RP2040_CONNECT=1 make for Nano RP2040 connect
    3. RELEASE=1 UNO_WIFI_REV2=1 make for UNO WiFi Rev2
  6. Load theTools -> SerialNINAPassthrough example sketch on to the board

  7. Useesptool to flash the compiled firmware

Notes

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

Packaging

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

Build a new certificate list (based on the Google Android root CA list)

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

Check certificate list against URL list

cd tools./sslcheck.sh -c ../data/roots.pem -l url_lists/url_list_moz.com.txt -e

License

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


[8]ページ先頭

©2009-2025 Movatter.jp