mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-17 08:40:52 +00:00
when connecting to debug core, enable programming
This commit is contained in:
parent
4fcc1ea173
commit
5d874ac0f3
1 changed files with 2 additions and 1 deletions
|
|
@ -31,7 +31,8 @@ impl<'a> ShellCmdApi<'a> for Usb {
|
|||
}
|
||||
"debug" => {
|
||||
self.usb_dev.switch_to_core(usb_device_xous::UsbDeviceType::Debug).unwrap();
|
||||
write!(ret, "USB connected to Debug core").unwrap();
|
||||
self.usb_dev.debug_usb(Some(false)).unwrap();
|
||||
write!(ret, "USB connected to Debug core, secrets readable!").unwrap();
|
||||
}
|
||||
"send" => {
|
||||
match self.usb_dev.get_current_core() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue