Skip to content

report compatibility key, boot baud and payload capacity in info, payload capacity a build choice - #40

Merged
aq1018 merged 1 commit into
mainfrom
info-rework
Oct 20, 2026
Merged

aq1018 merged 1 commit into
mainfrom
info-rework

Conversation

@aq1018

@aq1018 aq1018 commented Oct 20, 2026 •

Copy link
Copy Markdown
Collaborator
  • Info is 18 bytes, in both modes: adds the stored boot baud, the bootloader's compatibility key and max_payload.
  • Frame payload capacity is a const parameter, 52 bytes by default so a whole frame fits one 64-byte USB packet; run_with_payload::<N> picks another.
  • The CLI writes in chunks of the device's max_payload and refuses an image with the wrong key before erasing.

@aq1018
aq1018 merged commit d228596 into main Oct 20, 2026
15 checks passed
@aq1018
aq1018 deleted the info-rework branch October 20, 2026 09:41
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