Browse Source

Use Flash-based EEPROM on SKR mini-E3 (#15126)

weakset 4 years ago
parent
commit
ee240d21b9
1 changed files with 6 additions and 0 deletions
  1. 6
    0
      Marlin/src/pins/stm32/pins_BIGTREE_SKR_MINI_E3.h

+ 6
- 0
Marlin/src/pins/stm32/pins_BIGTREE_SKR_MINI_E3.h View File

@@ -33,6 +33,12 @@
33 33
 // Ignore temp readings during development.
34 34
 //#define BOGUS_TEMPERATURE_GRACE_PERIOD 2000
35 35
 
36
+#define FLASH_EEPROM_EMULATION
37
+#define EEPROM_PAGE_SIZE     uint16(0x800) // 2KB
38
+#define EEPROM_START_ADDRESS uint32(0x8000000 + 256 * 1024 - 2 * EEPROM_PAGE_SIZE)
39
+#undef E2END
40
+#define E2END                (EEPROM_PAGE_SIZE - 1) // 2KB
41
+
36 42
 //
37 43
 // Servos
38 44
 //

Loading…
Cancel
Save