Skip to content

SNU check min required version of nina-fw #554

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 17, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions libraries/SNU/extras/NiNaBoot/NiNaBoot.ino
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,17 @@ int main() {
digitalWrite(NINA_RESETN, HIGH);
#endif

String nina_fw_version;

if (WiFi.status() == WL_NO_SHIELD) {
goto boot;
}

nina_fw_version = WiFi.firmwareVersion();
if (nina_fw_version < "1.4.1") {
goto boot;
}

/* For UPDATE.BIN.LZSS - LZSS compressed binary files. */
if (WiFiStorage.exists(UPDATE_FILE_NAME_LZSS))
{
Expand Down
2 changes: 1 addition & 1 deletion libraries/SNU/library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=SNU
version=1.0.0
version=1.0.1
author=Arduino
maintainer=Arduino <[email protected]>
sentence=Update the sketch on your board with NiNa W10 wifi module
Expand Down
Loading