Browse Source

Creality V4 cleanup

vanilla_fb_2.0.x
Scott Lahteine 5 years ago
parent
commit
7a0af01e69
  1. 46
      Marlin/src/pins/stm32f1/pins_CREALITY_V4.h

46
Marlin/src/pins/stm32f1/pins_CREALITY_V4.h

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

Loading…
Cancel
Save