Skip to content
Snippets Groups Projects
Commit c6be989f authored by Tanguy Pruvot's avatar Tanguy Pruvot Committed by Scott Lahteine
Browse files

Store EEPROM config in flash (#14923)

Avoid confusion between the 2 possible SDs...
parent 13d8dc0b
No related branches found
No related tags found
No related merge requests found
......@@ -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)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment