@@ -11,7 +11,9 @@ stm32-hrtim = { path = "." }
1111
1212[dependencies ]
1313stm32f3 = { git = " https://github.com/stm32-rs/stm32-rs-nightlies" , optional = true }
14- stm32h7 = { git = " https://github.com/stm32-rs/stm32-rs-nightlies" , features = [" critical-section" ], optional = true }
14+ stm32h7 = { git = " https://github.com/stm32-rs/stm32-rs-nightlies" , features = [
15+ " critical-section" ,
16+ ], optional = true }
1517stm32g4 = { version = " 0.22.0" , package = " stm32g4-staging" , optional = true }
1618
1719defmt = { version = " 0.3.10" , optional = true }
@@ -22,7 +24,7 @@ cortex-m = { version = "0.7.7", features = ["critical-section-single-core"] }
2224defmt-rtt = " 0.4.0"
2325cortex-m-rt = " 0.7.2"
2426panic-probe = { version = " 0.3.0" , features = [" print-defmt" ] }
25- stm32g4xx-hal = { git = " https://github.com/usbalbin/stm32g4xx-hal" , branch = " hrtim" , features = [" defmt" , " hrtim" ] }
27+ # stm32g4xx-hal = { git = "https://github.com/usbalbin/stm32g4xx-hal", branch = "hrtim", features = ["defmt", "hrtim"] }
2628
2729[features ]
2830default = []
@@ -46,8 +48,8 @@ stm32h753 = ["stm32h7/stm32h753", "hrtim_v1_1"]
4648# stm32h755 = ["stm32h7/stm32h755", "hrtim_v1_1"]
4749# stm32h757 = ["stm32h7/stm32h757", "hrtim_v1_1"]
4850
49- stm32g474 = [" stm32g4/stm32g474" , " stm32g4xx-hal/stm32g474 " , " hrtim_v2" ]
50- stm32g484 = [" stm32g4/stm32g484" , " stm32g4xx-hal/stm32g484 " , " hrtim_v2" ]
51+ stm32g474 = [" stm32g4/stm32g474" , " hrtim_v2" ]
52+ stm32g484 = [" stm32g4/stm32g484" , " hrtim_v2" ]
5153defmt = [" dep:defmt" , " fugit/defmt" ]
5254
5355# G4
@@ -95,4 +97,4 @@ path = "examples/stm32g4/hrtim.rs"
9597[[example ]]
9698name = " stm32g4-master"
9799required-features = [" stm32g4" ]
98- path = " examples/stm32g4/master.rs"
100+ path = " examples/stm32g4/master.rs"
0 commit comments