Skip to content

Commit 8be46b9

Browse files
authored
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

+7
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

+1-1
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 <[email protected]>
55
sentence=Update the sketch on your board with NiNa W10 wifi module

0 commit comments

Comments
 (0)