@@ -6,7 +6,7 @@ edition = "2021"
66[dependencies ]
77
88stm32f3 = { git = " https://github.com/stm32-rs/stm32-rs-nightlies" , optional = true }
9- # stm32h7 = { git = "" , optional = true }
9+ stm32h7 = { git = " https://github.com/stm32-rs/stm32-rs-nightlies " , fatures = [ " critical-section " ] , optional = true }
1010# stm32g4 = { git = "", optional = true }
1111
1212# stm32f3xx-hal = { version = "0.10.0", optional = true }
@@ -35,7 +35,7 @@ hrtim_v1_1 = []
3535hrtim_v2 = []
3636
3737stm32f3 = [" stm32f3/stm32f3x4" ]
38- stm32h7 = []
38+ stm32h7 = [" dep:stm32h7 " ]
3939stm32g4 = []
4040
4141stm32f334x4 = [" stm32f3" , " stm32f3xx-hal/stm32f334x4" , " hrtim_v1" ]
@@ -55,6 +55,16 @@ stm32g474 = ["stm32g4", "stm32g4xx-hal/stm32g474", "hrtim_v2"]
5555stm32g484 = [" stm32g4" , " stm32g4xx-hal/stm32g484" , " hrtim_v2" ]
5656defmt = [" dep:defmt" , " fugit/defmt" ]
5757
58+ # F3
59+
60+ [[example ]]
61+ name = " stm32f3"
62+ required-features = [" stm32f3" ]
63+ path = " examples/stm32f3/hrtim.rs"
64+
65+
66+ # G4
67+
5868[[example ]]
5969name = " stm32g4-adc-trigger"
6070required-features = [" stm32g4" ]
@@ -98,4 +108,11 @@ path = "examples/stm32g4/hrtim.rs"
98108[[example ]]
99109name = " stm32g4-master"
100110required-features = [" stm32g4" ]
101- path = " examples/stm32g4/master.rs"
111+ path = " examples/stm32g4/master.rs"
112+
113+ # H7
114+
115+ [[example ]]
116+ name = " stm32h7"
117+ required-features = [" stm32h7" ]
118+ path = " examples/stm32h7/hrtim.rs"
0 commit comments