Add MKS Robin Mini EEPROM defines (#16203)

This commit is contained in:
Anders Sahlman 2019-12-12 23:35:46 +01:00 committed by Scott Lahteine
parent 6b53431116
commit 3d4aa015a8

View file

@ -38,6 +38,12 @@
//
#define DISABLE_DEBUG
#define FLASH_EEPROM_EMULATION
// 2K in a AT24C16N
#define EEPROM_PAGE_SIZE (uint16)0x800 // 2048
#define EEPROM_START_ADDRESS ((uint32)(0x8000000 + 512 * 1024 - 2 * EEPROM_PAGE_SIZE))
#define E2END (EEPROM_PAGE_SIZE - 1)
//
// Note: MKS Robin mini board is using SPI2 interface.
//