enable USB console by default

this helps with production & ci
This commit is contained in:
bunnie 2026-01-17 16:23:53 +08:00
parent c36e937250
commit f6c7d9c89e

View file

@ -15,6 +15,10 @@ fn main() {
let tt = ticktimer::Ticktimer::new().unwrap();
shell::start_shell();
tt.sleep_ms(500).ok(); // pause for the system to startup
let usb = usb_bao1x::UsbHid::new();
usb.serial_console_input_injection();
tt.sleep_ms(4000).ok();
#[cfg(all(feature = "board-baosec", feature = "test-flash"))]