Skip to content

Commit 1961ca0

Browse files
committed
add docs
1 parent f7d48e2 commit 1961ca0

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

Diff for: docs/usage.md

+19
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,25 @@ but you can also filter the results by specifying the `-b` or `--fqbn` flag
4040

4141
The tool offers the ability to print output in JSON, with the `--format json` flag
4242

43+
### Get Version
44+
45+
You can also obtain the version of the firmware the board is currently running with:
46+
47+
```
48+
./arduino-fwuploader firmware get-version -b arduino:samd:mkrwifi1010 -a /dev/ttyACM0
49+
```
50+
51+
The `get-version` subcommand flashes a special sketch in order to be able to read that information using the serial
52+
connection:
53+
54+
```
55+
...
56+
57+
Firmware version installed: 1.4.8
58+
```
59+
60+
You can also use the `--format json` to parse the output with more ease.
61+
4362
### Certificates
4463

4564
The tool offers also the ability to flash SSL certificates to a module:

0 commit comments

Comments
 (0)