Add the FSMC register block

The current v1 yaml has a few extra registers defined that don't belong to
some of the chips out there (the ones at byte_offset 320 and above), but
the rest of registers are identical.
This commit is contained in:
Nicolas Viennot 2022-03-18 22:21:53 -04:00
parent 67a00a393e
commit f9301d42f0
2 changed files with 1194 additions and 1 deletions

1191
data/registers/fsmc_v1.yaml Normal file

File diff suppressed because it is too large Load Diff

View File

@ -219,6 +219,7 @@ perimap = [
('STM32F7.*:ETH:ETH:ethermac110_v2_0', ('eth', 'v1c', 'ETH')),
('.*ETH:ethermac110_v3_0', ('eth', 'v2', 'ETH')),
('.*:FSMC:.*', ('fsmc', 'v1', 'FSMC')),
('STM32H7.*:FMC:.*', ('fmc', 'h7', 'FMC')),
('.*LPTIM\d.*:G0xx_lptimer1_v1_4', ('lptim', 'g0', 'LPTIM')),
@ -300,7 +301,8 @@ alt_peri_defines = {
'FLASH': ['FLASH_R_BASE', 'FLASH_REG_BASE'],
'ADC_COMMON': ['ADC_COMMON', 'ADC1_COMMON', 'ADC12_COMMON', 'ADC123_COMMON'],
'CAN': ['CAN_BASE', 'CAN1_BASE'],
'FMC': ['FMC_BASE', 'FMC_R_BASE']
'FMC': ['FMC_BASE', 'FMC_R_BASE'],
'FSMC': ['FSMC_R_BASE']
}
# Device address overrides, in case of missing from headers