Bladeren bron

BTT GTR has I2C EEPROM (#18029)

thisiskeithb 5 jaren geleden
bovenliggende
commit
4e51240563
No account linked to committer's email address
1 gewijzigde bestanden met toevoegingen van 4 en 12 verwijderingen
  1. 4
    12
      Marlin/src/pins/stm32f4/pins_BTT_GTR_V1_0.h

+ 4
- 12
Marlin/src/pins/stm32f4/pins_BTT_GTR_V1_0.h Bestand weergeven

@@ -31,18 +31,10 @@
31 31
 
32 32
 #define BOARD_INFO_NAME "BIGTREE GTR 1.0"
33 33
 
34
-// Use one of these or SDCard-based Emulation will be used
35
-#if NO_EEPROM_SELECTED
36
-  //#define I2C_EEPROM
37
-  //#define SRAM_EEPROM_EMULATION                 // Use BackSRAM-based EEPROM emulation
38
-  //#define FLASH_EEPROM_EMULATION                // Use Flash-based EEPROM emulation
39
-#endif
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
34
+// Onboard I2C EEPROM
35
+#define I2C_EEPROM
36
+#undef E2END
37
+#define E2END 0x1FFF // EEPROM end address 24C64 (64Kb = 8KB)
46 38
 
47 39
 #define TP                                        // Enable to define servo and probe pins
48 40
 

Laden…
Annuleren
Opslaan