Add host-side support for bootsel command
This commit is contained in:
parent
2f8a9d7e5f
commit
9cd6341a60
@ -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(),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user