diff options
| author | Dominik Sliwa <[email protected]> | 2023-08-18 22:10:13 +0200 |
|---|---|---|
| committer | Dominik Sliwa <[email protected]> | 2023-08-18 23:44:56 +0200 |
| commit | 5bc0175be9482be4737dfffd3a615cee3301e775 (patch) | |
| tree | c595044255c71a0e0d6a17d011bfc17709f6d43d /embassy-stm32/src/flash/mod.rs | |
| parent | 97da34595cb9943affadb1ce8785556108b977df (diff) | |
configure flash latency after axi clock and handle different flash in STM32H7A/B devices
Diffstat (limited to 'embassy-stm32/src/flash/mod.rs')
| -rw-r--r-- | embassy-stm32/src/flash/mod.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/embassy-stm32/src/flash/mod.rs b/embassy-stm32/src/flash/mod.rs index 4308037f2..fb20dcd38 100644 --- a/embassy-stm32/src/flash/mod.rs +++ b/embassy-stm32/src/flash/mod.rs | |||
| @@ -65,9 +65,11 @@ impl FlashRegion { | |||
| 65 | #[cfg_attr(flash_f7, path = "f7.rs")] | 65 | #[cfg_attr(flash_f7, path = "f7.rs")] |
| 66 | #[cfg_attr(flash_g0, path = "g0.rs")] | 66 | #[cfg_attr(flash_g0, path = "g0.rs")] |
| 67 | #[cfg_attr(flash_h7, path = "h7.rs")] | 67 | #[cfg_attr(flash_h7, path = "h7.rs")] |
| 68 | #[cfg_attr(flash_h7ab, path = "h7.rs")] | ||
| 68 | #[cfg_attr( | 69 | #[cfg_attr( |
| 69 | not(any( | 70 | not(any( |
| 70 | flash_l0, flash_l1, flash_l4, flash_wl, flash_wb, flash_f0, flash_f3, flash_f4, flash_f7, flash_g0, flash_h7 | 71 | flash_l0, flash_l1, flash_l4, flash_wl, flash_wb, flash_f0, flash_f3, flash_f4, flash_f7, flash_g0, flash_h7, |
| 72 | flash_h7ab | ||
| 71 | )), | 73 | )), |
| 72 | path = "other.rs" | 74 | path = "other.rs" |
| 73 | )] | 75 | )] |
