Skip to content

Commit 0b66684

Browse files
committed
update docs
1 parent 368b3e3 commit 0b66684

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/usage.md

+7
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,13 @@ like:
2222
./arduino-fwuploader firmware flash -b arduino:samd:mkr1000 -a /dev/ttyACM0 -m [email protected]
2323
```
2424

25+
Or if you want upload a loacal firmware you can use the `-i` or `-input-file` flag followed by the path of that
26+
firmware.
27+
28+
```
29+
./arduino-fwuploader firmware flash -i custom_fw.bin -b arduino:samd:mkr1000 -a /dev/ttyACM0
30+
```
31+
2532
There is a retry mechanism because the flashing process uses serial communication, which sometimes can be a bit
2633
unreliable. The retry flag is set by default to 9 retries, but it's possible to overwrite it for whatever reason. For
2734
example to update a Nano RP2040 Connect with the retry set to 2 you can use:

0 commit comments

Comments
 (0)