Skip to content

Add support for saving and verifying partitions - #357

Open
will-v-pi wants to merge 1 commit into
developfrom
save-verify-partition
Open

Add support for saving and verifying partitions#357
will-v-pi wants to merge 1 commit into
developfrom
save-verify-partition

Conversation

@will-v-pi

Copy link
Copy Markdown
Contributor

Adds support for passing --partition to save/verify files in partitions.

Offsets everything on the device to be inside the partition, so can be combined with --program, --all, --range (range will be offset by the start of the partition).

Fixes #348

Some examples:

  • picotool save/verify --partition 1 tmp.uf2 will parse the binary info and save/verify the program from partition 1
  • picotool save/verify --range 0x10000000 0x10001000 --partition 1 tmp.uf2 will save/verify the first 0x1000 from partition 1
  • picotool save --all --partition 1 tmp.uf2 will save all of partition 1

Offsets everything on the device to be inside the partition, so can be combined with `--program`, `--all`, `--range` (range will be offset by the start of the partition)
@will-v-pi will-v-pi added this to the 2.4.0 milestone Sep 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant