1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-27 13:56:24 +00:00

Creality V4 cleanup

This commit is contained in:
Scott Lahteine 2020-07-13 15:57:26 -05:00
parent 0f6826ffc0
commit 7a0af01e69

View File

@ -38,27 +38,31 @@
// //
// EEPROM // EEPROM
// //
#if NO_EEPROM_SELECTED
// FLASH
//#define FLASH_EEPROM_EMULATION
/* I2C */ // I2C
#define IIC_BL24CXX_EEPROM // EEPROM on I2C-0 //#define IIC_BL24CXX_EEPROM // EEPROM on I2C-0
//#define E2END 0x3FFF // 16Kb (24c16) #if ENABLED(IIC_BL24CXX_EEPROM)
#define IIC_EEPROM_SDA PA11 #define IIC_EEPROM_SDA PA11
#define IIC_EEPROM_SCL PA12 #define IIC_EEPROM_SCL PA12
#define MARLIN_EEPROM_SIZE 0x4000 // 16Kb (24c16)
#else
#define SDCARD_EEPROM_EMULATION // SD EEPROM was in the original build, so...
#endif
// SD EEPROM was in your original build, so... // SPI
#define SDCARD_EEPROM_EMULATION //#define SPI_EEPROM // EEPROM on SPI-0
//#define SPI_CHAN_EEPROM1 ?
//#define SPI_EEPROM1_CS ?
/* SPI */ // 2K EEPROM
//#define SPI_EEPROM // EEPROM on SPI-0 //#define SPI_EEPROM2_CS ?
//#define SPI_CHAN_EEPROM1 ?
//#define SPI_EEPROM1_CS ?
// 2K EEPROM
//#define SPI_EEPROM2_CS ?
// 32Mb FLASH
//#define SPI_FLASH_CS ?
/* FLASH */ // 32Mb FLASH
//#define FLASH_EEPROM_EMULATION //#define SPI_FLASH_CS ?
#endif
// //
// Servos // Servos