Fix L4+ family cfg

This commit is contained in:
Dario Nieuwenhuis 2021-06-01 15:57:25 +02:00
parent 1f2097ab11
commit 2aa836b068

View File

@ -134,7 +134,7 @@ fn main() {
let gpio_base = chip.peripherals.get(&"GPIOA".to_string()).unwrap().address;
let gpio_stride = 0x400;
cfgs.insert(chip.family.to_ascii_lowercase());
cfgs.insert(chip.family.to_ascii_lowercase().replace("+", "plus"));
for (name, p) in &chip.peripherals {
let mut ir_peri = ir::Peripheral {