STM32F103VE has 512K Flash EEPROM (#17565)

This commit is contained in:
Scott Lahteine
2020-04-16 15:34:44 -05:00
committed by GitHub
parent d353d67a34
commit 847ea583f6
10 changed files with 26 additions and 26 deletions

View File

@@ -40,8 +40,8 @@
#define FLASH_EEPROM_EMULATION
// 2K in a AT24C16N
#define EEPROM_PAGE_SIZE (uint16)0x800 // 2048
#define EEPROM_START_ADDRESS ((uint32)(0x8000000 + 512 * 1024 - 2 * EEPROM_PAGE_SIZE))
#define EEPROM_PAGE_SIZE (0x800U) // 2KB
#define EEPROM_START_ADDRESS (0x8000000UL + (STM32_FLASH_SIZE) * 1024UL - (EEPROM_PAGE_SIZE) * 2UL)
#define E2END (EEPROM_PAGE_SIZE - 1)
//