Disasm / usb-otg-workspace

16 stars 7 forks source link

Add example for the stm32f407G-DISC1 board #3

Closed jkristell closed 4 years ago

jkristell commented 4 years ago

This commit adds examples for the stm32f407 discovery board

The usb feature needs to be selected in your fork of the hal fork as well. If you want to I can try to make a pull request against your fork, but it so simple so its probably easier for you to just adding the stm32f407 to the any statement?

Tested on my board Closes #2

--- a/src/lib.rs
+++ b/src/lib.rs
@@ -103,7 +103,7 @@ pub mod timer;
 pub mod qei;
 #[cfg(all(
     feature = "synopsys-usb-otg",
-    any(feature = "stm32f401", feature = "stm32f429", feature = "stm32f446")
+    any(feature = "stm32f401", feature = "stm32f407", feature = "stm32f429", feature = "stm32f446")
 ))]
 pub mod usb;