Skip to content

Fix dk reboot#200

Merged
listochkin merged 2 commits intomainfrom
fix-dk-reboot
May 19, 2025
Merged

Fix dk reboot#200
listochkin merged 2 commits intomainfrom
fix-dk-reboot

Conversation

@jonathanpallant
Copy link
Copy Markdown
Member

@jonathanpallant jonathanpallant commented May 19, 2025

Stops the DK from rebooting in a loop once you hit semihosting::exit.

It does this by waiting for probe-rs to place the SEGGER RTT buffer into blocking mode. This means the code only runs when started from probe-rs run and not after rebooting (and disconnected from probe-rs).

Currently using a git rev of defmt-rtt. See knurling-rs/defmt#968.

Works around the issues in #127

This involves dropping defmt support from heapless, because you can't have two defmts and apparently I can't override which one heapless uses?
@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying ferrous-systems-rust-exercises with  Cloudflare Pages  Cloudflare Pages

Latest commit: 6a3f42b
Status: ✅  Deploy successful!
Preview URL: https://c1e1eaad.ferrous-systems-rust-exercises.pages.dev
Branch Preview URL: https://fix-dk-reboot.ferrous-systems-rust-exercises.pages.dev

View logs

@listochkin listochkin merged commit 39935ed into main May 19, 2025
22 checks passed
@listochkin listochkin deleted the fix-dk-reboot branch May 19, 2025 14:25
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