Skip to content

Commit 59152f2

Browse files
thisiskeithbthinkyhead
authored andcommitted
Flash-based EEPROM on SKR Mini E3 DIP (MarlinFirmware#15128)
1 parent c981710 commit 59152f2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Marlin/src/pins/stm32/pins_BIGTREE_SKR_E3_DIP.h

+6
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,12 @@
3333
// Ignore temp readings during development.
3434
//#define BOGUS_TEMPERATURE_GRACE_PERIOD 2000
3535

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+
3642
//
3743
// Servos
3844
//

0 commit comments

Comments
 (0)