diff options
| -rw-r--r-- | embassy-stm32/CHANGELOG.md | 1 | ||||
| -rw-r--r-- | embassy-stm32/Cargo.toml | 18 | ||||
| -rw-r--r-- | embassy-stm32/build.rs | 4 |
3 files changed, 16 insertions, 7 deletions
diff --git a/embassy-stm32/CHANGELOG.md b/embassy-stm32/CHANGELOG.md index 91785143f..ab232389a 100644 --- a/embassy-stm32/CHANGELOG.md +++ b/embassy-stm32/CHANGELOG.md | |||
| @@ -49,6 +49,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 | |||
| 49 | - low_power: remove stop_with rtc and initialize in init if low-power feature enabled. | 49 | - low_power: remove stop_with rtc and initialize in init if low-power feature enabled. |
| 50 | - feat: stm32/dsi support zero parameter commands in `write_cmd` ([#4847](https://github.com/embassy-rs/embassy/pull/4847)) | 50 | - feat: stm32/dsi support zero parameter commands in `write_cmd` ([#4847](https://github.com/embassy-rs/embassy/pull/4847)) |
| 51 | - feat: stm32/spi: added support for slave mode ([#4388](https://github.com/embassy-rs/embassy/pull/4388)) | 51 | - feat: stm32/spi: added support for slave mode ([#4388](https://github.com/embassy-rs/embassy/pull/4388)) |
| 52 | - chore: Updated stm32-metapac and stm32-data dependencies | ||
| 52 | 53 | ||
| 53 | ## 0.4.0 - 2025-08-26 | 54 | ## 0.4.0 - 2025-08-26 |
| 54 | 55 | ||
diff --git a/embassy-stm32/Cargo.toml b/embassy-stm32/Cargo.toml index 7c64c3e17..5127ef3fa 100644 --- a/embassy-stm32/Cargo.toml +++ b/embassy-stm32/Cargo.toml | |||
| @@ -177,8 +177,6 @@ cortex-m = "0.7.6" | |||
| 177 | futures-util = { version = "0.3.30", default-features = false } | 177 | futures-util = { version = "0.3.30", default-features = false } |
| 178 | sdio-host = "0.9.0" | 178 | sdio-host = "0.9.0" |
| 179 | critical-section = "1.1" | 179 | 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 | 180 | ||
| 183 | vcell = "0.1.3" | 181 | vcell = "0.1.3" |
| 184 | nb = "1.0.0" | 182 | nb = "1.0.0" |
| @@ -198,17 +196,23 @@ block-device-driver = { version = "0.2" } | |||
| 198 | aligned = "0.4.1" | 196 | aligned = "0.4.1" |
| 199 | heapless = "0.9.1" | 197 | heapless = "0.9.1" |
| 200 | 198 | ||
| 199 | #stm32-metapac = { version = "18" } | ||
| 200 | stm32-metapac = { git = "https://github.com/embassy-rs/stm32-data-generated", tag = "stm32-data-22374e3344a2c9150b9b3d4da45c03f398fdc54e" } | ||
| 201 | |||
| 202 | [build-dependencies] | ||
| 203 | #stm32-metapac = { version = "18", default-features = false, features = ["metadata"]} | ||
| 204 | stm32-metapac = { git = "https://github.com/embassy-rs/stm32-data-generated", tag = "stm32-data-22374e3344a2c9150b9b3d4da45c03f398fdc54e", default-features = false, features = ["metadata"] } | ||
| 205 | |||
| 206 | proc-macro2 = "1.0.36" | ||
| 207 | quote = "1.0.15" | ||
| 208 | |||
| 209 | |||
| 201 | [dev-dependencies] | 210 | [dev-dependencies] |
| 202 | critical-section = { version = "1.1", features = ["std"] } | 211 | critical-section = { version = "1.1", features = ["std"] } |
| 203 | proptest = "1.5.0" | 212 | proptest = "1.5.0" |
| 204 | proptest-state-machine = "0.3.0" | 213 | proptest-state-machine = "0.3.0" |
| 205 | 214 | ||
| 206 | [build-dependencies] | ||
| 207 | proc-macro2 = "1.0.36" | ||
| 208 | quote = "1.0.15" | ||
| 209 | 215 | ||
| 210 | #stm32-metapac = { version = "18", default-features = false, features = ["metadata"]} | ||
| 211 | stm32-metapac = { git = "https://github.com/embassy-rs/stm32-data-generated", tag = "stm32-data-b9f6b0c542d85ee695d71c35ced195e0cef51ac0", default-features = false, features = ["metadata"] } | ||
| 212 | 216 | ||
| 213 | [features] | 217 | [features] |
| 214 | default = ["rt"] | 218 | default = ["rt"] |
diff --git a/embassy-stm32/build.rs b/embassy-stm32/build.rs index 2800c73ac..940e29417 100644 --- a/embassy-stm32/build.rs +++ b/embassy-stm32/build.rs | |||
| @@ -2332,6 +2332,10 @@ fn mem_filter(chip: &str, region: &str) -> bool { | |||
| 2332 | return false; | 2332 | return false; |
| 2333 | } | 2333 | } |
| 2334 | 2334 | ||
| 2335 | if region.starts_with("SDRAM_") || region.starts_with("FMC_") || region.starts_with("OCTOSPI_") { | ||
| 2336 | return false; | ||
| 2337 | } | ||
| 2338 | |||
| 2335 | true | 2339 | true |
| 2336 | } | 2340 | } |
| 2337 | 2341 | ||
