From 9cd6341a609458ed770ca4886b93874907e026e0 Mon Sep 17 00:00:00 2001 From: shylie Date: Tue, 24 Feb 2026 20:18:08 -0500 Subject: [PATCH] Add host-side support for bootsel command --- src/main.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main.rs b/src/main.rs index cb548e6..3153425 100644 --- a/src/main.rs +++ b/src/main.rs @@ -213,6 +213,10 @@ fn main() -> Result<(), Error> { } println!(); } + "bootsel" => { + writer.write_all(&[0x99])?; + writer.flush()?; + } _ => { let slash_position = args[1].find("/").ok_or(Error { message: "Error retrieving card info".to_owned(),