Open xzzWZY opened 1 year ago
[features]
fs = ["stm32f4xx-hal/usb_fs"]
hs = ["stm32f4xx-hal/usb_hs"]
[dependencies]
stm32f4xx-hal = { version = "0.17.1", features = [
"stm32f405",
"rtic",
"rtic-monotonic",
"synopsys-usb-otg",
"i2s",
"sdio-host",
] }
Then build with --features fs
or --features hs
Unless you mean this? https://github.com/stm32-rs/synopsys-usb-otg/issues/12
in Cargo.toml, I try to include both "usb_fs" and "usb_hs" like
but there's error saying
what may cause this issue? how to use both 'usb_fs' and 'usb_hs' together?