Browse Source

EEPROM Flash Leveling enabled for more STM32F4 (#17948)

vanilla_fb_2.0.x
Jason Smith 4 years ago
committed by GitHub
parent
commit
4680aa659c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      Marlin/src/pins/stm32f4/pins_BTT_BTT002_V1_0.h
  2. 6
      Marlin/src/pins/stm32f4/pins_BTT_GTR_V1_0.h
  3. 6
      Marlin/src/pins/stm32f4/pins_BTT_SKR_PRO_V1_1.h
  4. 2
      Marlin/src/pins/stm32f4/pins_FYSETC_S6.h

6
Marlin/src/pins/stm32f4/pins_BTT_BTT002_V1_0.h

@ -35,6 +35,12 @@
#define FLASH_EEPROM_EMULATION // Use Flash-based EEPROM emulation #define FLASH_EEPROM_EMULATION // Use Flash-based EEPROM emulation
#endif #endif
#if ENABLED(FLASH_EEPROM_EMULATION)
// Decrease delays and flash wear by spreading writes across the
// 128 kB sector allocated for EEPROM emulation.
#define FLASH_EEPROM_LEVELING
#endif
// Ignore temp readings during development. // Ignore temp readings during development.
//#define BOGUS_TEMPERATURE_GRACE_PERIOD 2000 //#define BOGUS_TEMPERATURE_GRACE_PERIOD 2000

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

@ -38,6 +38,12 @@
//#define FLASH_EEPROM_EMULATION // Use Flash-based EEPROM emulation //#define FLASH_EEPROM_EMULATION // Use Flash-based EEPROM emulation
#endif #endif
#if ENABLED(FLASH_EEPROM_EMULATION)
// Decrease delays and flash wear by spreading writes across the
// 128 kB sector allocated for EEPROM emulation.
#define FLASH_EEPROM_LEVELING
#endif
#define TP // Enable to define servo and probe pins #define TP // Enable to define servo and probe pins
// //

6
Marlin/src/pins/stm32f4/pins_BTT_SKR_PRO_V1_1.h

@ -35,6 +35,12 @@
#define FLASH_EEPROM_EMULATION // Use Flash-based EEPROM emulation #define FLASH_EEPROM_EMULATION // Use Flash-based EEPROM emulation
#endif #endif
#if ENABLED(FLASH_EEPROM_EMULATION)
// Decrease delays and flash wear by spreading writes across the
// 128 kB sector allocated for EEPROM emulation.
#define FLASH_EEPROM_LEVELING
#endif
// //
// Servos // Servos
// //

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

@ -47,6 +47,8 @@
#endif #endif
#if ENABLED(FLASH_EEPROM_EMULATION) #if ENABLED(FLASH_EEPROM_EMULATION)
// Decrease delays and flash wear by spreading writes across the
// 128 kB sector allocated for EEPROM emulation.
#define FLASH_EEPROM_LEVELING #define FLASH_EEPROM_LEVELING
#elif ENABLED(I2C_EEPROM) #elif ENABLED(I2C_EEPROM)
#undef E2END // Defined in Arduino Core STM32 to be used with EEPROM emulation. This board uses a real EEPROM. #undef E2END // Defined in Arduino Core STM32 to be used with EEPROM emulation. This board uses a real EEPROM.

Loading…
Cancel
Save