@@ -11,7 +11,9 @@ stm32-hrtim = { path = "." }
11
11
12
12
[dependencies ]
13
13
stm32f3 = { 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 }
15
17
stm32g4 = { version = " 0.22.0" , package = " stm32g4-staging" , optional = true }
16
18
17
19
defmt = { version = " 0.3.10" , optional = true }
@@ -22,7 +24,7 @@ cortex-m = { version = "0.7.7", features = ["critical-section-single-core"] }
22
24
defmt-rtt = " 0.4.0"
23
25
cortex-m-rt = " 0.7.2"
24
26
panic-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"] }
26
28
27
29
[features ]
28
30
default = []
@@ -46,8 +48,8 @@ stm32h753 = ["stm32h7/stm32h753", "hrtim_v1_1"]
46
48
# stm32h755 = ["stm32h7/stm32h755", "hrtim_v1_1"]
47
49
# stm32h757 = ["stm32h7/stm32h757", "hrtim_v1_1"]
48
50
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" ]
51
53
defmt = [" dep:defmt" , " fugit/defmt" ]
52
54
53
55
# G4
@@ -95,4 +97,4 @@ path = "examples/stm32g4/hrtim.rs"
95
97
[[example ]]
96
98
name = " stm32g4-master"
97
99
required-features = [" stm32g4" ]
98
- path = " examples/stm32g4/master.rs"
100
+ path = " examples/stm32g4/master.rs"
0 commit comments