Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 8be46b9

Browse files
authoredAug 17, 2020
Merge pull request #554 from arduino/snu-check-min-version
SNU check min required version of nina-fw
2 parents c5033b3 + bde0785 commit 8be46b9

File tree

5 files changed

+1469
-1312
lines changed

5 files changed

+1469
-1312
lines changed
 

‎libraries/SNU/extras/NiNaBoot/NiNaBoot.ino

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,10 +138,17 @@ int main() {
138138
digitalWrite(NINA_RESETN, HIGH);
139139
#endif
140140

141+
String nina_fw_version;
142+
141143
if (WiFi.status() == WL_NO_SHIELD) {
142144
goto boot;
143145
}
144146

147+
nina_fw_version = WiFi.firmwareVersion();
148+
if (nina_fw_version < "1.4.1") {
149+
goto boot;
150+
}
151+
145152
/* For UPDATE.BIN.LZSS - LZSS compressed binary files. */
146153
if (WiFiStorage.exists(UPDATE_FILE_NAME_LZSS))
147154
{

‎libraries/SNU/library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=SNU
2-
version=1.0.0
2+
version=1.0.1
33
author=Arduino
44
maintainer=Arduino <info@arduino.cc>
55
sentence=Update the sketch on your board with NiNa W10 wifi module

‎libraries/SNU/src/boot/mkrvidor4000.h

Lines changed: 485 additions & 485 deletions
Large diffs are not rendered by default.

‎libraries/SNU/src/boot/mkrwifi1010.h

Lines changed: 438 additions & 374 deletions
Large diffs are not rendered by default.

‎libraries/SNU/src/boot/nano33iot.h

Lines changed: 538 additions & 452 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)
Please sign in to comment.