Skip to content

Commit 46b0941

Browse files
committed
Update Cargo.toml
1 parent 3c1c363 commit 46b0941

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

Cargo.toml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,14 @@ version = "0.1.0"
44
edition = "2021"
55

66
[dependencies]
7-
stm32f3 = { version = "0.15.1", optional = true }
8-
stm32h7 = { version = "0.15.1", optional = true }
9-
stm32g4 = { version = "0.19.0", package = "stm32g4-staging", optional = true }
107

118
stm32f3xx-hal = { version = "0.10.0", optional = true }
129
stm32h7xx-hal = { version = "0.16.0", optional = true }
13-
stm32g4xx-hal = { version = "0.0.1", optional = true }
10+
#stm32g4xx-hal = { version = "0.0.1", optional = true }
11+
#stm32g4xx-hal = { git = "https://github.com/stm32-rs/stm32g4xx-hal", branch = "staged-pac", optional = true }
12+
stm32g4xx-hal = { path = "../stm32g4xx-hal", optional = true }
13+
defmt = { version = "0.3.10", optional = true }
14+
fugit = "0.3.7"
1415

1516
[features]
1617
default = []
@@ -19,6 +20,10 @@ hrtim_v1 = []
1920
hrtim_v1_1 = []
2021
hrtim_v2 = []
2122

23+
stm32f3 = []
24+
stm32h7 = []
25+
stm32g4 = []
26+
2227
stm32f334x4 = ["stm32f3", "stm32f3xx-hal/stm32f334x4", "hrtim_v1"]
2328
stm32f334x6 = ["stm32f3", "stm32f3xx-hal/stm32f334x6", "hrtim_v1"]
2429
stm32f334x8 = ["stm32f3", "stm32f3xx-hal/stm32f334x8", "hrtim_v1"]
@@ -33,4 +38,5 @@ stm32h753 = ["stm32h7", "stm32h7xx-hal/stm32h753", "hrtim_v1_1"]
3338
#stm32h757 = ["stm32h7", "stm32h7xx-hal/stm32h757", "hrtim_v1_1"]
3439

3540
stm32g474 = ["stm32g4", "stm32g4xx-hal/stm32g474", "hrtim_v2"]
36-
stm32g484 = ["stm32g4", "stm32g4xx-hal/stm32g484", "hrtim_v2"]
41+
stm32g484 = ["stm32g4", "stm32g4xx-hal/stm32g484", "hrtim_v2"]
42+
defmt = ["dep:defmt", "fugit/defmt"]

0 commit comments

Comments
 (0)