diff options
| author | xoviat <[email protected]> | 2025-11-09 17:29:10 -0600 |
|---|---|---|
| committer | xoviat <[email protected]> | 2025-11-09 17:29:10 -0600 |
| commit | 930d87b280f8647ab742200097205c0669fde3a0 (patch) | |
| tree | 2136044de2a2d0e0ec4ba22dbe0eb565b0d2813a | |
| parent | 4c1ae9b6db76d0367fc72c0f019e313ab6f87d06 (diff) | |
| parent | a07efe8bb5a4128eac836acadb4a26385e629648 (diff) | |
Merge branch 'fmc_a13d16' of github.com:everdrone/embassy
| -rw-r--r-- | embassy-stm32/CHANGELOG.md | 5 | ||||
| -rw-r--r-- | embassy-stm32/src/fmc.rs | 18 |
2 files changed, 21 insertions, 2 deletions
diff --git a/embassy-stm32/CHANGELOG.md b/embassy-stm32/CHANGELOG.md index 91785143f..207633cf6 100644 --- a/embassy-stm32/CHANGELOG.md +++ b/embassy-stm32/CHANGELOG.md | |||
| @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 | |||
| 9 | 9 | ||
| 10 | - feat: Add support for injected ADC measurements for g4 ([#4840](https://github.com/embassy-rs/embassy/pull/4840)) | 10 | - feat: Add support for injected ADC measurements for g4 ([#4840](https://github.com/embassy-rs/embassy/pull/4840)) |
| 11 | - feat: Implement into_ring_buffered for g4 ([#4840](https://github.com/embassy-rs/embassy/pull/4840)) | 11 | - feat: Implement into_ring_buffered for g4 ([#4840](https://github.com/embassy-rs/embassy/pull/4840)) |
| 12 | - feat: Add support for 13-bit address and 16-bit data SDRAM chips | ||
| 12 | - feat: stm32/hrtim add new_chx_with_config to provide pin configuration | 13 | - feat: stm32/hrtim add new_chx_with_config to provide pin configuration |
| 13 | - fix flash erase on L4 & L5 | 14 | - fix flash erase on L4 & L5 |
| 14 | - fix: Fixed STM32H5 builds requiring time feature | 15 | - fix: Fixed STM32H5 builds requiring time feature |
| @@ -52,7 +53,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 | |||
| 52 | 53 | ||
| 53 | ## 0.4.0 - 2025-08-26 | 54 | ## 0.4.0 - 2025-08-26 |
| 54 | 55 | ||
| 55 | - feat: stm32/sai: make NODIV independent of MCKDIV | 56 | - feat: stm32/sai: make NODIV independent of MCKDIV |
| 56 | - fix: stm32/sai: fix WB MCKDIV | 57 | - fix: stm32/sai: fix WB MCKDIV |
| 57 | - fix: stm32/i2c: pull-down was enabled instead of pull-none when no internal pull-up was needed. | 58 | - fix: stm32/i2c: pull-down was enabled instead of pull-none when no internal pull-up was needed. |
| 58 | - feat: Improve blocking hash speed | 59 | - feat: Improve blocking hash speed |
| @@ -61,7 +62,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 | |||
| 61 | - chore: Updated stm32-metapac and stm32-data dependencies | 62 | - chore: Updated stm32-metapac and stm32-data dependencies |
| 62 | - feat: stm32/adc/v3: allow DMA reads to loop through enable channels | 63 | - feat: stm32/adc/v3: allow DMA reads to loop through enable channels |
| 63 | - fix: Fix XSPI not disabling alternate bytes when they were previously enabled | 64 | - fix: Fix XSPI not disabling alternate bytes when they were previously enabled |
| 64 | - feat: stm32/adc/v3: added support for Continuous DMA configuration | 65 | - feat: stm32/adc/v3: added support for Continuous DMA configuration |
| 65 | - fix: Fix stm32h7rs init when using external flash via XSPI | 66 | - fix: Fix stm32h7rs init when using external flash via XSPI |
| 66 | - feat: Add Adc::new_with_clock() to configure analog clock | 67 | - feat: Add Adc::new_with_clock() to configure analog clock |
| 67 | - feat: Add GPDMA linked-list + ringbuffer support ([#3923](https://github.com/embassy-rs/embassy/pull/3923)) | 68 | - feat: Add GPDMA linked-list + ringbuffer support ([#3923](https://github.com/embassy-rs/embassy/pull/3923)) |
diff --git a/embassy-stm32/src/fmc.rs b/embassy-stm32/src/fmc.rs index b21506c38..a7c6c90bb 100644 --- a/embassy-stm32/src/fmc.rs +++ b/embassy-stm32/src/fmc.rs | |||
| @@ -254,6 +254,24 @@ impl<'d, T: Instance> Fmc<'d, T> { | |||
| 254 | (sdcke: SDCKE0Pin), (sdclk: SDCLKPin), (sdncas: SDNCASPin), (sdne: SDNE0Pin), (sdnras: SDNRASPin), (sdnwe: SDNWEPin) | 254 | (sdcke: SDCKE0Pin), (sdclk: SDCLKPin), (sdncas: SDNCASPin), (sdne: SDNE0Pin), (sdnras: SDNRASPin), (sdnwe: SDNWEPin) |
| 255 | ] | 255 | ] |
| 256 | )); | 256 | )); |
| 257 | |||
| 258 | fmc_sdram_constructor!(sdram_a13bits_d16bits_4banks_bank2: ( | ||
| 259 | bank: stm32_fmc::SdramTargetBank::Bank2, | ||
| 260 | addr: [ | ||
| 261 | (a0: A0Pin), (a1: A1Pin), (a2: A2Pin), (a3: A3Pin), (a4: A4Pin), (a5: A5Pin), (a6: A6Pin), (a7: A7Pin), (a8: A8Pin), (a9: A9Pin), (a10: A10Pin), (a11: A11Pin), (a12: A12Pin) | ||
| 262 | ], | ||
| 263 | ba: [(ba0: BA0Pin), (ba1: BA1Pin)], | ||
| 264 | d: [ | ||
| 265 | (d0: D0Pin), (d1: D1Pin), (d2: D2Pin), (d3: D3Pin), (d4: D4Pin), (d5: D5Pin), (d6: D6Pin), (d7: D7Pin), | ||
| 266 | (d8: D8Pin), (d9: D9Pin), (d10: D10Pin), (d11: D11Pin), (d12: D12Pin), (d13: D13Pin), (d14: D14Pin), (d15: D15Pin) | ||
| 267 | ], | ||
| 268 | nbl: [ | ||
| 269 | (nbl0: NBL0Pin), (nbl1: NBL1Pin) | ||
| 270 | ], | ||
| 271 | ctrl: [ | ||
| 272 | (sdcke: SDCKE1Pin), (sdclk: SDCLKPin), (sdncas: SDNCASPin), (sdne: SDNE1Pin), (sdnras: SDNRASPin), (sdnwe: SDNWEPin) | ||
| 273 | ] | ||
| 274 | )); | ||
| 257 | } | 275 | } |
| 258 | 276 | ||
| 259 | trait SealedInstance: crate::rcc::RccPeripheral { | 277 | trait SealedInstance: crate::rcc::RccPeripheral { |
