Add emulated eeprom support for STM32F303xE (#16737)

Added FEE_PAGE_SIZE and FEE_MCU_FLASH_SIZE defines for the STM32F303xE
This commit is contained in:
dn9uyen 2022-03-30 12:00:17 -07:00 committed by GitHub
parent d76a68fb0f
commit 38209c5c86
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,7 +25,7 @@
# ifndef FEE_PAGE_COUNT # ifndef FEE_PAGE_COUNT
# define FEE_PAGE_COUNT 2 // How many pages are used # define FEE_PAGE_COUNT 2 // How many pages are used
# endif # endif
# elif defined(STM32F103xE) || defined(STM32F303xC) || defined(STM32F072xB) || defined(STM32F070xB) # elif defined(STM32F103xE) || defined(STM32F303xC) || defined(STM32F303xE) || defined(STM32F072xB) || defined(STM32F070xB)
# ifndef FEE_PAGE_SIZE # ifndef FEE_PAGE_SIZE
# define FEE_PAGE_SIZE 0x800 // Page size = 2KByte # define FEE_PAGE_SIZE 0x800 // Page size = 2KByte
# endif # endif
@ -51,7 +51,7 @@
# define FEE_MCU_FLASH_SIZE 128 // Size in Kb # define FEE_MCU_FLASH_SIZE 128 // Size in Kb
# elif defined(STM32F303xC) || defined(STM32F401xC) # elif defined(STM32F303xC) || defined(STM32F401xC)
# define FEE_MCU_FLASH_SIZE 256 // Size in Kb # define FEE_MCU_FLASH_SIZE 256 // Size in Kb
# elif defined(STM32F103xE) || defined(STM32F401xE) || defined(STM32F411xE) # elif defined(STM32F103xE) || defined(STM32F303xE) || defined(STM32F401xE) || defined(STM32F411xE)
# define FEE_MCU_FLASH_SIZE 512 // Size in Kb # define FEE_MCU_FLASH_SIZE 512 // Size in Kb
# elif defined(STM32F405xG) # elif defined(STM32F405xG)
# define FEE_MCU_FLASH_SIZE 1024 // Size in Kb # define FEE_MCU_FLASH_SIZE 1024 // Size in Kb