Browse Source

🐛 Some EEPROM size fixes (#24113)

Co-authored-by: Scott Lahteine <github@thinkyhead.com>
FB4S_WIFI
Keith Bennett 3 years ago
committed by Scott Lahteine
parent
commit
81f403025c
  1. 4
      Marlin/src/pins/lpc1768/pins_BTT_SKR_V1_4.h
  2. 2
      Marlin/src/pins/sam/pins_RURAMPS4D_11.h
  3. 2
      Marlin/src/pins/sam/pins_RURAMPS4D_13.h
  4. 2
      Marlin/src/pins/samd/pins_BRICOLEMON_LITE_V1_0.h
  5. 2
      Marlin/src/pins/samd/pins_BRICOLEMON_V1_0.h
  6. 4
      Marlin/src/pins/stm32f1/pins_CREALITY_V4.h
  7. 4
      Marlin/src/pins/stm32f1/pins_CREALITY_V4210.h
  8. 4
      Marlin/src/pins/stm32f1/pins_CREALITY_V45x.h
  9. 2
      Marlin/src/pins/stm32f4/pins_BTT_GTR_V1_0.h
  10. 2
      Marlin/src/pins/stm32f4/pins_BTT_OCTOPUS_V1_common.h
  11. 2
      Marlin/src/pins/stm32f4/pins_LERDGE_S.h
  12. 2
      Marlin/src/pins/stm32h7/pins_BTT_SKR_SE_BX.h

4
Marlin/src/pins/lpc1768/pins_BTT_SKR_V1_4.h

@ -46,9 +46,9 @@
#endif
#if ENABLED(I2C_EEPROM)
#define MARLIN_EEPROM_SIZE 0x8000 // 32Kb
#define MARLIN_EEPROM_SIZE 0x8000 // 32K
#elif ENABLED(SDCARD_EEPROM_EMULATION)
#define MARLIN_EEPROM_SIZE 0x800 // 2Kb
#define MARLIN_EEPROM_SIZE 0x800 // 2K
#endif
//

2
Marlin/src/pins/sam/pins_RURAMPS4D_11.h

@ -179,7 +179,7 @@
//
// EEPROM
//
#define MARLIN_EEPROM_SIZE 0x8000 // 32Kb (24lc256)
#define MARLIN_EEPROM_SIZE 0x8000 // 32K (24lc256)
#define I2C_EEPROM // EEPROM on I2C-0
//#define EEPROM_SD // EEPROM on SDCARD
//#define SPI_EEPROM // EEPROM on SPI-0

2
Marlin/src/pins/sam/pins_RURAMPS4D_13.h

@ -162,7 +162,7 @@
//
// EEPROM
//
#define MARLIN_EEPROM_SIZE 0x8000 // 32Kb (24lc256)
#define MARLIN_EEPROM_SIZE 0x8000 // 32K (24lc256)
#define I2C_EEPROM // EEPROM on I2C-0
//#define EEPROM_SD // EEPROM on SDCARD
//#define SPI_EEPROM // EEPROM on SPI-0

2
Marlin/src/pins/samd/pins_BRICOLEMON_LITE_V1_0.h

@ -44,7 +44,7 @@
*/
//#define FLASH_EEPROM_EMULATION
#define I2C_EEPROM // EEPROM on I2C-0
#define MARLIN_EEPROM_SIZE 0x70000 // 512K (CAT24C512)
#define MARLIN_EEPROM_SIZE 0x10000 // 64K (CAT24C512)
// This is another option to emulate an EEPROM, but it's more efficient to not lose the data in the first place.
//#define SDCARD_EEPROM_EMULATION

2
Marlin/src/pins/samd/pins_BRICOLEMON_V1_0.h

@ -48,7 +48,7 @@
*/
//#define FLASH_EEPROM_EMULATION
#define I2C_EEPROM // EEPROM on I2C-0
#define MARLIN_EEPROM_SIZE 0x70000 // 512K (CAT24C512)
#define MARLIN_EEPROM_SIZE 0x10000 // 64K (CAT24C512)
//This its another option to emulate an EEPROM, but its more efficient to dont loose the data the first One.
//#define SDCARD_EEPROM_EMULATION

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

@ -51,9 +51,9 @@
#if ENABLED(IIC_BL24CXX_EEPROM)
#define IIC_EEPROM_SDA PA11
#define IIC_EEPROM_SCL PA12
#define MARLIN_EEPROM_SIZE 0x800 // 2Kb (24C16)
#define MARLIN_EEPROM_SIZE 0x800 // 2K (24C16)
#elif ENABLED(SDCARD_EEPROM_EMULATION)
#define MARLIN_EEPROM_SIZE 0x800 // 2Kb
#define MARLIN_EEPROM_SIZE 0x800 // 2K
#endif
//

4
Marlin/src/pins/stm32f1/pins_CREALITY_V4210.h

@ -52,10 +52,10 @@
#if ENABLED(IIC_BL24CXX_EEPROM)
#define IIC_EEPROM_SDA PA11
#define IIC_EEPROM_SCL PA12
#define MARLIN_EEPROM_SIZE 0x800 // 2Kb (24C16)
#define MARLIN_EEPROM_SIZE 0x800 // 2K (24C16)
#else
#define SDCARD_EEPROM_EMULATION // SD EEPROM until all EEPROM is BL24CXX
#define MARLIN_EEPROM_SIZE 0x800 // 2Kb
#define MARLIN_EEPROM_SIZE 0x800 // 2K
#endif
// SPI

4
Marlin/src/pins/stm32f1/pins_CREALITY_V45x.h

@ -47,9 +47,9 @@
#if ENABLED(IIC_BL24CXX_EEPROM)
#define IIC_EEPROM_SDA PA11
#define IIC_EEPROM_SCL PA12
#define MARLIN_EEPROM_SIZE 0x800 // 2Kb (24C16)
#define MARLIN_EEPROM_SIZE 0x800 // 2K (24C16)
#elif ENABLED(SDCARD_EEPROM_EMULATION)
#define MARLIN_EEPROM_SIZE 0x800 // 2Kb
#define MARLIN_EEPROM_SIZE 0x800 // 2K
#endif
//

2
Marlin/src/pins/stm32f4/pins_BTT_GTR_V1_0.h

@ -37,7 +37,7 @@
// Onboard I2C EEPROM
#define I2C_EEPROM
#define MARLIN_EEPROM_SIZE 0x2000 // 8K (24C64 ... 64Kb = 8K)
#define MARLIN_EEPROM_SIZE 0x2000 // 8K (24C64)
//
// Servos

2
Marlin/src/pins/stm32f4/pins_BTT_OCTOPUS_V1_common.h

@ -28,7 +28,7 @@
// Onboard I2C EEPROM
#define I2C_EEPROM
#define MARLIN_EEPROM_SIZE 0x8000 // 32K (24C32A)
#define MARLIN_EEPROM_SIZE 0x1000 // 4KB (AT24C32)
#define I2C_SCL_PIN PB8
#define I2C_SDA_PIN PB9

2
Marlin/src/pins/stm32f4/pins_LERDGE_S.h

@ -192,7 +192,7 @@
#define SOFT_I2C_EEPROM // Force the use of Software I2C
#define I2C_SDA_PIN PG13
#define I2C_SCL_PIN PG14 // To be confirmed on the Lerdge S, but probably same as the K
#define MARLIN_EEPROM_SIZE 0x10000
#define MARLIN_EEPROM_SIZE 0x2000U // 8K
#else
#define MARLIN_EEPROM_SIZE 0x800U // On SD, Limit to 2K, require this amount of RAM
#endif

2
Marlin/src/pins/stm32h7/pins_BTT_SKR_SE_BX.h

@ -30,7 +30,7 @@
// Onboard I2C EEPROM
#define I2C_EEPROM
#define MARLIN_EEPROM_SIZE 0x1000 // 4K (24C32 ... 32Kb = 4K)
#define MARLIN_EEPROM_SIZE 0x1000 // 4K (24C32)
#define HAS_OTG_USB_HOST_SUPPORT // USB Flash Drive support

Loading…
Cancel
Save