[STM32F1] Simpler Flash EEPROM (#14829)

This commit is contained in:
Eric Ptak
2019-08-11 02:14:31 +02:00
committed by Scott Lahteine
parent 0745d48993
commit 9c5086e6af
3 changed files with 21 additions and 48 deletions

View File

@ -35,6 +35,12 @@
#define DISABLE_JTAG
#define FLASH_EEPROM_EMULATION
#define EEPROM_PAGE_SIZE uint16(0x800) // 2KB
#define EEPROM_START_ADDRESS uint32(0x8000000 + 256 * 1024 - 2 * EEPROM_PAGE_SIZE)
#undef E2END
#define E2END (EEPROM_PAGE_SIZE - 1) // 2KB
//
// Servos
//