rename sbs to syscfg

This commit is contained in:
xoviat 2023-09-28 18:50:30 -05:00
parent 149ea79f2c
commit 97a4fb22b2
3 changed files with 9 additions and 5 deletions

View File

@ -1,4 +1,4 @@
block/SBS:
block/SYSCFG:
description: SBS register block
items:
- name: HDPLCR

View File

@ -1,4 +1,4 @@
block/SBS:
block/SYSCFG:
description: System configuration, boot and security
items:
- name: HDPLCR

View File

@ -226,8 +226,8 @@ impl PeriMatcher {
("STM32WL5.*:ADC:.*", ("adc", "g0", "ADC")),
("STM32WLE.*:SYSCFG:.*", ("syscfg", "wle", "SYSCFG")),
("STM32WLE.*:ADC:.*", ("adc", "g0", "ADC")),
("STM32H50.*:SBS:.*", ("sbs", "h50", "SBS")),
("STM32H5.*:SBS:.*", ("sbs", "h5", "SBS")),
("STM32H50.*:SBS:.*", ("syscfg", "h50", "SYSCFG")),
("STM32H5.*:SBS:.*", ("syscfg", "h5", "SYSCFG")),
(".*:IWDG:iwdg1_v1_1", ("iwdg", "v1", "IWDG")),
(".*:IWDG:iwdg1_v2_0", ("iwdg", "v2", "IWDG")),
(".*:WWDG:wwdg1_v1_0", ("wwdg", "v1", "WWDG")),
@ -944,7 +944,11 @@ fn process_core(
};
let mut p = stm32_data_serde::chip::core::Peripheral {
name: pname.clone(),
name: if pname == "SBS" {
"SYSCFG".to_string()
} else {
pname.clone()
},
address: addr,
registers: None,
rcc: None,