Embedded projects using synopsys-usb-otg
are hanging in Beta/Nightly
#106830
Labels
C-bug
Category: This is a bug.
regression-from-stable-to-beta
Performance or correctness regression from stable to beta.
Code
I tried this code:
Cargo.toml
toolchain:
thumbv7em-none-eabihf
main.rs
I expected to see this happen: the peripheral activation at the end should occur
Instead, this happened: the program hangs indefinitely
Version it worked on
It most recently worked on: Rust 1.66.1
Version with regression
rustc --version --verbose
:More details
See also @hacknus's provided examples, investigation, and debugger output at stm32-rs/synopsys-usb-otg#33. I don't have the ability to run a debugger on my hardware, unfortunately.
cc @adamgreig who has also reproduced the issue.
Some bisecting
nightly-2022-11-09
does not have the issuenightly-2022-11-19
does not have the issuenightly-2022-11-21
does not have the issuenightly-2022-11-22
does not have the issuenightly-2022-11-24
does have the issueThe text was updated successfully, but these errors were encountered: