Просмотр исходного кода

Merge pull request #8168 from thinkyhead/bf2_config_tweak

[2.0.x] Apply Re-ARM SPI review items
Scott Lahteine 7 лет назад
Родитель
Сommit
0b02f9cc33
Аккаунт пользователя с таким Email не найден
47 измененных файлов: 111 добавлений и 155 удалений
  1. 2
    2
      Marlin/Configuration.h
  2. 2
    2
      Marlin/src/config/default/Configuration.h
  3. 2
    2
      Marlin/src/config/examples/AlephObjects/TAZ4/Configuration.h
  4. 2
    2
      Marlin/src/config/examples/AliExpress/CL-260/Configuration.h
  5. 6
    6
      Marlin/src/config/examples/Anet/A6/Configuration.h
  6. 2
    2
      Marlin/src/config/examples/Anet/A8/Configuration.h
  7. 2
    2
      Marlin/src/config/examples/BQ/Hephestos/Configuration.h
  8. 2
    2
      Marlin/src/config/examples/BQ/Hephestos_2/Configuration.h
  9. 2
    2
      Marlin/src/config/examples/BQ/WITBOX/Configuration.h
  10. 2
    2
      Marlin/src/config/examples/Cartesio/Configuration.h
  11. 2
    2
      Marlin/src/config/examples/Creality/CR-10/Configuration.h
  12. 2
    2
      Marlin/src/config/examples/Felix/Configuration.h
  13. 2
    2
      Marlin/src/config/examples/Felix/DUAL/Configuration.h
  14. 2
    2
      Marlin/src/config/examples/FolgerTech/i3-2020/Configuration.h
  15. 2
    2
      Marlin/src/config/examples/Geeetech/GT2560/Configuration.h
  16. 2
    2
      Marlin/src/config/examples/Geeetech/I3_Pro_X-GT2560/Configuration.h
  17. 2
    2
      Marlin/src/config/examples/Infitary/i3-M508/Configuration.h
  18. 2
    2
      Marlin/src/config/examples/Malyan/M150/Configuration.h
  19. 2
    2
      Marlin/src/config/examples/Micromake/C1/basic/Configuration.h
  20. 2
    2
      Marlin/src/config/examples/Micromake/C1/enhanced/Configuration.h
  21. 2
    2
      Marlin/src/config/examples/Mks/Sbase/Configuration.h
  22. 2
    2
      Marlin/src/config/examples/RepRapWorld/Megatronics/Configuration.h
  23. 2
    2
      Marlin/src/config/examples/RigidBot/Configuration.h
  24. 2
    2
      Marlin/src/config/examples/SCARA/Configuration.h
  25. 2
    2
      Marlin/src/config/examples/Sanguinololu/Configuration.h
  26. 2
    2
      Marlin/src/config/examples/TinyBoy2/Configuration.h
  27. 2
    2
      Marlin/src/config/examples/Velleman/K8200/Configuration.h
  28. 2
    2
      Marlin/src/config/examples/Velleman/K8400/Configuration.h
  29. 2
    2
      Marlin/src/config/examples/Velleman/K8400/Dual-head/Configuration.h
  30. 2
    2
      Marlin/src/config/examples/adafruit/ST7565/Configuration.h
  31. 2
    2
      Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration.h
  32. 2
    2
      Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration.h
  33. 2
    2
      Marlin/src/config/examples/delta/generic/Configuration.h
  34. 2
    2
      Marlin/src/config/examples/delta/kossel_mini/Configuration.h
  35. 2
    2
      Marlin/src/config/examples/delta/kossel_pro/Configuration.h
  36. 2
    2
      Marlin/src/config/examples/delta/kossel_xl/Configuration.h
  37. 2
    2
      Marlin/src/config/examples/gCreate/gMax1.5+/Configuration.h
  38. 2
    2
      Marlin/src/config/examples/makibox/Configuration.h
  39. 2
    2
      Marlin/src/config/examples/stm32f103ret6/Configuration.h
  40. 2
    2
      Marlin/src/config/examples/tvrrug/Round2/Configuration.h
  41. 2
    2
      Marlin/src/config/examples/wt150/Configuration.h
  42. 23
    0
      Marlin/src/inc/Conditionals_post.h
  43. 2
    3
      Marlin/src/lcd/ultralcd.cpp
  44. 0
    19
      Marlin/src/pins/pins_AZSMZ_MINI.h
  45. 0
    19
      Marlin/src/pins/pins_MKS_SBASE.h
  46. 0
    18
      Marlin/src/pins/pins_RAMPS_RE_ARM.h
  47. 0
    10
      Marlin/src/sd/SdFatConfig.h

