Skip to content

Display uf2 combine --offset default-value in hexadecimal - #353

Open
lurch wants to merge 2 commits into
developfrom
lurch-patch-2
Open

Display uf2 combine --offset default-value in hexadecimal#353
lurch wants to merge 2 commits into
developfrom
lurch-patch-2

Conversation

@lurch

@lurch lurch commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

Possible fix for #352

@lurch lurch linked an issue Jul 27, 2026 that may be closed by this pull request
Comment thread main.cpp
(
option("--offset").set(settings.uf2.offset_set) % "Offset second UF2 by amount" &
hex("offset").set(settings.uf2.offset) % "offset amount (default to 0)"
hex("offset").set(settings.uf2.offset) % "offset amount (default to 0x0)"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe worth explicitly mentioning it is hexadecimal too?

Suggested change
hex("offset").set(settings.uf2.offset) % "offset amount (default to 0x0)"
hex("offset").set(settings.uf2.offset) % "offset amount (hexadecimal, default to 0x0)"

Comment thread README.md
Offset second UF2 by amount
<offset>
offset amount (default to 0)
offset amount (default to 0x0)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
offset amount (default to 0x0)
offset amount (hexadecimal, default to 0x0)

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.

uf2 combine: --offset representation

2 participants