Skip to content

Commit 1c2872c

Browse files
authored
Improve docs for picotool load -x (#281)
* Mention flash update boot in load -x description * Include RAM boot
1 parent 68e0a5c commit 1c2872c

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,8 @@ OPTIONS:
300300
-v, --verify
301301
Verify the data was written correctly
302302
-x, --execute
303-
Attempt to execute the downloaded file as a program after the load
303+
Perform a bootrom reboot to execute the downloaded file as a program after the load - either a flash update boot for binaries in
304+
flash, or a RAM image boot for other binaries
304305
File to load from
305306
<filename>
306307
The file name

main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -854,7 +854,7 @@ struct load_command : public cmd {
854854
option('N', "--no-overwrite-unsafe").set(settings.load.no_overwrite_force) % "When writing flash data, do not overwrite an existing program in flash. If picotool cannot determine the size/presence of the program in flash, the load continues anyway" +
855855
option('u', "--update").set(settings.load.update) % "Skip writing flash sectors that already contain identical data" +
856856
option('v', "--verify").set(settings.load.verify) % "Verify the data was written correctly" +
857-
option('x', "--execute").set(settings.load.execute) % "Attempt to execute the downloaded file as a program after the load"
857+
option('x', "--execute").set(settings.load.execute) % "Perform a bootrom reboot to execute the downloaded file as a program after the load - either a flash update boot for binaries in flash, or a RAM image boot for other binaries "
858858
).min(0).doc_non_optional(true) % "Post load actions" +
859859
file_selection % "File to load from" +
860860
(

0 commit comments

Comments
 (0)