Browse Source

Store EEPROM config in flash (#14923)

Avoid confusion between the 2 possible SDs...
Tanguy Pruvot 6 years ago
parent
commit
c6be989fca
1 changed files with 5 additions and 0 deletions
  1. 5
    0
      Marlin/src/pins/stm32/pins_BIGTREE_SKR_MINI_V1_1.h

+ 5
- 0
Marlin/src/pins/stm32/pins_BIGTREE_SKR_MINI_V1_1.h View File

191
 #ifndef ST7920_DELAY_3
191
 #ifndef ST7920_DELAY_3
192
   #define ST7920_DELAY_3 DELAY_NS(125)
192
   #define ST7920_DELAY_3 DELAY_NS(125)
193
 #endif
193
 #endif
194
+
195
+#define FLASH_EEPROM_EMULATION
196
+#define EEPROM_PAGE_SIZE     (0x800) // 2KB
197
+#define EEPROM_START_ADDRESS (0x8000000 + (256 * 1024) - 2 * EEPROM_PAGE_SIZE)
198
+#define E2END                (EEPROM_PAGE_SIZE - 1)

Loading…
Cancel
Save