Add H7 RCC

This commit is contained in:
Thales Fragoso 2021-05-15 22:24:32 -03:00
parent d810bb0f75
commit 4199b328ee
2 changed files with 5244 additions and 2 deletions

5239
data/registers/rcc_h7.yaml Normal file

File diff suppressed because it is too large Load Diff

View File

@ -240,6 +240,7 @@ perimap = [
('STM32H7.*:SYS:.*', 'syscfg_h7/SYSCFG'),
('STM32L0.*:RCC:.*', 'rcc_l0/RCC'),
('.*SDMMC:sdmmc2_v1_0', 'sdmmc_v2/SDMMC'),
('.*:STM32H7_rcc_v1_0', 'rcc_h7/RCC'),
]
@ -468,8 +469,10 @@ def parse_gpio_af():
with open('data/gpio_af/'+ff+'.yaml', 'w') as f:
f.write(yaml.dump(pins))
clocks = {}
def parse_clocks():
for f in glob('sources/cubedb/mcu/IP/RCC-*rcc_v1_0_Modes.xml'):
ff = removeprefix(f, 'sources/cubedb/mcu/IP/RCC-')