You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-13Lines changed: 6 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -506,17 +506,7 @@ nanoff --clearcache
506
506
507
507
## Firmware archive
508
508
509
-
By default, *nanoff* is designed to work with the latest version of the tool itself and of the firmware packages published in the online firmware repository. Command line arguments like
510
-
511
-
```console
512
-
nanoff --nanodevice --update --serialport COM9
513
-
```
514
-
515
-
will cause *nanoff* to check whether an update of the tool is available, download and deploy the latest version of the firmware for the connected device. This firmware has to match the NuGet packages used in the .NET **nanoFramework** applications, that may have to be updated to the latest version as well.
516
-
517
-
For some projects auto-updating of tools, firmware and NuGet packages is not desirable, and a more controlled transition to new versions of the framework components is required. This can be done by downloading the firmware packages to a firmware archive location first, and then updating a nanoDevice's firmware from that archive. See the [documentation](https://docs.nanoframework.net/content/getting-started-guides/getting-started-versioning.html) for a more detailed description.
518
-
519
-
Firmware can be archived via the *--updatefwarchive* option, e.g.:
509
+
By default, *nanoff* uses the online repository to look for firmware packages. It is also possible to use a local directory as the source of firmware. The firmware archive can be populated via the *--updatefwarchive* option:
where the option *--suppressnanoffversioncheck* can be added to suppress the check for an update of *nanoff*.
531
520
532
-
To install firmware on a device, use the same command line arguments as usual, but add *--fromfwarchive*, *--fwarchivepath*and optionally *--suppressnanoffversioncheck*, e.g.:
521
+
To install firmware on a device, use the same command line arguments as usual, but add *--fromfwarchive*and *--fwarchivepath*:
By default nanoff checks whether a new version of the tool has been published. If that is not necessary, the option *--suppressnanoffversioncheck* can be added to suppress the check.
530
+
538
531
## Exit codes
539
532
540
533
The exit codes can be checked in [this source file](https://github.com/nanoframework/nanoFirmwareFlasher/blob/main/nanoFirmwareFlasher.Library/ExitCodes.cs).
0 commit comments