+ 2
- 2
Marlin/Configuration.h Просмотреть файл

@@ -1010,8 +1010,8 @@
1010 1010
 //#define Z_SAFE_HOMING
1011 1011
 
1012 1012
 #if ENABLED(Z_SAFE_HOMING)
1013
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1014
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1013
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1014
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1015 1015
 #endif
1016 1016
 
1017 1017
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/src/config/default/Configuration.h Просмотреть файл

@@ -1010,8 +1010,8 @@
1010 1010
 //#define Z_SAFE_HOMING
1011 1011
 
1012 1012
 #if ENABLED(Z_SAFE_HOMING)
1013
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1014
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1013
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1014
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1015 1015
 #endif
1016 1016
 
1017 1017
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/src/config/examples/AlephObjects/TAZ4/Configuration.h Просмотреть файл

@@ -1030,8 +1030,8 @@
1030 1030
 //#define Z_SAFE_HOMING
1031 1031
 
1032 1032
 #if ENABLED(Z_SAFE_HOMING)
1033
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1034
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1033
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1034
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1035 1035
 #endif
1036 1036
 
1037 1037
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/src/config/examples/AliExpress/CL-260/Configuration.h Просмотреть файл

@@ -1010,8 +1010,8 @@
1010 1010
 //#define Z_SAFE_HOMING
1011 1011
 
1012 1012
 #if ENABLED(Z_SAFE_HOMING)
1013
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1014
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1013
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1014
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1015 1015
 #endif
1016 1016
 
1017 1017
 // Homing speeds (mm/m)

+ 6
- 6
Marlin/src/config/examples/Anet/A6/Configuration.h Просмотреть файл

@@ -1158,16 +1158,16 @@
1158 1158
 #define Z_SAFE_HOMING
1159 1159
 
1160 1160
 #if ENABLED(Z_SAFE_HOMING)
1161
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1162
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1161
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1162
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1163 1163
 
1164 1164
   //Anet A6 with new X-Axis
1165
-  //#define Z_SAFE_HOMING_X_POINT 113    // X point for Z homing when homing all axis (G28).
1166
-  //#define Z_SAFE_HOMING_Y_POINT 112    // Y point for Z homing when homing all axis (G28).
1165
+  //#define Z_SAFE_HOMING_X_POINT 113    // X point for Z homing when homing all axes (G28).
1166
+  //#define Z_SAFE_HOMING_Y_POINT 112    // Y point for Z homing when homing all axes (G28).
1167 1167
 
1168 1168
   //Anet A6 with new X-Axis and defined X_HOME_POS -7, Y_HOME_POS -6
1169
-  //#define Z_SAFE_HOMING_X_POINT 107    // X point for Z homing when homing all axis (G28).
1170
-  //#define Z_SAFE_HOMING_Y_POINT 107    // Y point for Z homing when homing all axis (G28).
1169
+  //#define Z_SAFE_HOMING_X_POINT 107    // X point for Z homing when homing all axes (G28).
1170
+  //#define Z_SAFE_HOMING_Y_POINT 107    // Y point for Z homing when homing all axes (G28).
1171 1171
 
1172 1172
 #endif
1173 1173
 

+ 2
- 2
Marlin/src/config/examples/Anet/A8/Configuration.h Просмотреть файл

@@ -1016,8 +1016,8 @@
1016 1016
 //#define Z_SAFE_HOMING
1017 1017
 
1018 1018
 #if ENABLED(Z_SAFE_HOMING)
