diff options
Diffstat (limited to 'embassy-stm32/Cargo.toml')
| -rw-r--r-- | embassy-stm32/Cargo.toml | 53 |
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] |
| 2 | name = "embassy-stm32" | 2 | name = "embassy-stm32" |
| 3 | version = "0.4.0" | 3 | version = "0.4.0" |
| 4 | edition = "2021" | 4 | edition = "2024" |
| 5 | license = "MIT OR Apache-2.0" | 5 | license = "MIT OR Apache-2.0" |
| 6 | description = "Embassy Hardware Abstraction Layer (HAL) for ST STM32 series microcontrollers" | 6 | description = "Embassy Hardware Abstraction Layer (HAL) for ST STM32 series microcontrollers" |
| 7 | keywords = ["embedded", "async", "stm32", "hal", "embedded-hal"] | 7 | keywords = ["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" | |||
| 177 | futures-util = { version = "0.3.30", default-features = false } | 179 | futures-util = { version = "0.3.30", default-features = false } |
| 178 | sdio-host = "0.9.0" | 180 | sdio-host = "0.9.0" |
| 179 | critical-section = "1.1" | 181 | critical-section = "1.1" |
| 180 | #stm32-metapac = { version = "18" } | ||
| 181 | stm32-metapac = { git = "https://github.com/embassy-rs/stm32-data-generated", tag = "stm32-data-b9f6b0c542d85ee695d71c35ced195e0cef51ac0" } | ||
| 182 | 182 | ||
| 183 | vcell = "0.1.3" | 183 | vcell = "0.1.3" |
| 184 | nb = "1.0.0" | 184 | nb = "1.0.0" |
| 185 | stm32-fmc = "0.3.0" | 185 | stm32-fmc = "0.4.0" |
| 186 | cfg-if = "1.0.0" | 186 | cfg-if = "1.0.0" |
| 187 | embedded-io = { version = "0.6.0" } | 187 | embedded-io = { version = "0.6.0" } |
| 188 | embedded-io-async = { version = "0.6.1" } | 188 | embedded-io-async = { version = "0.6.1" } |
| 189 | chrono = { version = "^0.4", default-features = false, optional = true } | 189 | chrono = { version = "^0.4", default-features = false, optional = true } |
| 190 | bit_field = "0.10.2" | 190 | bit_field = "0.10.2" |
| 191 | trait-set = "0.3.0" | ||
| 191 | document-features = "0.2.7" | 192 | document-features = "0.2.7" |
| 192 | 193 | ||
| 193 | static_assertions = { version = "1.1" } | 194 | static_assertions = { version = "1.1" } |
| 194 | volatile-register = { version = "0.2.1" } | 195 | volatile-register = { version = "0.2.1" } |
| 195 | bitflags = "2.4.2" | 196 | bitflags = "2.10.0" |
| 196 | 197 | ||
| 197 | block-device-driver = { version = "0.2" } | 198 | block-device-driver = { version = "0.2" } |
| 198 | aligned = "0.4.1" | 199 | aligned = "0.4.1" |
| 199 | heapless = "0.9.1" | 200 | heapless = "0.9.1" |
| 200 | 201 | ||
| 201 | [dev-dependencies] | 202 | #stm32-metapac = { version = "18" } |
| 202 | critical-section = { version = "1.1", features = ["std"] } | 203 | stm32-metapac = { git = "https://github.com/embassy-rs/stm32-data-generated", tag = "stm32-data-658588478e426d68090a59ff8385bce5b407c2bc" } |
| 203 | proptest = "1.5.0" | ||
| 204 | proptest-state-machine = "0.3.0" | ||
| 205 | 204 | ||
| 206 | [build-dependencies] | 205 | [build-dependencies] |
| 206 | #stm32-metapac = { version = "18", default-features = false, features = ["metadata"]} | ||
| 207 | stm32-metapac = { git = "https://github.com/embassy-rs/stm32-data-generated", tag = "stm32-data-658588478e426d68090a59ff8385bce5b407c2bc", default-features = false, features = ["metadata"] } | ||
| 208 | |||
| 207 | proc-macro2 = "1.0.36" | 209 | proc-macro2 = "1.0.36" |
| 208 | quote = "1.0.15" | 210 | quote = "1.0.15" |
| 209 | 211 | ||
| 210 | #stm32-metapac = { version = "18", default-features = false, features = ["metadata"]} | 212 | |
| 211 | stm32-metapac = { git = "https://github.com/embassy-rs/stm32-data-generated", tag = "stm32-data-b9f6b0c542d85ee695d71c35ced195e0cef51ac0", default-features = false, features = ["metadata"] } | 213 | [dev-dependencies] |
| 214 | critical-section = { version = "1.1", features = ["std"] } | ||
| 215 | proptest = "1.5.0" | ||
| 216 | proptest-state-machine = "0.3.0" | ||
| 217 | |||
| 212 | 218 | ||
| 213 | [features] | 219 | [features] |
| 214 | default = ["rt"] | 220 | default = ["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" ] | |||
| 1637 | stm32l562re = [ "stm32-metapac/stm32l562re" ] | 1644 | stm32l562re = [ "stm32-metapac/stm32l562re" ] |
| 1638 | stm32l562ve = [ "stm32-metapac/stm32l562ve" ] | 1645 | stm32l562ve = [ "stm32-metapac/stm32l562ve" ] |
| 1639 | stm32l562ze = [ "stm32-metapac/stm32l562ze" ] | 1646 | stm32l562ze = [ "stm32-metapac/stm32l562ze" ] |
| 1647 | stm32n645a0 = [ "stm32-metapac/stm32n645a0" ] | ||
| 1648 | stm32n645b0 = [ "stm32-metapac/stm32n645b0" ] | ||
| 1649 | stm32n645i0 = [ "stm32-metapac/stm32n645i0" ] | ||
| 1650 | stm32n645l0 = [ "stm32-metapac/stm32n645l0" ] | ||
| 1651 | stm32n645x0 = [ "stm32-metapac/stm32n645x0" ] | ||
| 1652 | stm32n645z0 = [ "stm32-metapac/stm32n645z0" ] | ||
| 1653 | stm32n647a0 = [ "stm32-metapac/stm32n647a0" ] | ||
| 1654 | stm32n647b0 = [ "stm32-metapac/stm32n647b0" ] | ||
| 1655 | stm32n647i0 = [ "stm32-metapac/stm32n647i0" ] | ||
| 1656 | stm32n647l0 = [ "stm32-metapac/stm32n647l0" ] | ||
| 1657 | stm32n647x0 = [ "stm32-metapac/stm32n647x0" ] | ||
| 1658 | stm32n647z0 = [ "stm32-metapac/stm32n647z0" ] | ||
| 1659 | stm32n655a0 = [ "stm32-metapac/stm32n655a0" ] | ||
| 1660 | stm32n655b0 = [ "stm32-metapac/stm32n655b0" ] | ||
| 1661 | stm32n655i0 = [ "stm32-metapac/stm32n655i0" ] | ||
| 1662 | stm32n655l0 = [ "stm32-metapac/stm32n655l0" ] | ||
| 1663 | stm32n655x0 = [ "stm32-metapac/stm32n655x0" ] | ||
| 1664 | stm32n655z0 = [ "stm32-metapac/stm32n655z0" ] | ||
| 1665 | stm32n657a0 = [ "stm32-metapac/stm32n657a0" ] | ||
| 1666 | stm32n657b0 = [ "stm32-metapac/stm32n657b0" ] | ||
| 1667 | stm32n657i0 = [ "stm32-metapac/stm32n657i0" ] | ||
| 1668 | stm32n657l0 = [ "stm32-metapac/stm32n657l0" ] | ||
| 1669 | stm32n657x0 = [ "stm32-metapac/stm32n657x0" ] | ||
| 1670 | stm32n657z0 = [ "stm32-metapac/stm32n657z0" ] | ||
| 1640 | stm32u031c6 = [ "stm32-metapac/stm32u031c6" ] | 1671 | stm32u031c6 = [ "stm32-metapac/stm32u031c6" ] |
| 1641 | stm32u031c8 = [ "stm32-metapac/stm32u031c8" ] | 1672 | stm32u031c8 = [ "stm32-metapac/stm32u031c8" ] |
| 1642 | stm32u031f4 = [ "stm32-metapac/stm32u031f4" ] | 1673 | stm32u031f4 = [ "stm32-metapac/stm32u031f4" ] |
