diff options
| author | chanterheld <[email protected]> | 2025-01-02 20:05:01 +0100 |
|---|---|---|
| committer | chanterheld <[email protected]> | 2025-01-02 20:05:01 +0100 |
| commit | f1ffbf2f7edc2afbf83ce75c7a3e0f59da09de00 (patch) | |
| tree | 66859c4d44f9ae98318e030469a984268365935f /embassy-stm32/src/flash/mod.rs | |
| parent | eaa44c3d3ff71fe3f6c3c343843272bea8b08cf3 (diff) | |
embassy-stm32. support g0 second flash bank
Diffstat (limited to 'embassy-stm32/src/flash/mod.rs')
| -rw-r--r-- | embassy-stm32/src/flash/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/embassy-stm32/src/flash/mod.rs b/embassy-stm32/src/flash/mod.rs index 88fe6a291..a7eb3fbcc 100644 --- a/embassy-stm32/src/flash/mod.rs +++ b/embassy-stm32/src/flash/mod.rs | |||
| @@ -97,7 +97,7 @@ pub enum FlashBank { | |||
| 97 | #[cfg_attr(flash_f2, path = "f2.rs")] | 97 | #[cfg_attr(flash_f2, path = "f2.rs")] |
| 98 | #[cfg_attr(flash_f4, path = "f4.rs")] | 98 | #[cfg_attr(flash_f4, path = "f4.rs")] |
| 99 | #[cfg_attr(flash_f7, path = "f7.rs")] | 99 | #[cfg_attr(flash_f7, path = "f7.rs")] |
| 100 | #[cfg_attr(any(flash_g0, flash_g4c2, flash_g4c3, flash_g4c4), path = "g.rs")] | 100 | #[cfg_attr(any(flash_g0x0, flash_g0x1, flash_g4c2, flash_g4c3, flash_g4c4), path = "g.rs")] |
| 101 | #[cfg_attr(flash_h7, path = "h7.rs")] | 101 | #[cfg_attr(flash_h7, path = "h7.rs")] |
| 102 | #[cfg_attr(flash_h7ab, path = "h7.rs")] | 102 | #[cfg_attr(flash_h7ab, path = "h7.rs")] |
| 103 | #[cfg_attr(flash_u5, path = "u5.rs")] | 103 | #[cfg_attr(flash_u5, path = "u5.rs")] |
| @@ -107,7 +107,7 @@ pub enum FlashBank { | |||
| 107 | #[cfg_attr( | 107 | #[cfg_attr( |
| 108 | not(any( | 108 | not(any( |
| 109 | flash_l0, flash_l1, flash_l4, flash_l5, flash_wl, flash_wb, flash_f0, flash_f1, flash_f2, flash_f3, flash_f4, | 109 | flash_l0, flash_l1, flash_l4, flash_l5, flash_wl, flash_wb, flash_f0, flash_f1, flash_f2, flash_f3, flash_f4, |
| 110 | flash_f7, flash_g0, flash_g4c2, flash_g4c3, flash_g4c4, flash_h7, flash_h7ab, flash_u5, flash_h50, flash_u0, | 110 | flash_f7, flash_g0x0, flash_g0x1, flash_g4c2, flash_g4c3, flash_g4c4, flash_h7, flash_h7ab, flash_u5, flash_h50, flash_u0, |
| 111 | flash_h5, | 111 | flash_h5, |
| 112 | )), | 112 | )), |
| 113 | path = "other.rs" | 113 | path = "other.rs" |
