USB fails without any errors on nightly
t348575 opened this issue · comments
USB appears to fail when the UsbDeviceBuilder
is called, regardless of what it is used for (serial, hid etc). The device gets stuck at this line and never goes over (does not panic, just gets stuck). Not sure if this is an issue with stm32f4xx-hal
or with usb-device, and it is happening only on nightly, all usb forms run fine on stable.
Line that fails:
stm32f4xx-hal/examples/usb-serial-poll.rs
Line 43
in
15134d7
stm32f4xx-hal/examples/usb-serial-poll.rs
Line 43 in 15134d7
Environment:
- stm32f401ccu6 (black pill)
- nighly version (failing): 1.69.0
- stable version (working): 1.67.0
It could also be related to stm32-rs/synopsys-usb-otg#33
Try cargo update
, please.
@burrbull Yep that worked.