Serial API does not work
What I Did
struct SerialBot;
impl Robot for SerialBot {
fn new(peripherals: Peripherals) -> Self {
peripherals.port01.into_serial(115200);
Self
}
}
Expected Behaviour
Silently succeed.
Observed Behaviour
panic occurred!: PanicInfo {
payload: Any,
message: Some(
failed to create generic serial port: No such device,
),
location: Location {
file: "src/serial.rs",
line: 23,
col: 35,
},
}