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

@@ -39,10 +39,11 @@
// Flash EEPROM Emulation
//
#define FLASH_EEPROM_EMULATION
#define EEPROM_PAGE_SIZE uint16(0x800) // 2KB
#define EEPROM_START_ADDRESS uint32(0x8000000 + 256 * 1024 - 2 * EEPROM_PAGE_SIZE)
#define EEPROM_PAGE_SIZE (0x800U) // 2KB
#define EEPROM_START_ADDRESS (0x8000000UL + (STM32_FLASH_SIZE) * 1024UL - (EEPROM_PAGE_SIZE) * 2UL)
#undef E2END
#define E2END (EEPROM_PAGE_SIZE - 1) // 2KB
//
// Limit Switches
//