1019
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1020
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1019
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1020
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1021 1021
 #endif
1022 1022
 
1023 1023
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/src/config/examples/BQ/Hephestos/Configuration.h Просмотреть файл

@@ -1001,8 +1001,8 @@
1001 1001
 //#define Z_SAFE_HOMING
1002 1002
 
1003 1003
 #if ENABLED(Z_SAFE_HOMING)
1004
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1005
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1004
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1005
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1006 1006
 #endif
1007 1007
 
1008 1008
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/src/config/examples/BQ/Hephestos_2/Configuration.h Просмотреть файл

@@ -1011,8 +1011,8 @@
1011 1011
 #define Z_SAFE_HOMING
1012 1012
 
1013 1013
 #if ENABLED(Z_SAFE_HOMING)
1014
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1015
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1014
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1015
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1016 1016
 #endif
1017 1017
 
1018 1018
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/src/config/examples/BQ/WITBOX/Configuration.h Просмотреть файл

@@ -1001,8 +1001,8 @@
1001 1001
 //#define Z_SAFE_HOMING
1002 1002
 
1003 1003
 #if ENABLED(Z_SAFE_HOMING)
1004
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1005
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1004
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1005
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1006 1006
 #endif
1007 1007
 
1008 1008
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/src/config/examples/Cartesio/Configuration.h Просмотреть файл

@@ -1009,8 +1009,8 @@
1009 1009
 //#define Z_SAFE_HOMING
1010 1010
 
1011 1011
 #if ENABLED(Z_SAFE_HOMING)
1012
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1013
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1012
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1013
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1014 1014
 #endif
1015 1015
 
1016 1016
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/src/config/examples/Creality/CR-10/Configuration.h Просмотреть файл

@@ -1020,8 +1020,8 @@
1020 1020
 //#define Z_SAFE_HOMING
1021 1021
 
1022 1022
 #if ENABLED(Z_SAFE_HOMING)
1023
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1024
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1023
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1024
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1025 1025
 #endif
1026 1026
 
1027 1027
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/src/config/examples/Felix/Configuration.h Просмотреть файл

@@ -992,8 +992,8 @@
992 992
 //#define Z_SAFE_HOMING
993 993
 
994 994
 #if ENABLED(Z_SAFE_HOMING)
995
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
996
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
995
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
996
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
997 997
 #endif
998 998
 
999 999
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/src/config/examples/Felix/DUAL/Configuration.h Просмотреть файл

@@ -992,8 +992,8 @@
992 992
 //#define Z_SAFE_HOMING
993 993
 
994 994
 #if ENABLED(Z_SAFE_HOMING)
995
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
996
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
995
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
996
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
997 997
 #endif
998 998
 
999 999
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/src/config/examples/FolgerTech/i3-2020/Configuration.h Просмотреть файл

@@ -1007,8 +1007,8 @@
1007 1007
 #define Z_SAFE_HOMING
1008 1008
 
1009 1009
 #if ENABLED(Z_SAFE_HOMING)
1010
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1011
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1010
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1011
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1012 1012
 #endif
1013 1013
 
1014 1014
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/src/config/examples/Geeetech/GT2560/Configuration.h Просмотреть файл

@@ -1025,8 +1025,8 @@
1025 1025
 //#define Z_SAFE_HOMING
1026 1026
 
1027 1027
 #if ENABLED(Z_SAFE_HOMING)
1028
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1029
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1028
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1029
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1030 1030
 #endif
1031 1031
 
1032 1032
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/src/config/examples/Geeetech/I3_Pro_X-GT2560/Configuration.h Просмотреть файл

@@ -1010,8 +1010,8 @@
1010 1010
 //#define Z_SAFE_HOMING
1011 1011
 
1012 1012
 #if ENABLED(Z_SAFE_HOMING)
1013
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1014
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1013
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1014
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1015 1015
 #endif
1016 1016
 
1017 1017
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/src/config/examples/Infitary/i3-M508/Configuration.h Просмотреть файл

@@ -1014,8 +1014,8 @@
1014 1014
 //#define Z_SAFE_HOMING
