Sfoglia il codice sorgente

EEPROM Flash Leveling enabled for more STM32F4 (#17948)

Jason Smith 5 anni fa
parent
commit
4680aa659c
Nessun account collegato all'indirizzo email del committer

+ 6
- 0
Marlin/src/pins/stm32f4/pins_BTT_BTT002_V1_0.h Vedi File

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

+ 6
- 0
Marlin/src/pins/stm32f4/pins_BTT_GTR_V1_0.h Vedi File

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

+ 6
- 0
Marlin/src/pins/stm32f4/pins_BTT_SKR_PRO_V1_1.h Vedi File

@@ -35,6 +35,12 @@
35 35
   #define FLASH_EEPROM_EMULATION                  // Use Flash-based EEPROM emulation
36 36
 #endif
37 37
 
38
+#if ENABLED(FLASH_EEPROM_EMULATION)
39
+  // Decrease delays and flash wear by spreading writes across the
40
+  // 128 kB sector allocated for EEPROM emulation.
41
+  #define FLASH_EEPROM_LEVELING
42
+#endif
43
+
38 44
 //
39 45
 // Servos
40 46
 //

+ 2
- 0
Marlin/src/pins/stm32f4/pins_FYSETC_S6.h Vedi File

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

Loading…
Annulla
Salva