Skip to content

Commit

Permalink
Store EEPROM config in flash (MarlinFirmware#14923)
Browse files Browse the repository at this point in the history
Avoid confusion between the 2 possible SDs...
  • Loading branch information
tpruvot authored and thinkyhead committed Aug 13, 2019
1 parent 13d8dc0 commit c6be989
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Marlin/src/pins/stm32/pins_BIGTREE_SKR_MINI_V1_1.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 comments on commit c6be989

Please sign in to comment.