1015 1015
 
1016 1016
 #if ENABLED(Z_SAFE_HOMING)
1017
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1018
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1017
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1018
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1019 1019
 #endif
1020 1020
 
1021 1021
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/src/config/examples/Malyan/M150/Configuration.h Просмотреть файл

@@ -1038,8 +1038,8 @@
1038 1038
 //#define Z_SAFE_HOMING
1039 1039
 
1040 1040
 #if ENABLED(Z_SAFE_HOMING)
1041
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1042
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1041
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1042
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1043 1043
 #endif
1044 1044
 
1045 1045
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/src/config/examples/Micromake/C1/basic/Configuration.h Просмотреть файл

@@ -1014,8 +1014,8 @@
1014 1014
 //#define Z_SAFE_HOMING
1015 1015
 
1016 1016
 #if ENABLED(Z_SAFE_HOMING)
1017
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1018
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1017
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1018
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1019 1019
 #endif
1020 1020
 
1021 1021
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/src/config/examples/Micromake/C1/enhanced/Configuration.h Просмотреть файл

@@ -1014,8 +1014,8 @@
1014 1014
 //#define Z_SAFE_HOMING
1015 1015
 
1016 1016
 #if ENABLED(Z_SAFE_HOMING)
1017
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1018
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1017
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1018
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1019 1019
 #endif
1020 1020
 
1021 1021
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/src/config/examples/Mks/Sbase/Configuration.h Просмотреть файл

@@ -1012,8 +1012,8 @@
1012 1012
 #define Z_SAFE_HOMING
1013 1013
 
1014 1014
 #if ENABLED(Z_SAFE_HOMING)
1015
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1016
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1015
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1016
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1017 1017
 #endif
1018 1018
 
1019 1019
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/src/config/examples/RepRapWorld/Megatronics/Configuration.h Просмотреть файл

@@ -1010,8 +1010,8 @@
1010 1010
 //#define Z_SAFE_HOMING
1011 1011
 
1012 1012
 #if ENABLED(Z_SAFE_HOMING)
1013
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1014
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1013
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1014
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1015 1015
 #endif
1016 1016
 
1017 1017
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/src/config/examples/RigidBot/Configuration.h Просмотреть файл

@@ -1008,8 +1008,8 @@
1008 1008
 //#define Z_SAFE_HOMING
1009 1009
 
1010 1010
 #if ENABLED(Z_SAFE_HOMING)
1011
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1012
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1011
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1012
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1013 1013
 #endif
1014 1014
 
1015 1015
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/src/config/examples/SCARA/Configuration.h Просмотреть файл

@@ -1022,8 +1022,8 @@
1022 1022
 //#define Z_SAFE_HOMING
1023 1023
 
1024 1024
 #if ENABLED(Z_SAFE_HOMING)
1025
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1026
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1025
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1026
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1027 1027
 #endif
1028 1028
 
1029 1029
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/src/config/examples/Sanguinololu/Configuration.h Просмотреть файл

@@ -1041,8 +1041,8 @@
1041 1041
 //#define Z_SAFE_HOMING
1042 1042
 
1043 1043
 #if ENABLED(Z_SAFE_HOMING)
1044
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1045
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1044
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1045
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1046 1046
 #endif
1047 1047
 
1048 1048
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/src/config/examples/TinyBoy2/Configuration.h Просмотреть файл

@@ -1066,8 +1066,8 @@
1066 1066
 //#define Z_SAFE_HOMING
1067 1067
 
1068 1068
 #if ENABLED(Z_SAFE_HOMING)
1069
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1070
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1069
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1070
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1071 1071
 #endif
1072 1072
 
1073 1073
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/src/config/examples/Velleman/K8200/Configuration.h Просмотреть файл

@@ -1040,8 +1040,8 @@
1040 1040
 //#define Z_SAFE_HOMING
1041 1041
 
1042 1042
 #if ENABLED(Z_SAFE_HOMING)
1043
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1044
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1043
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1044
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1045 1045
 #endif
1046 1046
 
