Add host-side support for bootsel command

This commit is contained in:
shylie 2026-02-24 20:18:08 -05:00
parent 2f8a9d7e5f
commit 9cd6341a60

View File

@ -213,6 +213,10 @@ fn main() -> Result<(), Error> {
} }
println!(); println!();
} }
"bootsel" => {
writer.write_all(&[0x99])?;
writer.flush()?;
}
_ => { _ => {
let slash_position = args[1].find("/").ok_or(Error { let slash_position = args[1].find("/").ok_or(Error {
message: "Error retrieving card info".to_owned(), message: "Error retrieving card info".to_owned(),