diff options
| -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 { |