1047 1047
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/src/config/examples/Velleman/K8400/Configuration.h Просмотреть файл

@@ -1010,8 +1010,8 @@
1010 1010
 //#define Z_SAFE_HOMING
1011 1011
 
1012 1012
 #if ENABLED(Z_SAFE_HOMING)
1013
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1014
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1013
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1014
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1015 1015
 #endif
1016 1016
 
1017 1017
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/src/config/examples/Velleman/K8400/Dual-head/Configuration.h Просмотреть файл

@@ -1010,8 +1010,8 @@
1010 1010
 //#define Z_SAFE_HOMING
1011 1011
 
1012 1012
 #if ENABLED(Z_SAFE_HOMING)
1013
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1014
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1013
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1014
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1015 1015
 #endif
1016 1016
 
1017 1017
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/src/config/examples/adafruit/ST7565/Configuration.h Просмотреть файл

@@ -1010,8 +1010,8 @@
1010 1010
 //#define Z_SAFE_HOMING
1011 1011
 
1012 1012
 #if ENABLED(Z_SAFE_HOMING)
1013
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1014
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1013
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1014
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1015 1015
 #endif
1016 1016
 
1017 1017
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration.h Просмотреть файл

@@ -1144,8 +1144,8 @@
1144 1144
 //#define Z_SAFE_HOMING
1145 1145
 
1146 1146
 #if ENABLED(Z_SAFE_HOMING)
1147
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1148
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1147
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1148
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1149 1149
 #endif
1150 1150
 
1151 1151
 // Delta only homes to Z

+ 2
- 2
Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration.h Просмотреть файл

@@ -1138,8 +1138,8 @@
1138 1138
 //#define Z_SAFE_HOMING
1139 1139
 
1140 1140
 #if ENABLED(Z_SAFE_HOMING)
1141
-  #define Z_SAFE_HOMING_X_POINT ((X_MIN_POS + X_MAX_POS) / 2)    // X point for Z homing when homing all axis (G28).
1142
-  #define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2)    // Y point for Z homing when homing all axis (G28).
1141
+  #define Z_SAFE_HOMING_X_POINT ((X_MIN_POS + X_MAX_POS) / 2)    // X point for Z homing when homing all axes (G28).
1142
+  #define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2)    // Y point for Z homing when homing all axes (G28).
1143 1143
 #endif
1144 1144
 
1145 1145
 // Delta only homes to Z

+ 2
- 2
Marlin/src/config/examples/delta/generic/Configuration.h Просмотреть файл

@@ -1133,8 +1133,8 @@
1133 1133
 //#define Z_SAFE_HOMING
1134 1134
 
1135 1135
 #if ENABLED(Z_SAFE_HOMING)
1136
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1137
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1136
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1137
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1138 1138
 #endif
1139 1139
 
1140 1140
 // Delta only homes to Z

+ 2
- 2
Marlin/src/config/examples/delta/kossel_mini/Configuration.h Просмотреть файл

@@ -1136,8 +1136,8 @@
1136 1136
 //#define Z_SAFE_HOMING
1137 1137
 
1138 1138
 #if ENABLED(Z_SAFE_HOMING)
1139
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1140
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1139
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1140
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1141 1141
 #endif
1142 1142
 
1143 1143
 // Delta only homes to Z

+ 2
- 2
Marlin/src/config/examples/delta/kossel_pro/Configuration.h Просмотреть файл

@@ -1136,8 +1136,8 @@
1136 1136
 #define Z_SAFE_HOMING
1137 1137
 
1138 1138
 #if ENABLED(Z_SAFE_HOMING)
1139
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1140
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1139
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1140
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1141 1141
 #endif
1142 1142
 
1143 1143
 // Delta only homes to Z

+ 2
- 2
Marlin/src/config/examples/delta/kossel_xl/Configuration.h Просмотреть файл

@@ -1145,8 +1145,8 @@
1145 1145
 //#define Z_SAFE_HOMING
1146 1146
 
1147 1147
 #if ENABLED(Z_SAFE_HOMING)
