diff options
| author | Dario Nieuwenhuis <[email protected]> | 2021-06-01 15:57:25 +0200 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2021-06-01 15:57:25 +0200 |
| commit | 2aa836b0686ec358d0cbf27ba41039b5ddf6f63b (patch) | |
| tree | 71c889d1e5d75d091cab8d6b135db837af7a1f58 | |
| parent | 1f2097ab114218480485d40088bb84e9f553c690 (diff) | |
Fix L4+ family cfg
| -rw-r--r-- | stm32-metapac/build.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stm32-metapac/build.rs b/stm32-metapac/build.rs index ffea82d52..49ca76201 100644 --- a/stm32-metapac/build.rs +++ b/stm32-metapac/build.rs | |||
| @@ -134,7 +134,7 @@ fn main() { | |||
| 134 | let gpio_base = chip.peripherals.get(&"GPIOA".to_string()).unwrap().address; | 134 | let gpio_base = chip.peripherals.get(&"GPIOA".to_string()).unwrap().address; |
| 135 | let gpio_stride = 0x400; | 135 | let gpio_stride = 0x400; |
| 136 | 136 | ||
| 137 | cfgs.insert(chip.family.to_ascii_lowercase()); | 137 | cfgs.insert(chip.family.to_ascii_lowercase().replace("+", "plus")); |
| 138 | 138 | ||
| 139 | for (name, p) in &chip.peripherals { | 139 | for (name, p) in &chip.peripherals { |
| 140 | let mut ir_peri = ir::Peripheral { | 140 | let mut ir_peri = ir::Peripheral { |
