Skip to content

feat(reboot): add system reboot commands#18

Draft
rkuester wants to merge 1 commit into
256foundation:mainfrom
rkuester:feat-reboot
Draft

feat(reboot): add system reboot commands#18
rkuester wants to merge 1 commit into
256foundation:mainfrom
rkuester:feat-reboot

Conversation

@rkuester

Copy link
Copy Markdown
Contributor

Add a System command page with reboot and reboot-to-bootloader commands. Both require a magic payload to guard against accidental triggering from line noise or framing desync. Neither sends a response; the host detects success by observing USB re-enumeration or a UF2 device appearing.

Reboot uses the cortex-m system reset. Reboot to bootloader calls the RP2040 ROM function that is the programmatic equivalent of holding the BOOTSEL button during reset.

Add a System command page with reboot and reboot-to-bootloader
commands. Both require a magic payload to guard against accidental
triggering from line noise or framing desync. Neither sends a
response; the host detects success by observing USB re-enumeration
or a UF2 device appearing.

Reboot uses the cortex-m system reset. Reboot to bootloader calls
the RP2040 ROM function that is the programmatic equivalent of
holding the BOOTSEL button during reset.
@rkuester
rkuester marked this pull request as draft March 28, 2026 19:19
@rkuester

Copy link
Copy Markdown
Contributor Author

Waiting for #20. Merging one at a time.

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.

2 participants