aboutsummaryrefslogtreecommitdiff
path: root/embassy-stm32/Cargo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'embassy-stm32/Cargo.toml')
-rw-r--r--embassy-stm32/Cargo.toml53
1 files changed, 42 insertions, 11 deletions
diff --git a/embassy-stm32/Cargo.toml b/embassy-stm32/Cargo.toml
index 82bc73708..718da9a34 100644
--- a/embassy-stm32/Cargo.toml
+++ b/embassy-stm32/Cargo.toml
@@ -1,7 +1,7 @@
1[package] 1[package]
2name = "embassy-stm32" 2name = "embassy-stm32"
3version = "0.4.0" 3version = "0.4.0"
4edition = "2021" 4edition = "2024"
5license = "MIT OR Apache-2.0" 5license = "MIT OR Apache-2.0"
6description = "Embassy Hardware Abstraction Layer (HAL) for ST STM32 series microcontrollers" 6description = "Embassy Hardware Abstraction Layer (HAL) for ST STM32 series microcontrollers"
7keywords = ["embedded", "async", "stm32", "hal", "embedded-hal"] 7keywords = ["embedded", "async", "stm32", "hal", "embedded-hal"]
@@ -99,6 +99,7 @@ build = [
99 {target = "thumbv8m.main-none-eabihf", features = ["defmt", "exti", "low-power", "stm32wba65ri", "time", "time-driver-any"]}, 99 {target = "thumbv8m.main-none-eabihf", features = ["defmt", "exti", "low-power", "stm32wba65ri", "time", "time-driver-any"]},
100 {target = "thumbv8m.main-none-eabihf", features = ["defmt", "exti", "stm32u5f9zj", "time", "time-driver-any"]}, 100 {target = "thumbv8m.main-none-eabihf", features = ["defmt", "exti", "stm32u5f9zj", "time", "time-driver-any"]},
101 {target = "thumbv8m.main-none-eabihf", features = ["defmt", "exti", "stm32u5g9nj", "time", "time-driver-any"]}, 101 {target = "thumbv8m.main-none-eabihf", features = ["defmt", "exti", "stm32u5g9nj", "time", "time-driver-any"]},
102 {target = "thumbv8m.main-none-eabihf", features = ["defmt", "exti", "stm32n657x0", "time", "time-driver-any"]},
102 {target = "thumbv7em-none-eabi", features = ["defmt", "exti", "stm32wb35ce", "time", "time-driver-any"]}, 103 {target = "thumbv7em-none-eabi", features = ["defmt", "exti", "stm32wb35ce", "time", "time-driver-any"]},
103 {target = "thumbv7em-none-eabi", features = ["defmt", "exti", "low-power", "stm32wb55rg", "time", "time-driver-any"]}, 104 {target = "thumbv7em-none-eabi", features = ["defmt", "exti", "low-power", "stm32wb55rg", "time", "time-driver-any"]},
104 {target = "thumbv6m-none-eabi", features = ["defmt", "exti", "stm32u031r8", "time", "time-driver-any"]}, 105 {target = "thumbv6m-none-eabi", features = ["defmt", "exti", "stm32u031r8", "time", "time-driver-any"]},
@@ -138,6 +139,7 @@ flavors = [
138 { regex_feature = "stm32wb.*", target = "thumbv7em-none-eabi" }, 139 { regex_feature = "stm32wb.*", target = "thumbv7em-none-eabi" },
139 { regex_feature = "stm32wba.*", target = "thumbv8m.main-none-eabihf" }, 140 { regex_feature = "stm32wba.*", target = "thumbv8m.main-none-eabihf" },
140 { regex_feature = "stm32wl.*", target = "thumbv7em-none-eabi" }, 141 { regex_feature = "stm32wl.*", target = "thumbv7em-none-eabi" },
142 { regex_feature = "stm32n6.*", target = "thumbv8m.main-none-eabihf" },
141] 143]
142 144
143[package.metadata.docs.rs] 145[package.metadata.docs.rs]
@@ -177,38 +179,42 @@ cortex-m = "0.7.6"
177futures-util = { version = "0.3.30", default-features = false } 179futures-util = { version = "0.3.30", default-features = false }
178sdio-host = "0.9.0" 180sdio-host = "0.9.0"
179critical-section = "1.1" 181critical-section = "1.1"
180#stm32-metapac = { version = "18" }
181stm32-metapac = { git = "https://github.com/embassy-rs/stm32-data-generated", tag = "stm32-data-b9f6b0c542d85ee695d71c35ced195e0cef51ac0" }
182 182
183vcell = "0.1.3" 183vcell = "0.1.3"
184nb = "1.0.0" 184nb = "1.0.0"
185stm32-fmc = "0.3.0" 185stm32-fmc = "0.4.0"
186cfg-if = "1.0.0" 186cfg-if = "1.0.0"
187embedded-io = { version = "0.6.0" } 187embedded-io = { version = "0.6.0" }
188embedded-io-async = { version = "0.6.1" } 188embedded-io-async = { version = "0.6.1" }
189chrono = { version = "^0.4", default-features = false, optional = true } 189chrono = { version = "^0.4", default-features = false, optional = true }
190bit_field = "0.10.2" 190bit_field = "0.10.2"
191trait-set = "0.3.0"
191document-features = "0.2.7" 192document-features = "0.2.7"
192 193
193static_assertions = { version = "1.1" } 194static_assertions = { version = "1.1" }
194volatile-register = { version = "0.2.1" } 195volatile-register = { version = "0.2.1" }
195bitflags = "2.4.2" 196bitflags = "2.10.0"
196 197
197block-device-driver = { version = "0.2" } 198block-device-driver = { version = "0.2" }
198aligned = "0.4.1" 199aligned = "0.4.1"
199heapless = "0.9.1" 200heapless = "0.9.1"
200 201
201[dev-dependencies] 202#stm32-metapac = { version = "18" }
202critical-section = { version = "1.1", features = ["std"] } 203stm32-metapac = { git = "https://github.com/embassy-rs/stm32-data-generated", tag = "stm32-data-658588478e426d68090a59ff8385bce5b407c2bc" }
203proptest = "1.5.0"
204proptest-state-machine = "0.3.0"
205 204
206[build-dependencies] 205[build-dependencies]
206#stm32-metapac = { version = "18", default-features = false, features = ["metadata"]}
207stm32-metapac = { git = "https://github.com/embassy-rs/stm32-data-generated", tag = "stm32-data-658588478e426d68090a59ff8385bce5b407c2bc", default-features = false, features = ["metadata"] }
208
207proc-macro2 = "1.0.36" 209proc-macro2 = "1.0.36"
208quote = "1.0.15" 210quote = "1.0.15"
209 211
210#stm32-metapac = { version = "18", default-features = false, features = ["metadata"]} 212
211stm32-metapac = { git = "https://github.com/embassy-rs/stm32-data-generated", tag = "stm32-data-b9f6b0c542d85ee695d71c35ced195e0cef51ac0", default-features = false, features = ["metadata"] } 213[dev-dependencies]
214critical-section = { version = "1.1", features = ["std"] }
215proptest = "1.5.0"
216proptest-state-machine = "0.3.0"
217
212 218
213[features] 219[features]
214default = ["rt"] 220default = ["rt"]
@@ -313,6 +319,7 @@ single-bank = []
313 319
314## internal use only 320## internal use only
315_split-pins-enabled = [] 321_split-pins-enabled = []
322_allow-disable-rtc = []
316 323
317## internal use only 324## internal use only
318_dual-core = [] 325_dual-core = []
@@ -1637,6 +1644,30 @@ stm32l562qe = [ "stm32-metapac/stm32l562qe" ]
1637stm32l562re = [ "stm32-metapac/stm32l562re" ] 1644stm32l562re = [ "stm32-metapac/stm32l562re" ]
1638stm32l562ve = [ "stm32-metapac/stm32l562ve" ] 1645stm32l562ve = [ "stm32-metapac/stm32l562ve" ]
1639stm32l562ze = [ "stm32-metapac/stm32l562ze" ] 1646stm32l562ze = [ "stm32-metapac/stm32l562ze" ]
1647stm32n645a0 = [ "stm32-metapac/stm32n645a0" ]
1648stm32n645b0 = [ "stm32-metapac/stm32n645b0" ]
1649stm32n645i0 = [ "stm32-metapac/stm32n645i0" ]
1650stm32n645l0 = [ "stm32-metapac/stm32n645l0" ]
1651stm32n645x0 = [ "stm32-metapac/stm32n645x0" ]
1652stm32n645z0 = [ "stm32-metapac/stm32n645z0" ]
1653stm32n647a0 = [ "stm32-metapac/stm32n647a0" ]
1654stm32n647b0 = [ "stm32-metapac/stm32n647b0" ]
1655stm32n647i0 = [ "stm32-metapac/stm32n647i0" ]
1656stm32n647l0 = [ "stm32-metapac/stm32n647l0" ]
1657stm32n647x0 = [ "stm32-metapac/stm32n647x0" ]
1658stm32n647z0 = [ "stm32-metapac/stm32n647z0" ]
1659stm32n655a0 = [ "stm32-metapac/stm32n655a0" ]
1660stm32n655b0 = [ "stm32-metapac/stm32n655b0" ]
1661stm32n655i0 = [ "stm32-metapac/stm32n655i0" ]
1662stm32n655l0 = [ "stm32-metapac/stm32n655l0" ]
1663stm32n655x0 = [ "stm32-metapac/stm32n655x0" ]
1664stm32n655z0 = [ "stm32-metapac/stm32n655z0" ]
1665stm32n657a0 = [ "stm32-metapac/stm32n657a0" ]
1666stm32n657b0 = [ "stm32-metapac/stm32n657b0" ]
1667stm32n657i0 = [ "stm32-metapac/stm32n657i0" ]
1668stm32n657l0 = [ "stm32-metapac/stm32n657l0" ]
1669stm32n657x0 = [ "stm32-metapac/stm32n657x0" ]
1670stm32n657z0 = [ "stm32-metapac/stm32n657z0" ]
1640stm32u031c6 = [ "stm32-metapac/stm32u031c6" ] 1671stm32u031c6 = [ "stm32-metapac/stm32u031c6" ]
1641stm32u031c8 = [ "stm32-metapac/stm32u031c8" ] 1672stm32u031c8 = [ "stm32-metapac/stm32u031c8" ]
1642stm32u031f4 = [ "stm32-metapac/stm32u031f4" ] 1673stm32u031f4 = [ "stm32-metapac/stm32u031f4" ]