1148
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1149
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1148
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1149
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1150 1150
 #endif
1151 1151
 
1152 1152
 // Delta only homes to Z

+ 2
- 2
Marlin/src/config/examples/gCreate/gMax1.5+/Configuration.h Просмотреть файл

@@ -1024,8 +1024,8 @@
1024 1024
 #define Z_SAFE_HOMING
1025 1025
 
1026 1026
 #if ENABLED(Z_SAFE_HOMING)
1027
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2 - 4) // X point for Z homing when homing all axis (G28).
1028
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2 + 4) // Y point for Z homing when homing all axis (G28).
1027
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2 - 4) // X point for Z homing when homing all axes (G28).
1028
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2 + 4) // Y point for Z homing when homing all axes (G28).
1029 1029
 #endif
1030 1030
 
1031 1031
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/src/config/examples/makibox/Configuration.h Просмотреть файл

@@ -1013,8 +1013,8 @@
1013 1013
 //#define Z_SAFE_HOMING
1014 1014
 
1015 1015
 #if ENABLED(Z_SAFE_HOMING)
1016
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1017
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1016
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1017
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1018 1018
 #endif
1019 1019
 
1020 1020
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/src/config/examples/stm32f103ret6/Configuration.h Просмотреть файл

@@ -1013,8 +1013,8 @@
1013 1013
 //#define Z_SAFE_HOMING
1014 1014
 
1015 1015
 #if ENABLED(Z_SAFE_HOMING)
1016
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1017
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1016
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1017
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1018 1018
 #endif
1019 1019
 
1020 1020
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/src/config/examples/tvrrug/Round2/Configuration.h Просмотреть файл

@@ -1005,8 +1005,8 @@
1005 1005
 //#define Z_SAFE_HOMING
1006 1006
 
1007 1007
 #if ENABLED(Z_SAFE_HOMING)
1008
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1009
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1008
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1009
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1010 1010
 #endif
1011 1011
 
1012 1012
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/src/config/examples/wt150/Configuration.h Просмотреть файл

@@ -1015,8 +1015,8 @@
1015 1015
 //#define Z_SAFE_HOMING
1016 1016
 
1017 1017
 #if ENABLED(Z_SAFE_HOMING)
1018
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1019
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1018
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1019
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1020 1020
 #endif
1021 1021
 
1022 1022
 // Homing speeds (mm/m)

+ 23
- 0
Marlin/src/inc/Conditionals_post.h Просмотреть файл

@@ -1162,4 +1162,27 @@
1162 1162
   #define NOT_A_PIN 0 // For PINS_DEBUGGING
1163 1163
 #endif
1164 1164
 
1165
+// Number of VFAT entries used. Each entry has 13 UTF-16 characters
1166
+#if ENABLED(SCROLL_LONG_FILENAMES)
1167
+  #define MAX_VFAT_ENTRIES (5)
1168
+#else
1169
+  #define MAX_VFAT_ENTRIES (2)
1170
+#endif
1171
+
1172
+// Force SDCARD_SORT_ALPHA to be enabled for Graphical LCD on LPC1768
1173
+// because of a bug in the shared SPI implementation. (See #8122)
1174
+#if defined(TARGET_LPC1768) && ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
1175
+  #define SDCARD_SORT_ALPHA         // Keeps one directory level in RAM. Changing
1176
+                                    // directory levels still glitches the screen,
1177
+                                    // but the following LCD update cleans it up.
1178
+  #undef SDSORT_LIMIT
1179
+  #undef SDSORT_USES_RAM
1180
+  #undef SDSORT_USES_STACK
1181
+  #undef SDSORT_CACHE_NAMES
1182
+  #define SDSORT_LIMIT       256    // Maximum number of sorted items (10-256). Costs 27 bytes each.
1183
+  #define SDSORT_USES_RAM    true   // Pre-allocate a static array for faster pre-sorting.
1184
+  #define SDSORT_USES_STACK  false  // Prefer the stack for pre-sorting to give back some SRAM. (Negated by next 2 options.)
1185
+  #define SDSORT_CACHE_NAMES true   // Keep sorted items in RAM longer for speedy performance. Most expensive option.
1186
+#endif
1187
+
1165 1188
 #endif // CONDITIONALS_POST_H

