Ender 3 V2 BL24C16 EEPROM support (#18758)

This commit is contained in:
Scott Lahteine
2020-07-24 03:09:14 -05:00
committed by GitHub
parent 8c88c33d9f
commit 451f48231d
15 changed files with 498 additions and 306 deletions

View File

@ -47,12 +47,12 @@
#if ENABLED(IIC_BL24CXX_EEPROM)
#define IIC_EEPROM_SDA PA11
#define IIC_EEPROM_SCL PA12
//#define MARLIN_EEPROM_SIZE 0x4000 // 16Kb (24c16)
#define MARLIN_EEPROM_SIZE 0x800 // 2Kb (24C16)
#else
#define SDCARD_EEPROM_EMULATION // SD EEPROM until all EEPROM is BL24CXX
#define MARLIN_EEPROM_SIZE 0x800 // 2Kb
#endif
#define SDCARD_EEPROM_EMULATION // SD EEPROM until all EEPROM is BL24CXX
#define MARLIN_EEPROM_SIZE 0x1000 // 4Kb
// SPI
//#define SPI_EEPROM // EEPROM on SPI-0
//#define SPI_CHAN_EEPROM1 ?