Rename BOOTSEL to PICOBOOT, disable mass storage in bootsel mode

This commit is contained in:
Ian Gulliver
2026-04-03 17:44:32 +09:00
parent 64953ef985
commit 21ea6c9332
5 changed files with 16 additions and 16 deletions

View File

@@ -30,10 +30,10 @@ int main() {
rx_buf.clear();
switch (msg->type_id) {
case RequestBOOTSEL::ext_id:
send_bytes(encode_response(msg->message_id, ResponseBOOTSEL{}));
case RequestPICOBOOT::ext_id:
send_bytes(encode_response(msg->message_id, ResponsePICOBOOT{}));
sleep_ms(100);
reset_usb_boot(0, 0);
reset_usb_boot(0, 1);
break;
}
}