Extract flash information for STM32WB by looking for FLASH_REG_BASE define

This commit is contained in:
Dominik Boehi 2022-01-04 19:38:05 +01:00
parent d8189255fa
commit bb6321bc87
2 changed files with 1 additions and 4 deletions

View File

@ -2,6 +2,3 @@ peripherals:
VREFINTCAL:
address: 0x1FFF75AA
block: vrefintcal_v1/VREFINTCAL
FLASH:
address: 0x58004000
block: flash_wb55/FLASH

View File

@ -292,7 +292,7 @@ ghost_peris = [
alt_peri_defines = {
'DBGMCU': ['DBGMCU_BASE', 'DBG_BASE'],
'FLASH': ['FLASH_R_BASE'],
'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']