+ 2
- 3
Marlin/src/lcd/ultralcd.cpp Просмотреть файл

@@ -3775,9 +3775,8 @@ void kill_screen(const char* lcd_msg) {
3775 3775
     void lcd_sdcard_menu() {
3776 3776
       ENCODER_DIRECTION_MENUS();
3777 3777
 
3778
-      const uint16_t fileCnt = card.get_num_Files();  // Only access SD card if sort not active
3779
-                                                      // This minimizes garbage on RepRap Discount Full Graphics Smart Controller
3780
-                                                      // when using the Re-ARM card.
3778
+      const uint16_t fileCnt = card.get_num_Files();
3779
+
3781 3780
       START_MENU();
3782 3781
       MENU_BACK(MSG_MAIN);
3783 3782
       card.getWorkDirName();

+ 0
- 19
Marlin/src/pins/pins_AZSMZ_MINI.h Просмотреть файл

@@ -112,25 +112,6 @@
112 112
 #define ENET_TXD0          P1_0
113 113
 #define ENET_TXD1          P1_1
114 114
 
115
-
116
-#if (ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER) && !defined(SDCARD_SORT_ALPHA)) // needed because of shared SPI
117
-  #define SDCARD_SORT_ALPHA         // Using SORT feature to keep one directory level in RAM
118
-                                    // When going up/down directory levels the SD card is
119
-                                    // accessed but the garbage/lines are removed when the
120
-                                    // LCD updates
121
-
122
-  #define SDSORT_LIMIT       256    // Maximum number of sorted items (10-256). Costs 27 bytes each.
123
-  #define FOLDER_SORTING     -1     // -1=above  0=none  1=below
124
-  #define SDSORT_GCODE       false  // Allow turning sorting on/off with LCD and M34 g-code.
125
-  #define SDSORT_USES_RAM    true   // Pre-allocate a static array for faster pre-sorting.
126
-  #define SDSORT_USES_STACK  false  // Prefer the stack for pre-sorting to give back some SRAM. (Negated by next 2 options.)
127
-  #define SDSORT_CACHE_NAMES true   // Keep sorted items in RAM longer for speedy performance. Most expensive option.
128
-  #define SDSORT_DYNAMIC_RAM false  // Use dynamic allocation (within SD menus). Least expensive option. Set SDSORT_LIMIT before use!
129
-  #define SDSORT_CACHE_VFATS 2      // Maximum number of 13-byte VFAT entries to use for sorting.
130
-                                    // Note: Only affects SCROLL_LONG_FILENAMES with SDSORT_CACHE_NAMES but not SDSORT_DYNAMIC_RAM.
131
-  #define MAX_VFAT_ENTRIES SDSORT_CACHE_VFATS
132
-#endif
133
-
134 115
 /**
135 116
  *  PWMs
136 117
  *

+ 0
- 19
Marlin/src/pins/pins_MKS_SBASE.h Просмотреть файл

@@ -174,25 +174,6 @@
174 174
 #define ENET_TXD0          P1_0   // J12-11
175 175
 #define ENET_TXD1          P1_1   // J12-12
176 176
 
177
-
178
-#if (ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER) && !defined(SDCARD_SORT_ALPHA)) // needed because of shared SPI
179
-  #define SDCARD_SORT_ALPHA         // Using SORT feature to keep one directory level in RAM
180
-                                    // When going up/down directory levels the SD card is
181
-                                    // accessed but the garbage/lines are removed when the
182
-                                    // LCD updates
183
-
184
-  #define SDSORT_LIMIT       256    // Maximum number of sorted items (10-256). Costs 27 bytes each.
185
-  #define FOLDER_SORTING     -1     // -1=above  0=none  1=below
186
-  #define SDSORT_GCODE       false  // Allow turning sorting on/off with LCD and M34 g-code.
187
-  #define SDSORT_USES_RAM    true   // Pre-allocate a static array for faster pre-sorting.
188
-  #define SDSORT_USES_STACK  false  // Prefer the stack for pre-sorting to give back some SRAM. (Negated by next 2 options.)
189
-  #define SDSORT_CACHE_NAMES true   // Keep sorted items in RAM longer for speedy performance. Most expensive option.
190
-  #define SDSORT_DYNAMIC_RAM false  // Use dynamic allocation (within SD menus). Least expensive option. Set SDSORT_LIMIT before use!
191
-  #define SDSORT_CACHE_VFATS 2      // Maximum number of 13-byte VFAT entries to use for sorting.
192
-                                    // Note: Only affects SCROLL_LONG_FILENAMES with SDSORT_CACHE_NAMES but not SDSORT_DYNAMIC_RAM.
193
-  #define MAX_VFAT_ENTRIES SDSORT_CACHE_VFATS
194
-#endif
195
-
196 177
 /**
197 178
  *  PWMs
198 179
  *

+ 0
- 18
Marlin/src/pins/pins_RAMPS_RE_ARM.h Просмотреть файл

@@ -259,24 +259,6 @@
259 259
     //#define SHIFT_EN            P1_22  // J5-4 & AUX-4
260 260
   #endif
261 261
 
262
-  #if (ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER) && !defined(SDCARD_SORT_ALPHA)) // needed because of shared SPI
263
-    #define SDCARD_SORT_ALPHA         // Using SORT feature to keep one directory level in RAM
264
-                                      // When going up/down directory levels the SD card is
265
-                                      // accessed but the garbage/lines are removed when the
266
-                                      // LCD updates
267
-
268
-    #define SDSORT_LIMIT       256    // Maximum number of sorted items (10-256). Costs 27 bytes each.
269
-    #define FOLDER_SORTING     -1     // -1=above  0=none  1=below
270
-    #define SDSORT_GCODE       false  // Allow turning sorting on/off with LCD and M34 g-code.
271
-    #define SDSORT_USES_RAM    true   // Pre-allocate a static array for faster pre-sorting.
272
-    #define SDSORT_USES_STACK  false  // Prefer the stack for pre-sorting to give back some SRAM. (Negated by next 2 options.)
273
-    #define SDSORT_CACHE_NAMES true   // Keep sorted items in RAM longer for speedy performance. Most expensive option.
274
-    #define SDSORT_DYNAMIC_RAM false  // Use dynamic allocation (within SD menus). Least expensive option. Set SDSORT_LIMIT before use!
275
-    #define SDSORT_CACHE_VFATS 2      // Maximum number of 13-byte VFAT entries to use for sorting.
276
-                                      // Note: Only affects SCROLL_LONG_FILENAMES with SDSORT_CACHE_NAMES but not SDSORT_DYNAMIC_RAM.
277
-    #define MAX_VFAT_ENTRIES SDSORT_CACHE_VFATS
278
-  #endif
279
-
280 262
   #if ENABLED(VIKI2) || ENABLED(miniVIKI)
281 263
     // #define LCD_SCREEN_ROT_180
282 264
 

+ 0
- 10
Marlin/src/sd/SdFatConfig.h Просмотреть файл

@@ -133,16 +133,6 @@
133 133
 
134 134
 #define FILENAME_LENGTH 13 // Number of UTF-16 characters per entry
135 135
 
136
-// Number of VFAT entries used. Each entry has 13 UTF-16 characters
137
-#ifdef MAX_VFAT_ENTRIES
138
-  #undef MAX_VFAT_ENTRIES
139
-#endif  
140
-#if ENABLED(SCROLL_LONG_FILENAMES)
141
-  #define MAX_VFAT_ENTRIES (5)
142
-#else
143
-  #define MAX_VFAT_ENTRIES (2)
144
-#endif
145
-
146 136
 // Total bytes needed to store a single long filename
147 137
 #define LONG_FILENAME_LENGTH (FILENAME_LENGTH * MAX_VFAT_ENTRIES + 1)
148 138
 

Загрузка…
Отмена
Сохранить