Store EEPROM config in flash (#14923)
Avoid confusion between the 2 possible SDs...
This commit is contained in:
parent
13d8dc0b79
commit
c6be989fca
1 changed files with 5 additions and 0 deletions
|
@ -191,3 +191,8 @@
|
|||
#ifndef ST7920_DELAY_3
|
||||
#define ST7920_DELAY_3 DELAY_NS(125)
|
||||
#endif
|
||||
|
||||
#define FLASH_EEPROM_EMULATION
|
||||
#define EEPROM_PAGE_SIZE (0x800) // 2KB
|
||||
#define EEPROM_START_ADDRESS (0x8000000 + (256 * 1024) - 2 * EEPROM_PAGE_SIZE)
|
||||
#define E2END (EEPROM_PAGE_SIZE - 1)
|
||||
|
|
Reference in a new issue