Browse Source

Rename LCD conditionals (#19533)

Scott Lahteine 4 years ago
parent
commit
c2c6a679ea
No account linked to committer's email address
100 changed files with 233 additions and 226 deletions
  1. 5
    5
      Marlin/Configuration_adv.h
  2. 2
    2
      Marlin/src/HAL/AVR/u8g_com_HAL_AVR_sw_spi.cpp
  3. 2
    2
      Marlin/src/HAL/DUE/dogm/u8g_com_HAL_DUE_shared_hw_spi.cpp
  4. 2
    2
      Marlin/src/HAL/DUE/dogm/u8g_com_HAL_DUE_sw_spi.cpp
  5. 2
    2
      Marlin/src/HAL/DUE/dogm/u8g_com_HAL_DUE_sw_spi_shared.cpp
  6. 1
    1
      Marlin/src/HAL/LINUX/spi_pins.h
  7. 1
    1
      Marlin/src/HAL/LPC1768/inc/SanityCheck.h
  8. 1
    1
      Marlin/src/HAL/LPC1768/spi_pins.h
  9. 2
    2
      Marlin/src/HAL/LPC1768/u8g/u8g_com_HAL_LPC1768_hw_spi.cpp
  10. 2
    2
      Marlin/src/HAL/LPC1768/u8g/u8g_com_HAL_LPC1768_ssd_hw_i2c.cpp
  11. 2
    2
      Marlin/src/HAL/LPC1768/u8g/u8g_com_HAL_LPC1768_st7920_hw_spi.cpp
  12. 2
    2
      Marlin/src/HAL/LPC1768/u8g/u8g_com_HAL_LPC1768_sw_spi.cpp
  13. 2
    2
      Marlin/src/HAL/STM32F1/dogm/u8g_com_stm32duino_swspi.cpp
  14. 1
    1
      Marlin/src/HAL/shared/HAL_ST7920.h
  15. 1
    1
      Marlin/src/MarlinCore.cpp
  16. 1
    1
      Marlin/src/core/language.h
  17. 2
    2
      Marlin/src/feature/power_monitor.cpp
  18. 2
    2
      Marlin/src/feature/power_monitor.h
  19. 4
    4
      Marlin/src/gcode/bedlevel/G26.cpp
  20. 2
    2
      Marlin/src/gcode/calibrate/M48.cpp
  21. 1
    1
      Marlin/src/gcode/feature/power_monitor/M430.cpp
  22. 4
    4
      Marlin/src/inc/Conditionals_LCD.h
  23. 6
    6
      Marlin/src/inc/Conditionals_post.h
  24. 10
    10
      Marlin/src/inc/SanityCheck.h
  25. 2
    2
      Marlin/src/lcd/HD44780/lcdprint_hd44780.cpp
  26. 2
    2
      Marlin/src/lcd/HD44780/ultralcd_HD44780.cpp
  27. 2
    2
      Marlin/src/lcd/dogm/lcdprint_u8g.cpp
  28. 2
    2
      Marlin/src/lcd/dogm/status_screen_DOGM.cpp
  29. 2
    2
      Marlin/src/lcd/dogm/u8g_dev_ssd1306_sh1106_128x64_I2C.cpp
  30. 2
    2
      Marlin/src/lcd/dogm/u8g_dev_st7565_64128n_HAL.cpp
  31. 2
    2
      Marlin/src/lcd/dogm/u8g_dev_st7920_128x64_HAL.cpp
  32. 2
    2
      Marlin/src/lcd/dogm/u8g_dev_tft_320x240_upscale_from_128x64.cpp
  33. 2
    2
      Marlin/src/lcd/dogm/u8g_dev_uc1701_mini12864_HAL.cpp
  34. 2
    2
      Marlin/src/lcd/dogm/u8g_fontutf8.cpp
  35. 2
    2
      Marlin/src/lcd/dogm/ultralcd_DOGM.cpp
  36. 1
    1
      Marlin/src/lcd/fontutils.cpp
  37. 2
    2
      Marlin/src/lcd/lcdprint.cpp
  38. 1
    1
      Marlin/src/lcd/lcdprint.h
  39. 2
    2
      Marlin/src/lcd/menu/menu.cpp
  40. 2
    2
      Marlin/src/lcd/menu/menu.h
  41. 6
    2
      Marlin/src/lcd/menu/menu_configuration.cpp
  42. 2
    2
      Marlin/src/lcd/menu/menu_media.cpp
  43. 1
    1
      Marlin/src/lcd/menu/menu_motion.cpp
  44. 4
    4
      Marlin/src/lcd/menu/menu_tune.cpp
  45. 1
    1
      Marlin/src/lcd/touch/touch_buttons.cpp
  46. 14
    14
      Marlin/src/lcd/ultralcd.cpp
  47. 11
    11
      Marlin/src/lcd/ultralcd.h
  48. 2
    2
      Marlin/src/module/endstops.cpp
  49. 8
    8
      Marlin/src/module/planner.cpp
  50. 3
    3
      Marlin/src/module/planner.h
  51. 2
    2
      Marlin/src/pins/esp32/pins_MRR_ESPE.h
  52. 2
    2
      Marlin/src/pins/linux/pins_RAMPS_LINUX.h
  53. 3
    3
      Marlin/src/pins/lpc1768/pins_BIQU_B300_V1.0.h
  54. 3
    3
      Marlin/src/pins/lpc1768/pins_BIQU_BQ111_A4.h
  55. 1
    1
      Marlin/src/pins/lpc1768/pins_BTT_SKR_V1_1.h
  56. 2
    2
      Marlin/src/pins/lpc1768/pins_BTT_SKR_V1_3.h
  57. 3
    3
      Marlin/src/pins/lpc1768/pins_BTT_SKR_V1_4.h
  58. 1
    1
      Marlin/src/pins/lpc1768/pins_BTT_SKR_common.h
  59. 1
    1
      Marlin/src/pins/lpc1768/pins_MKS_SBASE.h
  60. 3
    2
      Marlin/src/pins/lpc1768/pins_MKS_SGEN_L.h
  61. 5
    4
      Marlin/src/pins/lpc1768/pins_RAMPS_RE_ARM.h
  62. 2
    2
      Marlin/src/pins/lpc1769/pins_AZTEEG_X5_MINI.h
  63. 2
    2
      Marlin/src/pins/lpc1769/pins_BTT_SKR_E3_TURBO.h
  64. 2
    2
      Marlin/src/pins/lpc1769/pins_COHESION3D_MINI.h
  65. 2
    2
      Marlin/src/pins/lpc1769/pins_COHESION3D_REMIX.h
  66. 3
    2
      Marlin/src/pins/lpc1769/pins_MKS_SGEN_L_V2.h
  67. 1
    1
      Marlin/src/pins/lpc1769/pins_SMOOTHIEBOARD.h
  68. 1
    1
      Marlin/src/pins/lpc1769/pins_TH3D_EZBOARD.h
  69. 2
    2
      Marlin/src/pins/mega/pins_GT2560_REV_A.h
  70. 2
    2
      Marlin/src/pins/mega/pins_HJC2560C_REV2.h
  71. 1
    1
      Marlin/src/pins/mega/pins_INTAMSYS40.h
  72. 2
    2
      Marlin/src/pins/mega/pins_MEGATRONICS_2.h
  73. 2
    2
      Marlin/src/pins/mega/pins_MIGHTYBOARD_REVE.h
  74. 1
    1
      Marlin/src/pins/mega/pins_OVERLORD.h
  75. 1
    1
      Marlin/src/pins/mega/pins_PICA.h
  76. 1
    1
      Marlin/src/pins/mega/pins_SILVER_GATE.h
  77. 2
    2
      Marlin/src/pins/pins.h
  78. 2
    2
      Marlin/src/pins/rambo/pins_EINSY_RAMBO.h
  79. 2
    2
      Marlin/src/pins/rambo/pins_EINSY_RETRO.h
  80. 2
    2
      Marlin/src/pins/rambo/pins_MINIRAMBO.h
  81. 2
    2
      Marlin/src/pins/rambo/pins_RAMBO.h
  82. 1
    1
      Marlin/src/pins/ramps/pins_3DRAG.h
  83. 1
    1
      Marlin/src/pins/ramps/pins_DUPLICATOR_I3_PLUS.h
  84. 1
    1
      Marlin/src/pins/ramps/pins_FORMBOT_TREX2PLUS.h
  85. 1
    1
      Marlin/src/pins/ramps/pins_FYSETC_F6_13.h
  86. 2
    2
      Marlin/src/pins/ramps/pins_K8800.h
  87. 2
    2
      Marlin/src/pins/ramps/pins_RAMPS.h
  88. 2
    2
      Marlin/src/pins/ramps/pins_TRIGORILLA_14.h
  89. 1
    1
      Marlin/src/pins/ramps/pins_TT_OSCAR.h
  90. 2
    2
      Marlin/src/pins/ramps/pins_ULTIMAKER.h
  91. 2
    2
      Marlin/src/pins/sam/pins_ARCHIM1.h
  92. 1
    1
      Marlin/src/pins/sam/pins_ARCHIM2.h
  93. 2
    2
      Marlin/src/pins/sam/pins_DUE3DOM.h
  94. 2
    2
      Marlin/src/pins/sam/pins_DUE3DOM_MINI.h
  95. 2
    2
      Marlin/src/pins/sam/pins_RADDS.h
  96. 2
    2
      Marlin/src/pins/sam/pins_RAMPS_DUO.h
  97. 2
    2
      Marlin/src/pins/sam/pins_RAMPS_FD_V1.h
  98. 2
    2
      Marlin/src/pins/sam/pins_RURAMPS4D_11.h
  99. 2
    2
      Marlin/src/pins/sam/pins_RURAMPS4D_13.h
  100. 0
    0
      Marlin/src/pins/samd/pins_RAMPS_144.h

+ 5
- 5
Marlin/Configuration_adv.h View File

@@ -1106,18 +1106,18 @@
1106 1106
   #define BOOTSCREEN_TIMEOUT 4000        // (ms) Total Duration to display the boot screen(s)
1107 1107
 #endif
1108 1108
 
1109
-#if EITHER(SDSUPPORT, LCD_SET_PROGRESS_MANUALLY) && (HAS_GRAPHICAL_LCD || HAS_CHARACTER_LCD)
1109
+#if EITHER(SDSUPPORT, LCD_SET_PROGRESS_MANUALLY) && (HAS_MARLINUI_U8GLIB || HAS_MARLINUI_HD44780)
1110 1110
   //#define SHOW_REMAINING_TIME       // Display estimated time to completion
1111 1111
   #if ENABLED(SHOW_REMAINING_TIME)
1112 1112
     //#define USE_M73_REMAINING_TIME  // Use remaining time from M73 command instead of estimation
1113 1113
     //#define ROTATE_PROGRESS_DISPLAY // Display (P)rogress, (E)lapsed, and (R)emaining time
1114 1114
   #endif
1115 1115
 
1116
-  #if HAS_GRAPHICAL_LCD
1116
+  #if HAS_MARLINUI_U8GLIB
1117 1117
     //#define PRINT_PROGRESS_SHOW_DECIMALS // Show progress with decimal digits
1118 1118
   #endif
1119 1119
 
1120
-  #if HAS_CHARACTER_LCD
1120
+  #if HAS_MARLINUI_HD44780
1121 1121
     //#define LCD_PROGRESS_BAR            // Show a progress bar on HD44780 LCDs for SD printing
1122 1122
     #if ENABLED(LCD_PROGRESS_BAR)
1123 1123
       #define PROGRESS_BAR_BAR_TIME 2000  // (ms) Amount of time to show the bar
@@ -1328,7 +1328,7 @@
1328 1328
  * controller events, as there is a trade-off between reliable
1329 1329
  * printing performance versus fast display updates.
1330 1330
  */
1331
-#if HAS_GRAPHICAL_LCD
1331
+#if HAS_MARLINUI_U8GLIB
1332 1332
   // Show SD percentage next to the progress bar
1333 1333
   //#define DOGM_SD_PERCENT
1334 1334
 
@@ -1398,7 +1398,7 @@
1398 1398
   //#define MARLIN_SNAKE
1399 1399
   //#define GAMES_EASTER_EGG          // Add extra blank lines above the "Games" sub-menu
1400 1400
 
1401
-#endif // HAS_GRAPHICAL_LCD
1401
+#endif // HAS_MARLINUI_U8GLIB
1402 1402
 
1403 1403
 //
1404 1404
 // Additional options for DGUS / DWIN displays

+ 2
- 2
Marlin/src/HAL/AVR/u8g_com_HAL_AVR_sw_spi.cpp View File

@@ -57,7 +57,7 @@
57 57
 
58 58
 #include "../../inc/MarlinConfigPre.h"
59 59
 
60
-#if HAS_GRAPHICAL_LCD
60
+#if HAS_MARLINUI_U8GLIB
61 61
 
62 62
 #include "../shared/Marduino.h"
63 63
 #include "../shared/Delay.h"
@@ -189,5 +189,5 @@ uint8_t u8g_com_HAL_AVR_sw_sp_fn(u8g_t *u8g, uint8_t msg, uint8_t arg_val, void
189 189
   return 1;
190 190
 }
191 191
 
192
-#endif // HAS_GRAPHICAL_LCD
192
+#endif // HAS_MARLINUI_U8GLIB
193 193
 #endif // ARDUINO_ARCH_SAM

+ 2
- 2
Marlin/src/HAL/DUE/dogm/u8g_com_HAL_DUE_shared_hw_spi.cpp View File

@@ -59,7 +59,7 @@
59 59
 
60 60
 #include "../../../inc/MarlinConfigPre.h"
61 61
 
62
-#if HAS_GRAPHICAL_LCD
62
+#if HAS_MARLINUI_U8GLIB
63 63
 
64 64
 #include <U8glib.h>
65 65
 
@@ -145,6 +145,6 @@ uint8_t u8g_com_HAL_DUE_shared_hw_spi_fn(u8g_t *u8g, uint8_t msg, uint8_t arg_va
145 145
   return 1;
146 146
 }
147 147
 
148
-#endif // HAS_GRAPHICAL_LCD
148
+#endif // HAS_MARLINUI_U8GLIB
149 149
 
150 150
 #endif // __SAM3X8E__

+ 2
- 2
Marlin/src/HAL/DUE/dogm/u8g_com_HAL_DUE_sw_spi.cpp View File

@@ -57,7 +57,7 @@
57 57
 
58 58
 #include "../../../inc/MarlinConfigPre.h"
59 59
 
60
-#if HAS_GRAPHICAL_LCD && DISABLED(U8GLIB_ST7920)
60
+#if HAS_MARLINUI_U8GLIB && DISABLED(U8GLIB_ST7920)
61 61
 
62 62
 #undef SPI_SPEED
63 63
 #define SPI_SPEED 2  // About 2 MHz
@@ -144,5 +144,5 @@ uint8_t u8g_com_HAL_DUE_sw_spi_fn(u8g_t *u8g, uint8_t msg, uint8_t arg_val, void
144 144
   return 1;
145 145
 }
146 146
 
147
-#endif // HAS_GRAPHICAL_LCD && !U8GLIB_ST7920
147
+#endif // HAS_MARLINUI_U8GLIB && !U8GLIB_ST7920
148 148
 #endif // ARDUINO_ARCH_SAM

+ 2
- 2
Marlin/src/HAL/DUE/dogm/u8g_com_HAL_DUE_sw_spi_shared.cpp View File

@@ -57,7 +57,7 @@
57 57
 
58 58
 #include "../../../inc/MarlinConfigPre.h"
59 59
 
60
-#if HAS_GRAPHICAL_LCD
60
+#if HAS_MARLINUI_U8GLIB
61 61
 
62 62
 #include "../../shared/Delay.h"
63 63
 
@@ -108,5 +108,5 @@ void u8g_spiSend_sw_DUE_mode_3(uint8_t val) { // 3.5MHz
108 108
   }
109 109
 }
110 110
 
111
-#endif // HAS_GRAPHICAL_LCD
111
+#endif // HAS_MARLINUI_U8GLIB
112 112
 #endif // ARDUINO_ARCH_SAM

+ 1
- 1
Marlin/src/HAL/LINUX/spi_pins.h View File

@@ -24,7 +24,7 @@
24 24
 #include "../../core/macros.h"
25 25
 #include "../../inc/MarlinConfigPre.h"
26 26
 
27
-#if BOTH(HAS_GRAPHICAL_LCD, SDSUPPORT) && (LCD_PINS_D4 == SCK_PIN || LCD_PINS_ENABLE == MOSI_PIN || DOGLCD_SCK == SCK_PIN || DOGLCD_MOSI == MOSI_PIN)
27
+#if BOTH(HAS_MARLINUI_U8GLIB, SDSUPPORT) && (LCD_PINS_D4 == SCK_PIN || LCD_PINS_ENABLE == MOSI_PIN || DOGLCD_SCK == SCK_PIN || DOGLCD_MOSI == MOSI_PIN)
28 28
   #define LPC_SOFTWARE_SPI  // If the SD card and LCD adapter share the same SPI pins, then software SPI is currently
29 29
                             // needed due to the speed and mode required for communicating with each device being different.
30 30
                             // This requirement can be removed if the SPI access to these devices is updated to use

+ 1
- 1
Marlin/src/HAL/LPC1768/inc/SanityCheck.h View File

@@ -113,7 +113,7 @@ static_assert(DISABLED(BAUD_RATE_GCODE), "BAUD_RATE_GCODE is not yet supported o
113 113
   #define _IS_RX1_1 IS_RX1
114 114
   #if IS_TX1(TMC_SW_SCK)
115 115
     #error "Serial port pins (1) conflict with other pins!"
116
-  #elif HAS_SPI_LCD
116
+  #elif HAS_WIRED_LCD
117 117
     #if IS_TX1(BTN_EN2) || IS_RX1(BTN_EN1)
118 118
       #error "Serial port pins (1) conflict with Encoder Buttons!"
119 119
     #elif ANY_TX(1, SCK_PIN, LCD_PINS_D4, DOGLCD_SCK, LCD_RESET_PIN, LCD_PINS_RS, SHIFT_CLK) \

+ 1
- 1
Marlin/src/HAL/LPC1768/spi_pins.h View File

@@ -23,7 +23,7 @@
23 23
 
24 24
 #include "../../core/macros.h"
25 25
 
26
-#if BOTH(SDSUPPORT, HAS_GRAPHICAL_LCD) && (LCD_PINS_D4 == SCK_PIN || LCD_PINS_ENABLE == MOSI_PIN || DOGLCD_SCK == SCK_PIN || DOGLCD_MOSI == MOSI_PIN)
26
+#if BOTH(SDSUPPORT, HAS_MARLINUI_U8GLIB) && (LCD_PINS_D4 == SCK_PIN || LCD_PINS_ENABLE == MOSI_PIN || DOGLCD_SCK == SCK_PIN || DOGLCD_MOSI == MOSI_PIN)
27 27
   #define LPC_SOFTWARE_SPI  // If the SD card and LCD adapter share the same SPI pins, then software SPI is currently
28 28
                             // needed due to the speed and mode required for communicating with each device being different.
29 29
                             // This requirement can be removed if the SPI access to these devices is updated to use

+ 2
- 2
Marlin/src/HAL/LPC1768/u8g/u8g_com_HAL_LPC1768_hw_spi.cpp View File

@@ -57,7 +57,7 @@
57 57
 
58 58
 #include "../../../inc/MarlinConfigPre.h"
59 59
 
60
-#if HAS_GRAPHICAL_LCD
60
+#if HAS_MARLINUI_U8GLIB
61 61
 
62 62
 #include <U8glib.h>
63 63
 #include "../../shared/HAL_SPI.h"
@@ -124,6 +124,6 @@ uint8_t u8g_com_HAL_LPC1768_hw_spi_fn(u8g_t *u8g, uint8_t msg, uint8_t arg_val,
124 124
   return 1;
125 125
 }
126 126
 
127
-#endif // HAS_GRAPHICAL_LCD
127
+#endif // HAS_MARLINUI_U8GLIB
128 128
 
129 129
 #endif // TARGET_LPC1768

+ 2
- 2
Marlin/src/HAL/LPC1768/u8g/u8g_com_HAL_LPC1768_ssd_hw_i2c.cpp View File

@@ -77,7 +77,7 @@
77 77
 
78 78
 #include "../../../inc/MarlinConfigPre.h"
79 79
 
80
-#if HAS_GRAPHICAL_LCD
80
+#if HAS_MARLINUI_U8GLIB
81 81
 
82 82
 #include <U8glib.h>
83 83
 
@@ -193,6 +193,6 @@ uint8_t u8g_com_HAL_LPC1768_ssd_hw_i2c_fn(u8g_t *u8g, uint8_t msg, uint8_t arg_v
193 193
   return 1;
194 194
 }
195 195
 
196
-#endif // HAS_GRAPHICAL_LCD
196
+#endif // HAS_MARLINUI_U8GLIB
197 197
 
198 198
 #endif // TARGET_LPC1768

+ 2
- 2
Marlin/src/HAL/LPC1768/u8g/u8g_com_HAL_LPC1768_st7920_hw_spi.cpp View File

@@ -57,7 +57,7 @@
57 57
 
58 58
 #include "../../../inc/MarlinConfigPre.h"
59 59
 
60
-#if HAS_GRAPHICAL_LCD
60
+#if HAS_MARLINUI_U8GLIB
61 61
 
62 62
 #include <U8glib.h>
63 63
 #include "../../shared/HAL_SPI.h"
@@ -133,6 +133,6 @@ uint8_t u8g_com_HAL_LPC1768_ST7920_hw_spi_fn(u8g_t *u8g, uint8_t msg, uint8_t ar
133 133
   return 1;
134 134
 }
135 135
 
136
-#endif // HAS_GRAPHICAL_LCD
136
+#endif // HAS_MARLINUI_U8GLIB
137 137
 
138 138
 #endif // TARGET_LPC1768

+ 2
- 2
Marlin/src/HAL/LPC1768/u8g/u8g_com_HAL_LPC1768_sw_spi.cpp View File

@@ -57,7 +57,7 @@
57 57
 
58 58
 #include "../../../inc/MarlinConfigPre.h"
59 59
 
60
-#if HAS_GRAPHICAL_LCD && DISABLED(U8GLIB_ST7920)
60
+#if HAS_MARLINUI_U8GLIB && DISABLED(U8GLIB_ST7920)
61 61
 
62 62
 #include <SoftwareSPI.h>
63 63
 
@@ -203,5 +203,5 @@ uint8_t u8g_com_HAL_LPC1768_sw_spi_fn(u8g_t *u8g, uint8_t msg, uint8_t arg_val,
203 203
   return 1;
204 204
 }
205 205
 
206
-#endif // HAS_GRAPHICAL_LCD && !U8GLIB_ST7920
206
+#endif // HAS_MARLINUI_U8GLIB && !U8GLIB_ST7920
207 207
 #endif // TARGET_LPC1768

+ 2
- 2
Marlin/src/HAL/STM32F1/dogm/u8g_com_stm32duino_swspi.cpp View File

@@ -20,7 +20,7 @@
20 20
 
21 21
 #include "../../../inc/MarlinConfig.h"
22 22
 
23
-#if BOTH(HAS_GRAPHICAL_LCD, FORCE_SOFT_SPI)
23
+#if BOTH(HAS_MARLINUI_U8GLIB, FORCE_SOFT_SPI)
24 24
 
25 25
 #include "../HAL.h"
26 26
 #include <U8glib.h>
@@ -161,5 +161,5 @@ uint8_t u8g_com_HAL_STM32F1_sw_spi_fn(u8g_t *u8g, uint8_t msg, uint8_t arg_val,
161 161
   return 1;
162 162
 }
163 163
 
164
-#endif // HAS_GRAPHICAL_LCD
164
+#endif // HAS_MARLINUI_U8GLIB
165 165
 #endif // STM32F1

+ 1
- 1
Marlin/src/HAL/shared/HAL_ST7920.h View File

@@ -27,7 +27,7 @@
27 27
  * (bypassing U8G), it will allow the LIGHTWEIGHT_UI to operate.
28 28
  */
29 29
 
30
-#if BOTH(HAS_GRAPHICAL_LCD, LIGHTWEIGHT_UI)
30
+#if BOTH(HAS_MARLINUI_U8GLIB, LIGHTWEIGHT_UI)
31 31
   void ST7920_cs();
32 32
   void ST7920_ncs();
33 33
   void ST7920_set_cmd();

+ 1
- 1
Marlin/src/MarlinCore.cpp View File

@@ -1072,7 +1072,7 @@ void setup() {
1072 1072
     DWIN_UpdateLCD();     // Show bootscreen (first image)
1073 1073
   #else
1074 1074
     SETUP_RUN(ui.init());
1075
-    #if HAS_SPI_LCD && ENABLED(SHOW_BOOTSCREEN)
1075
+    #if HAS_WIRED_LCD && ENABLED(SHOW_BOOTSCREEN)
1076 1076
       SETUP_RUN(ui.show_bootscreen());
1077 1077
     #endif
1078 1078
     SETUP_RUN(ui.reset_status());     // Load welcome message early. (Retained if no errors exist.)

+ 1
- 1
Marlin/src/core/language.h View File

@@ -303,7 +303,7 @@
303 303
 #define LCD_STR_C STR_C
304 304
 #define LCD_STR_E STR_E
305 305
 
306
-#if HAS_CHARACTER_LCD
306
+#if HAS_MARLINUI_HD44780
307 307
 
308 308
   // Custom characters defined in the first 8 characters of the LCD
309 309
   #define LCD_STR_BEDTEMP     "\x00" // Print only as a char. This will have 'unexpected' results when used in a string!

+ 2
- 2
Marlin/src/feature/power_monitor.cpp View File

@@ -44,7 +44,7 @@ uint8_t PowerMonitor::display_item;
44 44
 
45 45
 PowerMonitor power_monitor; // Single instance - this calls the constructor
46 46
 
47
-#if HAS_GRAPHICAL_LCD
47
+#if HAS_MARLINUI_U8GLIB
48 48
 
49 49
   #if ENABLED(POWER_MONITOR_CURRENT)
50 50
     void PowerMonitor::draw_current() {
@@ -70,6 +70,6 @@ PowerMonitor power_monitor; // Single instance - this calls the constructor
70 70
     }
71 71
   #endif
72 72
 
73
-#endif // HAS_GRAPHICAL_LCD
73
+#endif // HAS_MARLINUI_U8GLIB
74 74
 
75 75
 #endif // HAS_POWER_MONITOR

+ 2
- 2
Marlin/src/feature/power_monitor.h View File

@@ -88,8 +88,8 @@ public:
88 88
     FORCE_INLINE static float getPower() { return getAmps() * getVolts(); }
89 89
   #endif
90 90
 
91
-  #if HAS_SPI_LCD
92
-    #if HAS_GRAPHICAL_LCD && DISABLED(LIGHTWEIGHT_UI)
91
+  #if HAS_WIRED_LCD
92
+    #if HAS_MARLINUI_U8GLIB && DISABLED(LIGHTWEIGHT_UI)
93 93
       FORCE_INLINE static bool display_enabled() { return flags != 0x00; }
94 94
     #endif
95 95
     #if ENABLED(POWER_MONITOR_CURRENT)

+ 4
- 4
Marlin/src/gcode/bedlevel/G26.cpp View File

@@ -359,7 +359,7 @@ inline bool turn_on_heaters() {
359 359
   #if HAS_HEATED_BED
360 360
 
361 361
     if (g26_bed_temp > 25) {
362
-      #if HAS_SPI_LCD
362
+      #if HAS_WIRED_LCD
363 363
         ui.set_status_P(GET_TEXT(MSG_G26_HEATING_BED), 99);
364 364
         ui.quick_feedback();
365 365
         TERN_(HAS_LCD_MENU, ui.capture());
@@ -378,7 +378,7 @@ inline bool turn_on_heaters() {
378 378
   #endif // HAS_HEATED_BED
379 379
 
380 380
   // Start heating the active nozzle
381
-  #if HAS_SPI_LCD
381
+  #if HAS_WIRED_LCD
382 382
     ui.set_status_P(GET_TEXT(MSG_G26_HEATING_NOZZLE), 99);
383 383
     ui.quick_feedback();
384 384
   #endif
@@ -391,7 +391,7 @@ inline bool turn_on_heaters() {
391 391
     #endif
392 392
   )) return G26_ERR;
393 393
 
394
-  #if HAS_SPI_LCD
394
+  #if HAS_WIRED_LCD
395 395
     ui.reset_status();
396 396
     ui.quick_feedback();
397 397
   #endif
@@ -446,7 +446,7 @@ inline bool prime_nozzle() {
446 446
     else
447 447
   #endif
448 448
   {
449
-    #if HAS_SPI_LCD
449
+    #if HAS_WIRED_LCD
450 450
       ui.set_status_P(GET_TEXT(MSG_G26_FIXED_LENGTH), 99);
451 451
       ui.quick_feedback();
452 452
     #endif

+ 2
- 2
Marlin/src/gcode/calibrate/M48.cpp View File

@@ -144,7 +144,7 @@ void GcodeSuite::M48() {
144 144
     float sample_sum = 0.0;
145 145
 
146 146
     LOOP_L_N(n, n_samples) {
147
-      #if HAS_SPI_LCD
147
+      #if HAS_WIRED_LCD
148 148
         // Display M48 progress in the status bar
149 149
         ui.status_printf_P(0, PSTR(S_FMT ": %d/%d"), GET_TEXT(MSG_M48_POINT), int(n + 1), int(n_samples));
150 150
       #endif
@@ -258,7 +258,7 @@ void GcodeSuite::M48() {
258 258
     SERIAL_ECHOLNPGM("Finished!");
259 259
     dev_report(verbose_level > 0, mean, sigma, min, max, true);
260 260
 
261
-    #if HAS_SPI_LCD
261
+    #if HAS_WIRED_LCD
262 262
       // Display M48 results in the status bar
263 263
       char sigma_str[8];
264 264
       ui.status_printf_P(0, PSTR(S_FMT ": %s"), GET_TEXT(MSG_M48_DEVIATION), dtostrf(sigma, 2, 6, sigma_str));

+ 1
- 1
Marlin/src/gcode/feature/power_monitor/M430.cpp View File

@@ -38,7 +38,7 @@
38 38
  */
39 39
 void GcodeSuite::M430() {
40 40
   bool do_report = true;
41
-  #if HAS_SPI_LCD
41
+  #if HAS_WIRED_LCD
42 42
     #if ENABLED(POWER_MONITOR_CURRENT)
43 43
       if (parser.seen('I')) { power_monitor.set_current_display(parser.value_bool()); do_report = false; }
44 44
     #endif

+ 4
- 4
Marlin/src/inc/Conditionals_LCD.h View File

@@ -456,11 +456,11 @@
456 456
 #endif
457 457
 
458 458
 #if ENABLED(ULTRA_LCD)
459
-  #define HAS_SPI_LCD 1
459
+  #define HAS_WIRED_LCD 1
460 460
   #if ENABLED(DOGLCD)
461
-    #define HAS_GRAPHICAL_LCD 1
461
+    #define HAS_MARLINUI_U8GLIB 1
462 462
   #elif DISABLED(HAS_GRAPHICAL_TFT)
463
-    #define HAS_CHARACTER_LCD 1
463
+    #define HAS_MARLINUI_HD44780 1
464 464
   #endif
465 465
 #endif
466 466
 
@@ -471,7 +471,7 @@
471 471
   #define HAS_ADC_BUTTONS 1
472 472
 #endif
473 473
 
474
-#if HAS_GRAPHICAL_LCD
474
+#if HAS_MARLINUI_U8GLIB
475 475
   #ifndef LCD_PIXEL_WIDTH
476 476
     #define LCD_PIXEL_WIDTH 128
477 477
   #endif

+ 6
- 6
Marlin/src/inc/Conditionals_post.h View File

@@ -313,7 +313,7 @@
313 313
 #elif ENABLED(MAKRPANEL)
314 314
   #define _LCD_CONTRAST_INIT  17
315 315
 #elif ENABLED(MINIPANEL)
316
-  #define _LCD_CONTRAST_INIT  150
316
+  #define _LCD_CONTRAST_INIT 150
317 317
 #elif ENABLED(ZONESTAR_12864OLED)
318 318
   #define _LCD_CONTRAST_MIN   64
319 319
   #define _LCD_CONTRAST_INIT 128
@@ -2455,7 +2455,7 @@
2455 2455
  */
2456 2456
 #if PIN_EXISTS(BEEPER) || EITHER(LCD_USE_I2C_BUZZER, PCA9632_BUZZER)
2457 2457
   #define HAS_BUZZER 1
2458
-  #if NONE(LCD_USE_I2C_BUZZER, PCA9632_BUZZER)
2458
+  #if PIN_EXISTS(BEEPER)
2459 2459
     #define USE_BEEPER 1
2460 2460
   #endif
2461 2461
 #endif
@@ -2483,7 +2483,7 @@
2483 2483
 /**
2484 2484
  * Make sure DOGLCD_SCK and DOGLCD_MOSI are defined.
2485 2485
  */
2486
-#if HAS_GRAPHICAL_LCD
2486
+#if HAS_MARLINUI_U8GLIB
2487 2487
   #ifndef DOGLCD_SCK
2488 2488
     #define DOGLCD_SCK  SCK_PIN
2489 2489
   #endif
@@ -2604,17 +2604,17 @@
2604 2604
   #define HAS_FOLDER_SORTING 1
2605 2605
 #endif
2606 2606
 
2607
-#if HAS_SPI_LCD
2607
+#if HAS_WIRED_LCD
2608 2608
   // Get LCD character width/height, which may be overridden by pins, configs, etc.
2609 2609
   #ifndef LCD_WIDTH
2610
-    #if HAS_GRAPHICAL_LCD
2610
+    #if HAS_MARLINUI_U8GLIB
2611 2611
       #define LCD_WIDTH 21
2612 2612
     #else
2613 2613
       #define LCD_WIDTH TERN(ULTIPANEL, 20, 16)
2614 2614
     #endif
2615 2615
   #endif
2616 2616
   #ifndef LCD_HEIGHT
2617
-    #if HAS_GRAPHICAL_LCD
2617
+    #if HAS_MARLINUI_U8GLIB
2618 2618
       #define LCD_HEIGHT 5
2619 2619
     #else
2620 2620
       #define LCD_HEIGHT TERN(ULTIPANEL, 4, 2)

+ 10
- 10
Marlin/src/inc/SanityCheck.h View File

@@ -680,7 +680,7 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
680 680
  * LCD Info Screen Style
681 681
  */
682 682
 #if LCD_INFO_SCREEN_STYLE > 0
683
-  #if HAS_GRAPHICAL_LCD || LCD_WIDTH < 20 || LCD_HEIGHT < 4
683
+  #if HAS_MARLINUI_U8GLIB || LCD_WIDTH < 20 || LCD_HEIGHT < 4
684 684
     #error "Alternative LCD_INFO_SCREEN_STYLE requires 20x4 Character LCD."
685 685
   #elif LCD_INFO_SCREEN_STYLE > 1
686 686
     #error "LCD_INFO_SCREEN_STYLE only has options 0 and 1 at this time."
@@ -693,16 +693,16 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
693 693
 #if ENABLED(LCD_PROGRESS_BAR)
694 694
   #if NONE(SDSUPPORT, LCD_SET_PROGRESS_MANUALLY)
695 695
     #error "LCD_PROGRESS_BAR requires SDSUPPORT or LCD_SET_PROGRESS_MANUALLY."
696
-  #elif !HAS_CHARACTER_LCD
696
+  #elif !HAS_MARLINUI_HD44780
697 697
     #error "LCD_PROGRESS_BAR requires a character LCD."
698
-  #elif HAS_GRAPHICAL_LCD
698
+  #elif HAS_MARLINUI_U8GLIB
699 699
     #error "LCD_PROGRESS_BAR does not apply to graphical displays."
700 700
   #elif ENABLED(FILAMENT_LCD_DISPLAY)
701 701
     #error "LCD_PROGRESS_BAR and FILAMENT_LCD_DISPLAY are not fully compatible. Comment out this line to use both."
702 702
   #elif PROGRESS_MSG_EXPIRE < 0
703 703
     #error "PROGRESS_MSG_EXPIRE must be greater than or equal to 0."
704 704
   #endif
705
-#elif ENABLED(LCD_SET_PROGRESS_MANUALLY) && NONE(HAS_GRAPHICAL_LCD, HAS_GRAPHICAL_TFT, HAS_CHARACTER_LCD, EXTENSIBLE_UI)
705
+#elif ENABLED(LCD_SET_PROGRESS_MANUALLY) && NONE(HAS_MARLINUI_U8GLIB, HAS_GRAPHICAL_TFT, HAS_MARLINUI_HD44780, EXTENSIBLE_UI)
706 706
   #error "LCD_SET_PROGRESS_MANUALLY requires LCD_PROGRESS_BAR, Character LCD, Graphical LCD, TFT, or EXTENSIBLE_UI."
707 707
 #endif
708 708
 
@@ -713,9 +713,9 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
713 713
 /**
714 714
  * Custom Boot and Status screens
715 715
  */
716
-#if ENABLED(SHOW_CUSTOM_BOOTSCREEN) && NONE(HAS_GRAPHICAL_LCD, TOUCH_UI_FTDI_EVE)
716
+#if ENABLED(SHOW_CUSTOM_BOOTSCREEN) && NONE(HAS_MARLINUI_U8GLIB, TOUCH_UI_FTDI_EVE)
717 717
   #error "SHOW_CUSTOM_BOOTSCREEN requires Graphical LCD or TOUCH_UI_FTDI_EVE."
718
-#elif ENABLED(CUSTOM_STATUS_SCREEN_IMAGE) && !HAS_GRAPHICAL_LCD
718
+#elif ENABLED(CUSTOM_STATUS_SCREEN_IMAGE) && !HAS_MARLINUI_U8GLIB
719 719
   #error "CUSTOM_STATUS_SCREEN_IMAGE requires a Graphical LCD."
720 720
 #endif
721 721
 
@@ -782,7 +782,7 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
782 782
     #error "MESH_BED_LEVELING and BABYSTEP_ZPROBE_OFFSET is not a valid combination"
783 783
   #elif ENABLED(BABYSTEP_ZPROBE_OFFSET) && !HAS_BED_PROBE
784 784
     #error "BABYSTEP_ZPROBE_OFFSET requires a probe."
785
-  #elif ENABLED(BABYSTEP_ZPROBE_GFX_OVERLAY) && !HAS_GRAPHICAL_LCD
785
+  #elif ENABLED(BABYSTEP_ZPROBE_GFX_OVERLAY) && !HAS_MARLINUI_U8GLIB
786 786
     #error "BABYSTEP_ZPROBE_GFX_OVERLAY requires a Graphical LCD."
787 787
   #elif ENABLED(BABYSTEP_ZPROBE_GFX_OVERLAY) && DISABLED(BABYSTEP_ZPROBE_OFFSET)
788 788
     #error "BABYSTEP_ZPROBE_GFX_OVERLAY requires a BABYSTEP_ZPROBE_OFFSET."
@@ -1143,7 +1143,7 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
1143 1143
 /**
1144 1144
  * Required LCD language
1145 1145
  */
1146
-#if HAS_CHARACTER_LCD && !defined(DISPLAY_CHARSET_HD44780)
1146
+#if HAS_MARLINUI_HD44780 && !defined(DISPLAY_CHARSET_HD44780)
1147 1147
   #error "You must set DISPLAY_CHARSET_HD44780 to JAPANESE, WESTERN or CYRILLIC for your LCD controller."
1148 1148
 #endif
1149 1149
 
@@ -1465,7 +1465,7 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
1465 1465
   #endif
1466 1466
 #endif
1467 1467
 
1468
-#if ENABLED(MESH_EDIT_GFX_OVERLAY) && !BOTH(AUTO_BED_LEVELING_UBL, HAS_GRAPHICAL_LCD)
1468
+#if ENABLED(MESH_EDIT_GFX_OVERLAY) && !BOTH(AUTO_BED_LEVELING_UBL, HAS_MARLINUI_U8GLIB)
1469 1469
   #error "MESH_EDIT_GFX_OVERLAY requires AUTO_BED_LEVELING_UBL and a Graphical LCD."
1470 1470
 #endif
1471 1471
 
@@ -3081,7 +3081,7 @@ static_assert(   _ARR_TEST(3,0) && _ARR_TEST(3,1) && _ARR_TEST(3,2)
3081 3081
   #undef _PIN_CONFLICT
3082 3082
 #endif
3083 3083
 
3084
-#if !HAS_GRAPHICAL_LCD
3084
+#if !HAS_MARLINUI_U8GLIB
3085 3085
   #if ENABLED(PRINT_PROGRESS_SHOW_DECIMALS)
3086 3086
     #error "PRINT_PROGRESS_SHOW_DECIMALS currently requires a Graphical LCD."
3087 3087
   #endif

+ 2
- 2
Marlin/src/lcd/HD44780/lcdprint_hd44780.cpp View File

@@ -14,7 +14,7 @@
14 14
 
15 15
 #include "../../inc/MarlinConfigPre.h"
16 16
 
17
-#if HAS_CHARACTER_LCD
17
+#if HAS_MARLINUI_HD44780
18 18
 
19 19
 #include "../ultralcd.h"
20 20
 #include "../../MarlinCore.h"
@@ -1119,4 +1119,4 @@ int lcd_put_u8str_max_P(PGM_P utf8_str_P, pixel_len_t max_length) {
1119 1119
 
1120 1120
 #endif // DEBUG_LCDPRINT
1121 1121
 
1122
-#endif // HAS_CHARACTER_LCD
1122
+#endif // HAS_MARLINUI_HD44780

+ 2
- 2
Marlin/src/lcd/HD44780/ultralcd_HD44780.cpp View File

@@ -22,7 +22,7 @@
22 22
 
23 23
 #include "../../inc/MarlinConfigPre.h"
24 24
 
25
-#if HAS_CHARACTER_LCD
25
+#if HAS_MARLINUI_HD44780
26 26
 
27 27
 /**
28 28
  * ultralcd_HD44780.cpp
@@ -1517,4 +1517,4 @@ void MarlinUI::draw_status_screen() {
1517 1517
 
1518 1518
 #endif // HAS_LCD_MENU
1519 1519
 
1520
-#endif // HAS_CHARACTER_LCD
1520
+#endif // HAS_MARLINUI_HD44780

+ 2
- 2
Marlin/src/lcd/dogm/lcdprint_u8g.cpp View File

@@ -9,7 +9,7 @@
9 9
 
10 10
 #include "../../inc/MarlinConfigPre.h"
11 11
 
12
-#if HAS_GRAPHICAL_LCD
12
+#if HAS_MARLINUI_U8GLIB
13 13
 
14 14
 #include "ultralcd_DOGM.h"
15 15
 
@@ -53,4 +53,4 @@ int lcd_put_u8str_max_P(PGM_P utf8_str_P, pixel_len_t max_length) {
53 53
   return ret;
54 54
 }
55 55
 
56
-#endif // HAS_GRAPHICAL_LCD
56
+#endif // HAS_MARLINUI_U8GLIB

+ 2
- 2
Marlin/src/lcd/dogm/status_screen_DOGM.cpp View File

@@ -27,7 +27,7 @@
27 27
 
28 28
 #include "../../inc/MarlinConfigPre.h"
29 29
 
30
-#if HAS_GRAPHICAL_LCD && DISABLED(LIGHTWEIGHT_UI)
30
+#if HAS_MARLINUI_U8GLIB && DISABLED(LIGHTWEIGHT_UI)
31 31
 
32 32
 #include "dogm_Statusscreen.h"
33 33
 #include "ultralcd_DOGM.h"
@@ -913,4 +913,4 @@ void MarlinUI::draw_status_message(const bool blink) {
913 913
   #endif
914 914
 }
915 915
 
916
-#endif // HAS_GRAPHICAL_LCD && !LIGHTWEIGHT_UI
916
+#endif // HAS_MARLINUI_U8GLIB && !LIGHTWEIGHT_UI

+ 2
- 2
Marlin/src/lcd/dogm/u8g_dev_ssd1306_sh1106_128x64_I2C.cpp View File

@@ -67,7 +67,7 @@
67 67
 
68 68
 #include "../../inc/MarlinConfigPre.h"
69 69
 
70
-#if HAS_GRAPHICAL_LCD
70
+#if HAS_MARLINUI_U8GLIB
71 71
 
72 72
 #include "HAL_LCD_com_defines.h"
73 73
 
@@ -300,4 +300,4 @@ uint8_t u8g_WriteEscSeqP_2_wire(u8g_t *u8g, u8g_dev_t *dev, const uint8_t *esc_s
300 300
   return 1;
301 301
 }
302 302
 
303
-#endif // HAS_GRAPHICAL_LCD
303
+#endif // HAS_MARLINUI_U8GLIB

+ 2
- 2
Marlin/src/lcd/dogm/u8g_dev_st7565_64128n_HAL.cpp View File

@@ -55,7 +55,7 @@
55 55
 
56 56
 #include "../../inc/MarlinConfig.h"
57 57
 
58
-#if HAS_GRAPHICAL_LCD
58
+#if HAS_MARLINUI_U8GLIB
59 59
 
60 60
 #include <U8glib.h>
61 61
 #include "HAL_LCD_com_defines.h"
@@ -233,4 +233,4 @@ u8g_dev_t u8g_dev_st7565_64128n_HAL_2x_sw_spi = { u8g_dev_st7565_64128n_HAL_2x_f
233 233
 U8G_PB_DEV(u8g_dev_st7565_64128n_HAL_hw_spi, WIDTH, HEIGHT, PAGE_HEIGHT, u8g_dev_st7565_64128n_HAL_fn, U8G_COM_HAL_HW_SPI_FN);
234 234
 u8g_dev_t u8g_dev_st7565_64128n_HAL_2x_hw_spi = { u8g_dev_st7565_64128n_HAL_2x_fn, &u8g_dev_st7565_64128n_HAL_2x_pb, U8G_COM_HAL_HW_SPI_FN };
235 235
 
236
-#endif // HAS_GRAPHICAL_LCD
236
+#endif // HAS_MARLINUI_U8GLIB

+ 2
- 2
Marlin/src/lcd/dogm/u8g_dev_st7920_128x64_HAL.cpp View File

@@ -55,7 +55,7 @@
55 55
 
56 56
 #include "../../inc/MarlinConfigPre.h"
57 57
 
58
-#if HAS_GRAPHICAL_LCD
58
+#if HAS_MARLINUI_U8GLIB
59 59
 
60 60
 #include "HAL_LCD_com_defines.h"
61 61
 
@@ -205,4 +205,4 @@ u8g_dev_t u8g_dev_st7920_128x64_HAL_4x_hw_spi = { u8g_dev_st7920_128x64_HAL_4x_f
205 205
   u8g_dev_t u8g_dev_st7920_128x64_rrd_sw_spi = { u8g_dev_st7920_128x64_HAL_4x_fn, &u8g_dev_st7920_128x64_HAL_4x_pb, U8G_COM_ST7920_HAL_SW_SPI };
206 206
 #endif
207 207
 
208
-#endif // HAS_GRAPHICAL_LCD
208
+#endif // HAS_MARLINUI_U8GLIB

+ 2
- 2
Marlin/src/lcd/dogm/u8g_dev_tft_320x240_upscale_from_128x64.cpp View File

@@ -56,7 +56,7 @@
56 56
 
57 57
 #include "../../inc/MarlinConfig.h"
58 58
 
59
-#if HAS_GRAPHICAL_LCD && (PIN_EXISTS(FSMC_CS) || ENABLED(SPI_GRAPHICAL_TFT))
59
+#if HAS_MARLINUI_U8GLIB && (PIN_EXISTS(FSMC_CS) || ENABLED(SPI_GRAPHICAL_TFT))
60 60
 
61 61
 #include "HAL_LCD_com_defines.h"
62 62
 #include "ultralcd_DOGM.h"
@@ -813,4 +813,4 @@ uint8_t u8g_com_hal_tft_fn(u8g_t *u8g, uint8_t msg, uint8_t arg_val, void *arg_p
813 813
 
814 814
 U8G_PB_DEV(u8g_dev_tft_320x240_upscale_from_128x64, WIDTH, HEIGHT, PAGE_HEIGHT, u8g_dev_tft_320x240_upscale_from_128x64_fn, U8G_COM_HAL_TFT_FN);
815 815
 
816
-#endif // HAS_GRAPHICAL_LCD && FSMC_CS
816
+#endif // HAS_MARLINUI_U8GLIB && FSMC_CS

+ 2
- 2
Marlin/src/lcd/dogm/u8g_dev_uc1701_mini12864_HAL.cpp View File

@@ -55,7 +55,7 @@
55 55
 
56 56
 #include "../../inc/MarlinConfigPre.h"
57 57
 
58
-#if HAS_GRAPHICAL_LCD
58
+#if HAS_MARLINUI_U8GLIB
59 59
 
60 60
 #include "HAL_LCD_com_defines.h"
61 61
 
@@ -210,4 +210,4 @@ u8g_pb_t u8g_dev_uc1701_mini12864_HAL_2x_pb = { {16, HEIGHT, 0, 0, 0},  WIDTH, u
210 210
 u8g_dev_t u8g_dev_uc1701_mini12864_HAL_2x_sw_spi = { u8g_dev_uc1701_mini12864_HAL_2x_fn, &u8g_dev_uc1701_mini12864_HAL_2x_pb, U8G_COM_HAL_SW_SPI_FN };
211 211
 u8g_dev_t u8g_dev_uc1701_mini12864_HAL_2x_hw_spi = { u8g_dev_uc1701_mini12864_HAL_2x_fn, &u8g_dev_uc1701_mini12864_HAL_2x_pb, U8G_COM_HAL_HW_SPI_FN };
212 212
 
213
-#endif // HAS_GRAPHICAL_LCD
213
+#endif // HAS_MARLINUI_U8GLIB

+ 2
- 2
Marlin/src/lcd/dogm/u8g_fontutf8.cpp View File

@@ -9,7 +9,7 @@
9 9
 
10 10
 #include "../../inc/MarlinConfigPre.h"
11 11
 
12
-#if HAS_GRAPHICAL_LCD
12
+#if HAS_MARLINUI_U8GLIB
13 13
 
14 14
 #include <string.h>
15 15
 #include "../fontutils.h"
@@ -312,4 +312,4 @@ int uxg_GetUtf8StrPixelWidthP(u8g_t *pu8g, PGM_P utf8_msg) {
312 312
   return data.adv;
313 313
 }
314 314
 
315
-#endif // HAS_GRAPHICAL_LCD
315
+#endif // HAS_MARLINUI_U8GLIB

+ 2
- 2
Marlin/src/lcd/dogm/ultralcd_DOGM.cpp View File

@@ -37,7 +37,7 @@
37 37
 
38 38
 #include "../../inc/MarlinConfigPre.h"
39 39
 
40
-#if HAS_GRAPHICAL_LCD
40
+#if HAS_MARLINUI_U8GLIB
41 41
 
42 42
 #include "ultralcd_DOGM.h"
43 43
 #include "u8g_fontutf8.h"
@@ -687,4 +687,4 @@ void MarlinUI::clear_lcd() { } // Automatically cleared by Picture Loop
687 687
 
688 688
 #endif // HAS_LCD_MENU
689 689
 
690
-#endif // HAS_GRAPHICAL_LCD
690
+#endif // HAS_MARLINUI_U8GLIB

+ 1
- 1
Marlin/src/lcd/fontutils.cpp View File

@@ -9,7 +9,7 @@
9 9
 
10 10
 #include "../inc/MarlinConfig.h"
11 11
 
12
-#if HAS_SPI_LCD
12
+#if HAS_WIRED_LCD
13 13
   #include "ultralcd.h"
14 14
   #include "../MarlinCore.h"
15 15
 #endif

+ 2
- 2
Marlin/src/lcd/lcdprint.cpp View File

@@ -26,7 +26,7 @@
26 26
 
27 27
 #include "../inc/MarlinConfigPre.h"
28 28
 
29
-#if HAS_SPI_LCD
29
+#if HAS_WIRED_LCD
30 30
 
31 31
 #include "lcdprint.h"
32 32
 
@@ -73,4 +73,4 @@ lcd_uint_t lcd_put_u8str_ind_P(PGM_P const pstr, const int8_t ind, PGM_P const i
73 73
   return n;
74 74
 }
75 75
 
76
-#endif // HAS_SPI_LCD
76
+#endif // HAS_WIRED_LCD

+ 1
- 1
Marlin/src/lcd/lcdprint.h View File

@@ -34,7 +34,7 @@
34 34
 
35 35
 #include "../inc/MarlinConfig.h"
36 36
 
37
-#if HAS_GRAPHICAL_LCD
37
+#if HAS_MARLINUI_U8GLIB
38 38
 
39 39
   #include "dogm/u8g_fontutf8.h"
40 40
   typedef u8g_uint_t lcd_uint_t;

+ 2
- 2
Marlin/src/lcd/menu/menu.cpp View File

@@ -213,14 +213,14 @@ void MarlinUI::goto_screen(screenFunc_t screen, const uint16_t encoder/*=0*/, co
213 213
     clear_lcd();
214 214
 
215 215
     // Re-initialize custom characters that may be re-used
216
-    #if HAS_CHARACTER_LCD
216
+    #if HAS_MARLINUI_HD44780
217 217
       if (TERN1(AUTO_BED_LEVELING_UBL, !ubl.lcd_map_control))
218 218
         set_custom_characters(on_status_screen() ? CHARSET_INFO : CHARSET_MENU);
219 219
     #endif
220 220
 
221 221
     refresh(LCDVIEW_CALL_REDRAW_NEXT);
222 222
     screen_changed = true;
223
-    TERN_(HAS_GRAPHICAL_LCD, drawing_screen = false);
223
+    TERN_(HAS_MARLINUI_U8GLIB, drawing_screen = false);
224 224
 
225 225
     TERN_(HAS_LCD_MENU, encoder_direction_normal());
226 226
 

+ 2
- 2
Marlin/src/lcd/menu/menu.h View File

@@ -39,7 +39,7 @@ typedef void (*selectFunc_t)();
39 39
 #define SS_INVERT  0x02
40 40
 #define SS_DEFAULT SS_CENTER
41 41
 
42
-#if HAS_GRAPHICAL_LCD && EITHER(BABYSTEP_ZPROBE_GFX_OVERLAY, MESH_EDIT_GFX_OVERLAY)
42
+#if HAS_MARLINUI_U8GLIB && EITHER(BABYSTEP_ZPROBE_GFX_OVERLAY, MESH_EDIT_GFX_OVERLAY)
43 43
   void _lcd_zoffset_overlay_gfx(const float zvalue);
44 44
 #endif
45 45
 
@@ -215,7 +215,7 @@ void _lcd_draw_homing();
215 215
   void line_to_z(const float &z);
216 216
 #endif
217 217
 
218
-#if HAS_GRAPHICAL_LCD && EITHER(BABYSTEP_ZPROBE_GFX_OVERLAY, MESH_EDIT_GFX_OVERLAY)
218
+#if HAS_MARLINUI_U8GLIB && EITHER(BABYSTEP_ZPROBE_GFX_OVERLAY, MESH_EDIT_GFX_OVERLAY)
219 219
   void _lcd_zoffset_overlay_gfx(const float zvalue);
220 220
 #endif
221 221
 

+ 6
- 2
Marlin/src/lcd/menu/menu_configuration.cpp View File

@@ -60,7 +60,9 @@ void menu_advanced_settings();
60 60
     static int8_t bar_percent = 0;
61 61
     if (ui.use_click()) {
62 62
       ui.goto_previous_screen();
63
-      ui.set_custom_characters(CHARSET_MENU);
63
+      #if HAS_MARLINUI_HD44780
64
+        ui.set_custom_characters(CHARSET_MENU);
65
+      #endif
64 66
       return;
65 67
     }
66 68
     bar_percent += (int8_t)ui.encoderPosition;
@@ -73,7 +75,9 @@ void menu_advanced_settings();
73 75
 
74 76
   void _progress_bar_test() {
75 77
     ui.goto_screen(progress_bar_test);
76
-    ui.set_custom_characters(CHARSET_INFO);
78
+    #if HAS_MARLINUI_HD44780
79
+      ui.set_custom_characters(CHARSET_INFO);
80
+    #endif
77 81
   }
78 82
 
79 83
 #endif // LCD_PROGRESS_BAR_TEST

+ 2
- 2
Marlin/src/lcd/menu/menu_media.cpp View File

@@ -99,7 +99,7 @@ class MenuItem_sdfolder : public MenuItem_sdbase {
99 99
       encoderTopLine = 0;
100 100
       ui.encoderPosition = 2 * (ENCODER_STEPS_PER_MENU_ITEM);
101 101
       ui.screen_changed = true;
102
-      TERN_(HAS_GRAPHICAL_LCD, ui.drawing_screen = false);
102
+      TERN_(HAS_MARLINUI_U8GLIB, ui.drawing_screen = false);
103 103
       ui.refresh();
104 104
     }
105 105
 };
@@ -107,7 +107,7 @@ class MenuItem_sdfolder : public MenuItem_sdbase {
107 107
 void menu_media() {
108 108
   ui.encoder_direction_menus();
109 109
 
110
-  #if HAS_GRAPHICAL_LCD
110
+  #if HAS_MARLINUI_U8GLIB
111 111
     static uint16_t fileCnt;
112 112
     if (ui.first_page) fileCnt = card.get_num_Files();
113 113
   #else

+ 1
- 1
Marlin/src/lcd/menu/menu_motion.cpp View File

@@ -205,7 +205,7 @@ void _menu_move_distance(const AxisEnum axis, const screenFunc_t func, const int
205 205
       #if DISABLED(HAS_GRAPHICAL_TFT)
206 206
         extern const char NUL_STR[];
207 207
         SUBMENU_P(NUL_STR, []{ _goto_manual_move(float(SHORT_MANUAL_Z_MOVE)); });
208
-        MENU_ITEM_ADDON_START(0 + ENABLED(HAS_CHARACTER_LCD));
208
+        MENU_ITEM_ADDON_START(0 + ENABLED(HAS_MARLINUI_HD44780));
209 209
         lcd_put_u8str(tmp);
210 210
         MENU_ITEM_ADDON_END();
211 211
       #else

+ 4
- 4
Marlin/src/lcd/menu/menu_tune.cpp View File

@@ -46,7 +46,7 @@
46 46
 
47 47
   #include "../../feature/babystep.h"
48 48
   #include "../lcdprint.h"
49
-  #if HAS_GRAPHICAL_LCD
49
+  #if HAS_MARLINUI_U8GLIB
50 50
     #include "../dogm/ultralcd_DOGM.h"
51 51
   #endif
52 52
 
@@ -68,10 +68,10 @@
68 68
       const float spm = planner.steps_to_mm[axis];
69 69
       MenuEditItemBase::draw_edit_screen(msg, BABYSTEP_TO_STR(spm * babystep.accum));
70 70
       #if ENABLED(BABYSTEP_DISPLAY_TOTAL)
71
-        const bool in_view = TERN1(HAS_GRAPHICAL_LCD, PAGE_CONTAINS(LCD_PIXEL_HEIGHT - MENU_FONT_HEIGHT, LCD_PIXEL_HEIGHT - 1));
71
+        const bool in_view = TERN1(HAS_MARLINUI_U8GLIB, PAGE_CONTAINS(LCD_PIXEL_HEIGHT - MENU_FONT_HEIGHT, LCD_PIXEL_HEIGHT - 1));
72 72
         if (in_view) {
73
-          TERN_(HAS_GRAPHICAL_LCD, ui.set_font(FONT_MENU));
74
-          lcd_moveto(0, TERN(HAS_GRAPHICAL_LCD, LCD_PIXEL_HEIGHT - MENU_FONT_DESCENT, LCD_HEIGHT - 1));
73
+          TERN_(HAS_MARLINUI_U8GLIB, ui.set_font(FONT_MENU));
74
+          lcd_moveto(0, TERN(HAS_MARLINUI_U8GLIB, LCD_PIXEL_HEIGHT - MENU_FONT_DESCENT, LCD_HEIGHT - 1));
75 75
           lcd_put_u8str_P(GET_TEXT(MSG_BABYSTEP_TOTAL));
76 76
           lcd_put_wchar(':');
77 77
           lcd_put_u8str(BABYSTEP_TO_STR(spm * babystep.axis_total[BS_TOTAL_IND(axis)]));

+ 1
- 1
Marlin/src/lcd/touch/touch_buttons.cpp View File

@@ -74,7 +74,7 @@ TouchButtons touch;
74 74
 void TouchButtons::init() { touchIO.Init(); }
75 75
 
76 76
 uint8_t TouchButtons::read_buttons() {
77
-  #ifdef HAS_SPI_LCD
77
+  #ifdef HAS_WIRED_LCD
78 78
     int16_t x, y;
79 79
 
80 80
     if (!touchIO.getRawPoint(&x, &y)) return 0;

+ 14
- 14
Marlin/src/lcd/ultralcd.cpp View File

@@ -51,7 +51,7 @@ MarlinUI ui;
51 51
 
52 52
 constexpr uint8_t epps = ENCODER_PULSES_PER_STEP;
53 53
 
54
-#if HAS_SPI_LCD
54
+#if HAS_WIRED_LCD
55 55
   #if ENABLED(STATUS_MESSAGE_SCROLLING)
56 56
     uint8_t MarlinUI::status_scroll_offset; // = 0
57 57
     constexpr uint8_t MAX_MESSAGE_LENGTH = _MAX(LONG_FILENAME_LENGTH, MAX_LANG_CHARSIZE * 2 * (LCD_WIDTH));
@@ -62,7 +62,7 @@ constexpr uint8_t epps = ENCODER_PULSES_PER_STEP;
62 62
   constexpr uint8_t MAX_MESSAGE_LENGTH = 63;
63 63
 #endif
64 64
 
65
-#if EITHER(HAS_SPI_LCD, EXTENSIBLE_UI)
65
+#if EITHER(HAS_WIRED_LCD, EXTENSIBLE_UI)
66 66
   uint8_t MarlinUI::alert_level; // = 0
67 67
   char MarlinUI::status_message[MAX_MESSAGE_LENGTH + 1];
68 68
 #endif
@@ -114,9 +114,9 @@ constexpr uint8_t epps = ENCODER_PULSES_PER_STEP;
114 114
   }
115 115
 #endif
116 116
 
117
-#if HAS_SPI_LCD
117
+#if HAS_WIRED_LCD
118 118
 
119
-#if HAS_GRAPHICAL_LCD
119
+#if HAS_MARLINUI_U8GLIB
120 120
   #include "dogm/ultralcd_DOGM.h"
121 121
 #endif
122 122
 
@@ -167,7 +167,7 @@ uint8_t MarlinUI::lcd_status_update_delay = 1; // First update one loop delayed
167 167
 
168 168
 millis_t MarlinUI::next_button_update_ms; // = 0
169 169
 
170
-#if HAS_GRAPHICAL_LCD
170
+#if HAS_MARLINUI_U8GLIB
171 171
   bool MarlinUI::drawing_screen, MarlinUI::first_page; // = false
172 172
 #endif
173 173
 
@@ -372,7 +372,7 @@ void MarlinUI::init() {
372 372
 
373 373
   #endif // HAS_SHIFT_ENCODER
374 374
 
375
-  #if HAS_ENCODER_ACTION && HAS_SLOW_BUTTONS
375
+  #if BOTH(HAS_ENCODER_ACTION, HAS_SLOW_BUTTONS)
376 376
     slow_buttons = 0;
377 377
   #endif
378 378
 
@@ -873,7 +873,7 @@ void MarlinUI::update() {
873 873
 
874 874
   #endif // HAS_LCD_MENU
875 875
 
876
-  if (ELAPSED(ms, next_lcd_update_ms) || TERN0(HAS_GRAPHICAL_LCD, drawing_screen)) {
876
+  if (ELAPSED(ms, next_lcd_update_ms) || TERN0(HAS_MARLINUI_U8GLIB, drawing_screen)) {
877 877
 
878 878
     next_lcd_update_ms = ms + LCD_UPDATE_INTERVAL;
879 879
 
@@ -971,7 +971,7 @@ void MarlinUI::update() {
971 971
     // This runs every ~100ms when idling often enough.
972 972
     // Instead of tracking changes just redraw the Status Screen once per second.
973 973
     if (on_status_screen() && !lcd_status_update_delay--) {
974
-      lcd_status_update_delay = TERN(HAS_GRAPHICAL_LCD, 12, 9);
974
+      lcd_status_update_delay = TERN(HAS_MARLINUI_U8GLIB, 12, 9);
975 975
       if (max_display_update_time) max_display_update_time--;  // Be sure never go to a very big number
976 976
       refresh(LCDVIEW_REDRAW_NOW);
977 977
     }
@@ -1010,7 +1010,7 @@ void MarlinUI::update() {
1010 1010
 
1011 1011
       TERN_(HAS_ADC_BUTTONS, keypad_buttons = 0);
1012 1012
 
1013
-      #if HAS_GRAPHICAL_LCD
1013
+      #if HAS_MARLINUI_U8GLIB
1014 1014
 
1015 1015
         #if ENABLED(LIGHTWEIGHT_UI)
1016 1016
           const bool in_status = on_status_screen(),
@@ -1294,7 +1294,7 @@ void MarlinUI::update() {
1294 1294
 
1295 1295
 #endif // HAS_ENCODER_ACTION
1296 1296
 
1297
-#endif // HAS_SPI_LCD
1297
+#endif // HAS_WIRED_LCD
1298 1298
 
1299 1299
 #if HAS_DISPLAY
1300 1300
 
@@ -1342,7 +1342,7 @@ void MarlinUI::update() {
1342 1342
       next_filament_display = ms + 5000UL; // Show status message for 5s
1343 1343
     #endif
1344 1344
 
1345
-    #if BOTH(HAS_SPI_LCD, STATUS_MESSAGE_SCROLLING)
1345
+    #if BOTH(HAS_WIRED_LCD, STATUS_MESSAGE_SCROLLING)
1346 1346
       status_scroll_offset = 0;
1347 1347
     #endif
1348 1348
 
@@ -1501,7 +1501,7 @@ void MarlinUI::update() {
1501 1501
     set_status_P(print_paused);
1502 1502
 
1503 1503
     #if ENABLED(PARK_HEAD_ON_PAUSE)
1504
-      TERN_(HAS_SPI_LCD, lcd_pause_show_message(PAUSE_MESSAGE_PARKING, PAUSE_MODE_PAUSE_PRINT)); // Show message immediately to let user know about pause in progress
1504
+      TERN_(HAS_WIRED_LCD, lcd_pause_show_message(PAUSE_MESSAGE_PARKING, PAUSE_MODE_PAUSE_PRINT)); // Show message immediately to let user know about pause in progress
1505 1505
       queue.inject_P(PSTR("M25 P\nM24"));
1506 1506
     #elif ENABLED(SDSUPPORT)
1507 1507
       queue.inject_P(PSTR("M25"));
@@ -1610,11 +1610,11 @@ void MarlinUI::update() {
1610 1610
 
1611 1611
     refresh();
1612 1612
 
1613
-    #if HAS_SPI_LCD || defined(LED_BACKLIGHT_TIMEOUT)
1613
+    #if HAS_WIRED_LCD || defined(LED_BACKLIGHT_TIMEOUT)
1614 1614
       const millis_t ms = millis();
1615 1615
     #endif
1616 1616
 
1617
-    TERN_(HAS_SPI_LCD, next_lcd_update_ms = ms + LCD_UPDATE_INTERVAL); // Delay LCD update for SD activity
1617
+    TERN_(HAS_WIRED_LCD, next_lcd_update_ms = ms + LCD_UPDATE_INTERVAL); // Delay LCD update for SD activity
1618 1618
 
1619 1619
     #ifdef LED_BACKLIGHT_TIMEOUT
1620 1620
       leds.reset_timeout(ms);

+ 11
- 11
Marlin/src/lcd/ultralcd.h View File

@@ -40,7 +40,7 @@
40 40
 #if HAS_ENCODER_WHEEL || ANY_BUTTON(ENC, BACK, UP, DWN, LFT, RT)
41 41
   #define HAS_DIGITAL_BUTTONS 1
42 42
 #endif
43
-#if !HAS_ADC_BUTTONS && (ENABLED(REPRAPWORLD_KEYPAD) || (HAS_SPI_LCD && DISABLED(NEWPANEL)))
43
+#if !HAS_ADC_BUTTONS && (ENABLED(REPRAPWORLD_KEYPAD) || (HAS_WIRED_LCD && DISABLED(NEWPANEL)))
44 44
   #define HAS_SHIFT_ENCODER 1
45 45
 #endif
46 46
 
@@ -53,7 +53,7 @@
53 53
   #define MULTI_MANUAL 1
54 54
 #endif
55 55
 
56
-#if HAS_SPI_LCD
56
+#if HAS_WIRED_LCD
57 57
 
58 58
   #include "../MarlinCore.h"
59 59
 
@@ -104,7 +104,7 @@
104 104
 
105 105
   #endif // HAS_LCD_MENU
106 106
 
107
-#endif // HAS_SPI_LCD
107
+#endif // HAS_WIRED_LCD
108 108
 
109 109
 // REPRAPWORLD_KEYPAD (and ADC_KEYPAD)
110 110
 #if ENABLED(REPRAPWORLD_KEYPAD)
@@ -231,7 +231,7 @@
231 231
   #endif
232 232
 #endif
233 233
 
234
-#if HAS_GRAPHICAL_LCD
234
+#if HAS_MARLINUI_U8GLIB
235 235
   enum MarlinFont : uint8_t {
236 236
     FONT_STATUSMENU = 1,
237 237
     FONT_EDIT,
@@ -316,11 +316,11 @@ public:
316 316
     static void refresh();
317 317
   #else
318 318
     FORCE_INLINE static void refresh() {
319
-      TERN_(HAS_SPI_LCD, refresh(LCDVIEW_CLEAR_CALL_REDRAW));
319
+      TERN_(HAS_WIRED_LCD, refresh(LCDVIEW_CLEAR_CALL_REDRAW));
320 320
     }
321 321
   #endif
322 322
 
323
-  #if HAS_SPI_LCD
323
+  #if HAS_WIRED_LCD
324 324
     static bool detected();
325 325
     static void init_lcd();
326 326
   #else
@@ -381,7 +381,7 @@ public:
381 381
     static void pause_print();
382 382
     static void resume_print();
383 383
 
384
-    #if HAS_SPI_LCD
384
+    #if HAS_WIRED_LCD
385 385
 
386 386
       static millis_t next_button_update_ms;
387 387
 
@@ -403,7 +403,7 @@ public:
403 403
         static void show_bootscreen();
404 404
       #endif
405 405
 
406
-      #if HAS_GRAPHICAL_LCD
406
+      #if HAS_MARLINUI_U8GLIB
407 407
 
408 408
         static void set_font(const MarlinFont font_nr);
409 409
 
@@ -458,7 +458,7 @@ public:
458 458
 
459 459
     #endif
460 460
 
461
-    #if HAS_GRAPHICAL_LCD
461
+    #if HAS_MARLINUI_U8GLIB
462 462
       static bool drawing_screen, first_page;
463 463
     #else
464 464
       static constexpr bool drawing_screen = false, first_page = true;
@@ -577,7 +577,7 @@ public:
577 577
 
578 578
     static void draw_select_screen_prompt(PGM_P const pref, const char * const string=nullptr, PGM_P const suff=nullptr);
579 579
 
580
-  #elif HAS_SPI_LCD
580
+  #elif HAS_WIRED_LCD
581 581
 
582 582
     static constexpr bool lcd_clicked = false;
583 583
     static constexpr bool on_status_screen() { return true; }
@@ -692,7 +692,7 @@ private:
692 692
     static void finish_status(const bool persist);
693 693
   #endif
694 694
 
695
-  #if HAS_SPI_LCD
695
+  #if HAS_WIRED_LCD
696 696
     #if HAS_LCD_MENU && LCD_TIMEOUT_TO_STATUS > 0
697 697
       static bool defer_return_to_status;
698 698
     #else

+ 2
- 2
Marlin/src/module/endstops.cpp View File

@@ -351,7 +351,7 @@ void Endstops::event_handler() {
351 351
   if (hit_state == prev_hit_state) return;
352 352
   prev_hit_state = hit_state;
353 353
   if (hit_state) {
354
-    #if HAS_SPI_LCD
354
+    #if HAS_WIRED_LCD
355 355
       char chrX = ' ', chrY = ' ', chrZ = ' ', chrP = ' ';
356 356
       #define _SET_STOP_CHAR(A,C) (chr## A = C)
357 357
     #else
@@ -382,7 +382,7 @@ void Endstops::event_handler() {
382 382
     #endif
383 383
     SERIAL_EOL();
384 384
 
385
-    TERN_(HAS_SPI_LCD, ui.status_printf_P(0, PSTR(S_FMT " %c %c %c %c"), GET_TEXT(MSG_LCD_ENDSTOPS), chrX, chrY, chrZ, chrP));
385
+    TERN_(HAS_WIRED_LCD, ui.status_printf_P(0, PSTR(S_FMT " %c %c %c %c"), GET_TEXT(MSG_LCD_ENDSTOPS), chrX, chrY, chrZ, chrP));
386 386
 
387 387
     #if BOTH(SD_ABORT_ON_ENDSTOP_HIT, SDSUPPORT)
388 388
       if (planner.abort_on_endstop_hit) {

+ 8
- 8
Marlin/src/module/planner.cpp View File

@@ -234,7 +234,7 @@ float Planner::previous_nominal_speed_sqr;
234 234
   xyze_pos_t Planner::position_cart;
235 235
 #endif
236 236
 
237
-#if HAS_SPI_LCD
237
+#if HAS_WIRED_LCD
238 238
   volatile uint32_t Planner::block_buffer_runtime_us = 0;
239 239
 #endif
240 240
 
@@ -747,7 +747,7 @@ block_t* Planner::get_current_block() {
747 747
     if (TEST(block->flag, BLOCK_BIT_RECALCULATE)) return nullptr;
748 748
 
749 749
     // We can't be sure how long an active block will take, so don't count it.
750
-    TERN_(HAS_SPI_LCD, block_buffer_runtime_us -= block->segment_time_us);
750
+    TERN_(HAS_WIRED_LCD, block_buffer_runtime_us -= block->segment_time_us);
751 751
 
752 752
     // As this block is busy, advance the nonbusy block pointer
753 753
     block_buffer_nonbusy = next_block_index(block_buffer_tail);
@@ -761,7 +761,7 @@ block_t* Planner::get_current_block() {
761 761
   }
762 762
 
763 763
   // The queue became empty
764
-  TERN_(HAS_SPI_LCD, clear_block_buffer_runtime()); // paranoia. Buffer is empty now - so reset accumulated time to zero.
764
+  TERN_(HAS_WIRED_LCD, clear_block_buffer_runtime()); // paranoia. Buffer is empty now - so reset accumulated time to zero.
765 765
 
766 766
   return nullptr;
767 767
 }
@@ -1578,7 +1578,7 @@ void Planner::quick_stop() {
1578 1578
   // forced to empty, there's no risk the ISR will touch this.
1579 1579
   delay_before_delivering = BLOCK_DELAY_FOR_1ST_MOVE;
1580 1580
 
1581
-  #if HAS_SPI_LCD
1581
+  #if HAS_WIRED_LCD
1582 1582
     // Clear the accumulated runtime
1583 1583
     clear_block_buffer_runtime();
1584 1584
   #endif
@@ -2081,7 +2081,7 @@ bool Planner::_populate_block(block_t * const block, bool split_move,
2081 2081
   const uint8_t moves_queued = nonbusy_movesplanned();
2082 2082
 
2083 2083
   // Slow down when the buffer starts to empty, rather than wait at the corner for a buffer refill
2084
-  #if EITHER(SLOWDOWN, HAS_SPI_LCD) || defined(XY_FREQUENCY_LIMIT)
2084
+  #if EITHER(SLOWDOWN, HAS_WIRED_LCD) || defined(XY_FREQUENCY_LIMIT)
2085 2085
     // Segment time im micro seconds
2086 2086
     int32_t segment_time_us = LROUND(1000000.0f / inverse_secs);
2087 2087
   #endif
@@ -2096,14 +2096,14 @@ bool Planner::_populate_block(block_t * const block, bool split_move,
2096 2096
         // Buffer is draining so add extra time. The amount of time added increases if the buffer is still emptied more.
2097 2097
         const int32_t nst = segment_time_us + LROUND(2 * time_diff / moves_queued);
2098 2098
         inverse_secs = 1000000.0f / nst;
2099
-        #if defined(XY_FREQUENCY_LIMIT) || HAS_SPI_LCD
2099
+        #if defined(XY_FREQUENCY_LIMIT) || HAS_WIRED_LCD
2100 2100
           segment_time_us = nst;
2101 2101
         #endif
2102 2102
       }
2103 2103
     }
2104 2104
   #endif
2105 2105
 
2106
-  #if HAS_SPI_LCD
2106
+  #if HAS_WIRED_LCD
2107 2107
     // Protect the access to the position.
2108 2108
     const bool was_enabled = stepper.suspend();
2109 2109
 
@@ -3029,7 +3029,7 @@ void Planner::set_max_jerk(const AxisEnum axis, float targetValue) {
3029 3029
   #endif
3030 3030
 }
3031 3031
 
3032
-#if HAS_SPI_LCD
3032
+#if HAS_WIRED_LCD
3033 3033
 
3034 3034
   uint16_t Planner::block_buffer_runtime() {
3035 3035
     #ifdef __AVR__

+ 3
- 3
Marlin/src/module/planner.h View File

@@ -218,7 +218,7 @@ typedef struct block_t {
218 218
     uint8_t valve_pressure, e_to_p_pressure;
219 219
   #endif
220 220
 
221
-  #if HAS_SPI_LCD
221
+  #if HAS_WIRED_LCD
222 222
     uint32_t segment_time_us;
223 223
   #endif
224 224
 
@@ -438,7 +438,7 @@ class Planner {
438 438
       static uint8_t g_uc_extruder_last_move[EXTRUDERS];
439 439
     #endif
440 440
 
441
-    #if HAS_SPI_LCD
441
+    #if HAS_WIRED_LCD
442 442
       volatile static uint32_t block_buffer_runtime_us; // Theoretical block buffer runtime in µs
443 443
     #endif
444 444
 
@@ -871,7 +871,7 @@ class Planner {
871 871
         block_buffer_tail = next_block_index(block_buffer_tail);
872 872
     }
873 873
 
874
-    #if HAS_SPI_LCD
874
+    #if HAS_WIRED_LCD
875 875
       static uint16_t block_buffer_runtime();
876 876
       static void clear_block_buffer_runtime();
877 877
     #endif

+ 2
- 2
Marlin/src/pins/esp32/pins_MRR_ESPE.h View File

@@ -124,7 +124,7 @@
124 124
 // LCDs and Controllers //
125 125
 //////////////////////////
126 126
 
127
-#if HAS_GRAPHICAL_LCD
127
+#if HAS_MARLINUI_U8GLIB
128 128
 
129 129
   #define LCD_PINS_RS                         13
130 130
   #define LCD_PINS_ENABLE                     17
@@ -152,7 +152,7 @@
152 152
   #define BTN_EN2                             12
153 153
   #define BTN_ENC                             14
154 154
 
155
-#endif // HAS_GRAPHICAL_LCD
155
+#endif // HAS_MARLINUI_U8GLIB
156 156
 
157 157
 // Hardware serial pins
158 158
 // Add the following to Configuration.h or Configuration_adv.h to assign

+ 2
- 2
Marlin/src/pins/linux/pins_RAMPS_LINUX.h View File

@@ -389,7 +389,7 @@
389 389
 // LCDs and Controllers //
390 390
 //////////////////////////
391 391
 
392
-#if HAS_SPI_LCD
392
+#if HAS_WIRED_LCD
393 393
 
394 394
   //
395 395
   // LCD Display output pins
@@ -632,4 +632,4 @@
632 632
     #endif
633 633
   #endif // NEWPANEL
634 634
 
635
-#endif // HAS_SPI_LCD
635
+#endif // HAS_WIRED_LCD

+ 3
- 3
Marlin/src/pins/lpc1768/pins_BIQU_B300_V1.0.h View File

@@ -126,7 +126,7 @@
126 126
  * for the onboard SD card, and a chip select signal is not provided for the remote
127 127
  * SD card.
128 128
  */
129
-#if HAS_SPI_LCD
129
+#if HAS_WIRED_LCD
130 130
 
131 131
   #define BEEPER_PIN                       P1_31  // EXP1-1
132 132
 
@@ -139,7 +139,7 @@
139 139
   #define LCD_PINS_ENABLE                  P0_18  // (MOSI) EXP1-3
140 140
   #define LCD_PINS_D4                      P0_15  // (SCK)  EXP1-5
141 141
 
142
-  #if ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER) && HAS_CHARACTER_LCD
142
+  #if BOTH(HAS_MARLINUI_HD44780, REPRAP_DISCOUNT_SMART_CONTROLLER)
143 143
     #error "REPRAP_DISCOUNT_SMART_CONTROLLER is not supported by the BIQU B300 v1.0"
144 144
   #endif
145 145
 
@@ -147,7 +147,7 @@
147 147
     #error "SDSUPPORT is not supported by the BIQU B300 v1.0 when an LCD controller is used"
148 148
   #endif
149 149
 
150
-#endif // HAS_SPI_LCD
150
+#endif // HAS_WIRED_LCD
151 151
 
152 152
 /**
153 153
  * SD Card Reader

+ 3
- 3
Marlin/src/pins/lpc1768/pins_BIQU_BQ111_A4.h View File

@@ -97,7 +97,7 @@
97 97
  * for the onboard SD card, and a chip select signal is not provided for the remote
98 98
  * SD card.
99 99
  */
100
-#if HAS_SPI_LCD
100
+#if HAS_WIRED_LCD
101 101
 
102 102
   #define BEEPER_PIN                       P1_31  // EXP1-1
103 103
 
@@ -110,7 +110,7 @@
110 110
   #define LCD_PINS_ENABLE                  P0_18  // (MOSI) EXP1-3
111 111
   #define LCD_PINS_D4                      P0_15  // (SCK)  EXP1-5
112 112
 
113
-  #if ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER) && HAS_CHARACTER_LCD
113
+  #if BOTH(HAS_MARLINUI_HD44780, REPRAP_DISCOUNT_SMART_CONTROLLER)
114 114
     #error "REPRAP_DISCOUNT_SMART_CONTROLLER is not supported by the BIQU BQ111-A4"
115 115
   #endif
116 116
 
@@ -118,7 +118,7 @@
118 118
     #error "SDSUPPORT is not supported by the BIQU BQ111-A4 when an LCD controller is used"
119 119
   #endif
120 120
 
121
-#endif // HAS_SPI_LCD
121
+#endif // HAS_WIRED_LCD
122 122
 
123 123
 /**
124 124
  * SD Card Reader

+ 1
- 1
Marlin/src/pins/lpc1768/pins_BTT_SKR_V1_1.h View File

@@ -65,7 +65,7 @@
65 65
  * by redrawing the screen after SD card accesses.
66 66
  */
67 67
 
68
-#if HAS_SPI_LCD
68
+#if HAS_WIRED_LCD
69 69
   #define BTN_EN1                          P3_26
70 70
   #define BTN_EN2                          P3_25
71 71
   #define BTN_ENC                          P2_11

+ 2
- 2
Marlin/src/pins/lpc1768/pins_BTT_SKR_V1_3.h View File

@@ -214,7 +214,7 @@
214 214
 #define EXPA2_09_PIN                       P0_15
215 215
 #define EXPA2_10_PIN                       P0_17
216 216
 
217
-#if HAS_SPI_LCD
217
+#if HAS_WIRED_LCD
218 218
 
219 219
   #if ENABLED(ANET_FULL_GRAPHICS_LCD)
220 220
 
@@ -350,7 +350,7 @@
350 350
 
351 351
   #endif // !CR10_STOCKDISPLAY
352 352
 
353
-#endif // HAS_SPI_LCD
353
+#endif // HAS_WIRED_LCD
354 354
 
355 355
 //
356 356
 // SD Support

+ 3
- 3
Marlin/src/pins/lpc1768/pins_BTT_SKR_V1_4.h View File

@@ -232,7 +232,7 @@
232 232
  *              -----                                             -----
233 233
  *              EXP2                                              EXP1
234 234
  */
235
-#if HAS_SPI_LCD
235
+#if HAS_WIRED_LCD
236 236
   #if ENABLED(ANET_FULL_GRAPHICS_LCD)
237 237
 
238 238
     #define LCD_PINS_RS                    P1_23
@@ -371,9 +371,9 @@
371 371
 
372 372
     #endif // !FYSETC_MINI_12864
373 373
 
374
-  #endif // HAS_GRAPHICAL_LCD
374
+  #endif // HAS_MARLINUI_U8GLIB
375 375
 
376
-#endif // HAS_SPI_LCD
376
+#endif // HAS_WIRED_LCD
377 377
 
378 378
 #if HAS_ADC_BUTTONS
379 379
   #error "ADC BUTTONS do not work unmodifed on SKR 1.4, The ADC ports cannot take more than 3.3v."

+ 1
- 1
Marlin/src/pins/lpc1768/pins_BTT_SKR_common.h View File

@@ -92,7 +92,7 @@
92 92
 //
93 93
 // LCD / Controller
94 94
 //
95
-#if HAS_SPI_LCD
95
+#if HAS_WIRED_LCD
96 96
   #define BEEPER_PIN                       P1_30  // (37) not 5V tolerant
97 97
 #endif
98 98
 

+ 1
- 1
Marlin/src/pins/lpc1768/pins_MKS_SBASE.h View File

@@ -217,7 +217,7 @@
217 217
  * that the garbage/lines are erased immediately after the SD card accesses are completed.
218 218
  */
219 219
 
220
-#if HAS_SPI_LCD
220
+#if HAS_WIRED_LCD
221 221
   #define BEEPER_PIN                       P1_31  // EXP1.1
222 222
   #define BTN_ENC                          P1_30  // EXP1.2
223 223
   #define BTN_EN1                          P3_26  // EXP2.5

+ 3
- 2
Marlin/src/pins/lpc1768/pins_MKS_SGEN_L.h View File

@@ -235,7 +235,8 @@
235 235
  *                -----                                            -----
236 236
  *                EXP1                                             EXP2
237 237
  */
238
-#if HAS_SPI_LCD
238
+#if HAS_WIRED_LCD
239
+
239 240
   #define BEEPER_PIN                       P1_31
240 241
   #define BTN_ENC                          P1_30
241 242
 
@@ -321,7 +322,7 @@
321 322
 
322 323
   #endif // !CR10_STOCKDISPLAY
323 324
 
324
-#endif // HAS_SPI_LCD
325
+#endif // HAS_WIRED_LCD
325 326
 
326 327
 #ifndef SDCARD_CONNECTION
327 328
   #define SDCARD_CONNECTION              ONBOARD

+ 5
- 4
Marlin/src/pins/lpc1768/pins_RAMPS_RE_ARM.h View File

@@ -326,7 +326,7 @@
326 326
   #define LCD_PINS_ENABLE                  P0_18  // J3-10 & AUX-3 (SID, MOSI)
327 327
   #define LCD_PINS_D4                      P2_06  // J3-8 & AUX-3 (SCK, CLK)
328 328
 
329
-#elif HAS_SPI_LCD
329
+#elif HAS_WIRED_LCD
330 330
 
331 331
   //#define SCK_PIN                        P0_15  // (52)  system defined J3-9 & AUX-3
332 332
   //#define MISO_PIN                       P0_17  // (50)  system defined J3-10 & AUX-3
@@ -370,8 +370,9 @@
370 370
     #define DOGLCD_SCK                   SCK_PIN
371 371
     #define DOGLCD_MOSI                 MOSI_PIN
372 372
 
373
-    #define STAT_LED_BLUE_PIN              P0_26  //(63)  may change if cable changes
373
+    #define STAT_LED_BLUE_PIN              P0_26  // (63)  may change if cable changes
374 374
     #define STAT_LED_RED_PIN               P1_21  // ( 6)  may change if cable changes
375
+
375 376
   #else
376 377
 
377 378
     #if ENABLED(FYSETC_MINI_12864)
@@ -420,9 +421,9 @@
420 421
     //#define LCD_SCREEN_ROT_90
421 422
     //#define LCD_SCREEN_ROT_180
422 423
     //#define LCD_SCREEN_ROT_270
423
-  #endif
424
+ #endif
424 425
 
425
-#endif // HAS_SPI_LCD
426
+#endif // HAS_WIRED_LCD
426 427
 
427 428
 //
428 429
 // Ethernet pins

+ 2
- 2
Marlin/src/pins/lpc1769/pins_AZTEEG_X5_MINI.h View File

@@ -109,7 +109,7 @@
109 109
 //
110 110
 // Display
111 111
 //
112
-#if HAS_SPI_LCD
112
+#if HAS_WIRED_LCD
113 113
 
114 114
   #if ENABLED(CR10_STOCKDISPLAY)
115 115
 
@@ -185,7 +185,7 @@
185 185
 
186 186
   #endif
187 187
 
188
-#endif // HAS_SPI_LCD
188
+#endif // HAS_WIRED_LCD
189 189
 
190 190
 //
191 191
 // SD Support

+ 2
- 2
Marlin/src/pins/lpc1769/pins_BTT_SKR_E3_TURBO.h View File

@@ -193,7 +193,7 @@
193 193
 #define EXPA1_09_PIN                       P0_16
194 194
 #define EXPA1_10_PIN                       P2_08
195 195
 
196
-#if HAS_SPI_LCD
196
+#if HAS_WIRED_LCD
197 197
 
198 198
   #if ENABLED(CR10_STOCKDISPLAY)
199 199
 
@@ -238,7 +238,7 @@
238 238
 
239 239
   #endif
240 240
 
241
-#endif // HAS_SPI_LCD
241
+#endif // HAS_WIRED_LCD
242 242
 
243 243
 //
244 244
 // SD Support

+ 2
- 2
Marlin/src/pins/lpc1769/pins_COHESION3D_MINI.h View File

@@ -141,7 +141,7 @@
141 141
 // connector are shared with the onboard SD card, and Marlin does not support reading
142 142
 // G-code files from the onboard SD card.
143 143
 //
144
-#if HAS_SPI_LCD
144
+#if HAS_WIRED_LCD
145 145
 
146 146
   #define BEEPER_PIN                       P0_27  // EXP2-7 - open drain
147 147
 
@@ -160,7 +160,7 @@
160 160
     #error "SDSUPPORT is not currently supported by the Cohesion3D boards"
161 161
   #endif
162 162
 
163
-#endif // HAS_SPI_LCD
163
+#endif // HAS_WIRED_LCD
164 164
 
165 165
 //
166 166
 // Ethernet pins

+ 2
- 2
Marlin/src/pins/lpc1769/pins_COHESION3D_REMIX.h View File

@@ -206,7 +206,7 @@
206 206
     #define NEOPIXEL_PIN                   P1_16  // EXP1-6  =>  Ethernet pin  6 (top row, 3 from left)
207 207
   #endif
208 208
 
209
-#elif HAS_SPI_LCD
209
+#elif HAS_WIRED_LCD
210 210
 
211 211
   #define BEEPER_PIN                       P1_31  // EXP1-1
212 212
   //#define SD_DETECT_PIN                  P0_27  // EXP2-7
@@ -222,7 +222,7 @@
222 222
 
223 223
   #define KILL_PIN                         P2_11  // EXP2-10
224 224
 
225
-#endif // HAS_SPI_LCD
225
+#endif // HAS_WIRED_LCD
226 226
 
227 227
 //
228 228
 // SD Support

+ 3
- 2
Marlin/src/pins/lpc1769/pins_MKS_SGEN_L_V2.h View File

@@ -241,11 +241,12 @@
241 241
  *                -----                                            -----
242 242
  *                EXP1                                             EXP2
243 243
  */
244
-#if HAS_SPI_LCD
244
+#if HAS_WIRED_LCD
245 245
   #define BEEPER_PIN                       P1_31
246 246
   #define BTN_ENC                          P1_30
247 247
 
248 248
   #if ENABLED(CR10_STOCKDISPLAY)
249
+
249 250
     #define LCD_PINS_RS                    P1_00
250 251
 
251 252
     #define BTN_EN1                        P0_18
@@ -327,7 +328,7 @@
327 328
 
328 329
   #endif // !CR10_STOCKDISPLAY
329 330
 
330
-#endif // HAS_SPI_LCD
331
+#endif // HAS_WIRED_LCD
331 332
 
332 333
 #ifndef SDCARD_CONNECTION
333 334
   #define SDCARD_CONNECTION              ONBOARD

+ 1
- 1
Marlin/src/pins/lpc1769/pins_SMOOTHIEBOARD.h View File

@@ -109,7 +109,7 @@
109 109
   #define STAT_LED_RED_PIN                 P1_19
110 110
   #define STAT_LED_BLUE_PIN                P1_20
111 111
 
112
-#elif HAS_SPI_LCD
112
+#elif HAS_WIRED_LCD
113 113
 
114 114
   /*
115 115
     The Smoothieboard supports the REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER with either

+ 1
- 1
Marlin/src/pins/lpc1769/pins_TH3D_EZBOARD.h View File

@@ -178,6 +178,6 @@
178 178
   #define LCD_PINS_ENABLE                  P0_18
179 179
   #define LCD_PINS_D4                      P0_15
180 180
   #define KILL_PIN                         P2_11
181
-#elif HAS_SPI_LCD
181
+#elif HAS_WIRED_LCD
182 182
   #error "Only the CR10_STOCKDISPLAY is supported with TH3D EZBoard."
183 183
 #endif

+ 2
- 2
Marlin/src/pins/mega/pins_GT2560_REV_A.h View File

@@ -105,7 +105,7 @@
105 105
 #define SUICIDE_PIN                           54  // Must be enabled at startup to keep power flowing
106 106
 #define KILL_PIN                              -1
107 107
 
108
-#if HAS_SPI_LCD
108
+#if HAS_WIRED_LCD
109 109
 
110 110
   #define BEEPER_PIN                          18
111 111
 
@@ -148,4 +148,4 @@
148 148
 
149 149
   #endif // !NEWPANEL
150 150
 
151
-#endif // HAS_SPI_LCD
151
+#endif // HAS_WIRED_LCD

+ 2
- 2
Marlin/src/pins/mega/pins_HJC2560C_REV2.h View File

@@ -123,7 +123,7 @@
123 123
 //
124 124
 // LCD / Controller
125 125
 //
126
-#if HAS_SPI_LCD
126
+#if HAS_WIRED_LCD
127 127
 
128 128
   #define BEEPER_PIN                          18
129 129
 
@@ -170,4 +170,4 @@
170 170
 
171 171
   #endif // !NEWPANEL
172 172
 
173
-#endif // HAS_SPI_LCD
173
+#endif // HAS_WIRED_LCD

+ 1
- 1
Marlin/src/pins/mega/pins_INTAMSYS40.h View File

@@ -122,7 +122,7 @@
122 122
 
123 123
 #define BEEPER_PIN                            18
124 124
 
125
-#if HAS_SPI_LCD
125
+#if HAS_WIRED_LCD
126 126
   #define LCD_PINS_RS                         20
127 127
   #define LCD_PINS_ENABLE                     30
128 128
   #define LCD_PINS_D4                         14

+ 2
- 2
Marlin/src/pins/mega/pins_MEGATRONICS_2.h View File

@@ -130,7 +130,7 @@
130 130
 //
131 131
 #define BEEPER_PIN                            64
132 132
 
133
-#if HAS_SPI_LCD
133
+#if HAS_WIRED_LCD
134 134
 
135 135
   #define LCD_PINS_RS                         14
136 136
   #define LCD_PINS_ENABLE                     15
@@ -152,4 +152,4 @@
152 152
     #define SHIFT_EN                          17
153 153
   #endif
154 154
 
155
-#endif // HAS_SPI_LCD
155
+#endif // HAS_WIRED_LCD

+ 2
- 2
Marlin/src/pins/mega/pins_MIGHTYBOARD_REVE.h View File

@@ -212,7 +212,7 @@
212 212
 //
213 213
 // LCD / Controller
214 214
 //
215
-#if HAS_SPI_LCD
215
+#if HAS_WIRED_LCD
216 216
 
217 217
   #if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
218 218
 
@@ -260,7 +260,7 @@
260 260
   #define BTN_CENTER                          15  // J0
261 261
   #define BTN_ENC                     BTN_CENTER
262 262
 
263
-#endif // HAS_SPI_LCD
263
+#endif // HAS_WIRED_LCD
264 264
 
265 265
 //
266 266
 // SD Card

+ 1
- 1
Marlin/src/pins/mega/pins_OVERLORD.h View File

@@ -119,7 +119,7 @@
119 119
 //
120 120
 // LCD / Controller
121 121
 //
122
-#if HAS_GRAPHICAL_LCD
122
+#if HAS_MARLINUI_U8GLIB
123 123
   // OVERLORD OLED pins
124 124
   #define LCD_PINS_RS                         20
125 125
   #define LCD_PINS_D5                         21

+ 1
- 1
Marlin/src/pins/mega/pins_PICA.h View File

@@ -137,7 +137,7 @@
137 137
 //
138 138
 #define BEEPER_PIN                            29
139 139
 
140
-#if HAS_SPI_LCD
140
+#if HAS_WIRED_LCD
141 141
   #define LCD_PINS_RS                         33
142 142
   #define LCD_PINS_ENABLE                     30
143 143
   #define LCD_PINS_D4                         35

+ 1
- 1
Marlin/src/pins/mega/pins_SILVER_GATE.h View File

@@ -72,7 +72,7 @@
72 72
 #define HEATER_BED_PIN                         8
73 73
 #define TEMP_BED_PIN                           6
74 74
 
75
-#if HAS_GRAPHICAL_LCD
75
+#if HAS_MARLINUI_U8GLIB
76 76
   #if ENABLED(U8GLIB_ST7920)                      // SPI GLCD 12864 ST7920
77 77
     #define LCD_PINS_RS                       30
78 78
     #define LCD_PINS_ENABLE                   20

+ 2
- 2
Marlin/src/pins/pins.h View File

@@ -1227,7 +1227,7 @@
1227 1227
   #define LCD_PINS_D4 -1
1228 1228
 #endif
1229 1229
 
1230
-#if HAS_CHARACTER_LCD || TOUCH_UI_ULTIPANEL
1230
+#if HAS_MARLINUI_HD44780 || TOUCH_UI_ULTIPANEL
1231 1231
   #ifndef LCD_PINS_D5
1232 1232
     #define LCD_PINS_D5 -1
1233 1233
   #endif
@@ -1597,7 +1597,7 @@
1597 1597
   #define Z4_MS3_PIN -1
1598 1598
 #endif
1599 1599
 
1600
-#if HAS_GRAPHICAL_LCD
1600
+#if HAS_MARLINUI_U8GLIB
1601 1601
   #if !defined(ST7920_DELAY_1) && defined(BOARD_ST7920_DELAY_1)
1602 1602
     #define ST7920_DELAY_1 BOARD_ST7920_DELAY_1
1603 1603
   #endif

+ 2
- 2
Marlin/src/pins/rambo/pins_EINSY_RAMBO.h View File

@@ -160,7 +160,7 @@
160 160
 //
161 161
 // LCD / Controller
162 162
 //
163
-#if HAS_SPI_LCD || TOUCH_UI_ULTIPANEL
163
+#if HAS_WIRED_LCD || TOUCH_UI_ULTIPANEL
164 164
 
165 165
   #define KILL_PIN                            32
166 166
 
@@ -188,4 +188,4 @@
188 188
     #define SD_DETECT_PIN                     15
189 189
 
190 190
   #endif // ULTIPANEL || TOUCH_UI_ULTIPANEL
191
-#endif // HAS_SPI_LCD
191
+#endif // HAS_WIRED_LCD

+ 2
- 2
Marlin/src/pins/rambo/pins_EINSY_RETRO.h View File

@@ -166,7 +166,7 @@
166 166
 //
167 167
 // LCD / Controller
168 168
 //
169
-#if ANY(HAS_SPI_LCD, TOUCH_UI_ULTIPANEL, TOUCH_UI_FTDI_EVE)
169
+#if ANY(HAS_WIRED_LCD, TOUCH_UI_ULTIPANEL, TOUCH_UI_FTDI_EVE)
170 170
 
171 171
   #define KILL_PIN                            32
172 172
 
@@ -196,4 +196,4 @@
196 196
 
197 197
   #endif // ULTIPANEL || TOUCH_UI_ULTIPANEL || TOUCH_UI_FTDI_EVE
198 198
 
199
-#endif // HAS_SPI_LCD || TOUCH_UI_ULTIPANEL || TOUCH_UI_FTDI_EVE
199
+#endif // HAS_WIRED_LCD || TOUCH_UI_ULTIPANEL || TOUCH_UI_FTDI_EVE

+ 2
- 2
Marlin/src/pins/rambo/pins_MINIRAMBO.h View File

@@ -141,7 +141,7 @@
141 141
 //
142 142
 // LCD / Controller
143 143
 //
144
-#if HAS_SPI_LCD || TOUCH_UI_ULTIPANEL
144
+#if HAS_WIRED_LCD || TOUCH_UI_ULTIPANEL
145 145
 
146 146
   #if !MB(MINIRAMBO_10A)
147 147
     #define KILL_PIN                          32
@@ -189,4 +189,4 @@
189 189
 
190 190
   #endif // ULTIPANEL || TOUCH_UI_ULTIPANEL
191 191
 
192
-#endif // HAS_SPI_LCD || TOUCH_UI_ULTIPANEL
192
+#endif // HAS_WIRED_LCD || TOUCH_UI_ULTIPANEL

+ 2
- 2
Marlin/src/pins/rambo/pins_RAMBO.h View File

@@ -183,7 +183,7 @@
183 183
 //
184 184
 // LCD / Controller
185 185
 //
186
-#if HAS_SPI_LCD || TOUCH_UI_ULTIPANEL
186
+#if HAS_WIRED_LCD || TOUCH_UI_ULTIPANEL
187 187
 
188 188
   #define KILL_PIN                            80
189 189
 
@@ -249,4 +249,4 @@
249 249
 
250 250
   #endif // !NEWPANEL
251 251
 
252
-#endif // HAS_SPI_LCD
252
+#endif // HAS_WIRED_LCD

+ 1
- 1
Marlin/src/pins/ramps/pins_3DRAG.h View File

@@ -106,7 +106,7 @@
106 106
 
107 107
   #define BEEPER_PIN                          33
108 108
 
109
-#endif // HAS_SPI_LCD && NEWPANEL
109
+#endif // ULTRA_LCD && NEWPANEL
110 110
 
111 111
 /**
112 112
  *  M3/M4/M5 - Spindle/Laser Control

+ 1
- 1
Marlin/src/pins/ramps/pins_DUPLICATOR_I3_PLUS.h View File

@@ -87,7 +87,7 @@
87 87
 //
88 88
 // LCDs and Controllers
89 89
 //
90
-#if HAS_SPI_LCD
90
+#if HAS_WIRED_LCD
91 91
   #if ENABLED(ZONESTAR_LCD)
92 92
     #define LCD_PINS_RS                        2
93 93
     #define LCD_PINS_ENABLE                   36

+ 1
- 1
Marlin/src/pins/ramps/pins_FORMBOT_TREX2PLUS.h View File

@@ -197,7 +197,7 @@
197 197
   #define LCD_PINS_D7                         29
198 198
 #endif
199 199
 
200
-#if HAS_GRAPHICAL_LCD
200
+#if HAS_MARLINUI_U8GLIB
201 201
   #ifndef BOARD_ST7920_DELAY_1
202 202
     #define BOARD_ST7920_DELAY_1 DELAY_NS(200)
203 203
   #endif

+ 1
- 1
Marlin/src/pins/ramps/pins_FYSETC_F6_13.h View File

@@ -261,7 +261,7 @@
261 261
       #define NEOPIXEL_PIN                    25
262 262
     #endif
263 263
 
264
-  #elif HAS_GRAPHICAL_LCD
264
+  #elif HAS_MARLINUI_U8GLIB
265 265
 
266 266
     #define LCD_PINS_RS                       16
267 267
     #define LCD_PINS_ENABLE                   17

+ 2
- 2
Marlin/src/pins/ramps/pins_K8800.h View File

@@ -95,7 +95,7 @@
95 95
 //
96 96
 #define BEEPER_PIN                             6
97 97
 
98
-#if HAS_SPI_LCD
98
+#if HAS_WIRED_LCD
99 99
 
100 100
   #define LCD_SDSS                            53
101 101
 
@@ -119,4 +119,4 @@
119 119
     #define BTN_ENC                           23
120 120
   #endif
121 121
 
122
-#endif // HAS_SPI_LCD
122
+#endif // HAS_WIRED_LCD

+ 2
- 2
Marlin/src/pins/ramps/pins_RAMPS.h View File

@@ -430,7 +430,7 @@
430 430
 // LCDs and Controllers //
431 431
 //////////////////////////
432 432
 
433
-#if HAS_SPI_LCD
433
+#if HAS_WIRED_LCD
434 434
 
435 435
   //
436 436
   // LCD Display output pins
@@ -706,7 +706,7 @@
706 706
     #endif
707 707
   #endif // NEWPANEL
708 708
 
709
-#endif // HAS_SPI_LCD
709
+#endif // HAS_WIRED_LCD
710 710
 
711 711
 #if ENABLED(REPRAPWORLD_KEYPAD) && DISABLED(ADC_KEYPAD)
712 712
   #define SHIFT_OUT                           40

+ 2
- 2
Marlin/src/pins/ramps/pins_TRIGORILLA_14.h View File

@@ -128,7 +128,7 @@
128 128
 // AnyCubic made the following changes to 1.1.0-RC8
129 129
 // If these are appropriate for your LCD let us know.
130 130
 //
131
-#if 0 && HAS_SPI_LCD
131
+#if 0 && HAS_WIRED_LCD
132 132
 
133 133
   // LCD Display output pins
134 134
   #if BOTH(NEWPANEL, PANEL_ONE)
@@ -154,4 +154,4 @@
154 154
     #define DOGLCD_A0                         42
155 155
   #endif
156 156
 
157
-#endif // HAS_SPI_LCD
157
+#endif // HAS_WIRED_LCD

+ 1
- 1
Marlin/src/pins/ramps/pins_TT_OSCAR.h View File

@@ -271,7 +271,7 @@
271 271
 // LCDs and Controllers //
272 272
 //////////////////////////
273 273
 
274
-#if HAS_SPI_LCD
274
+#if HAS_WIRED_LCD
275 275
 
276 276
   //
277 277
   // LCD Display output pins

+ 2
- 2
Marlin/src/pins/ramps/pins_ULTIMAKER.h View File

@@ -119,7 +119,7 @@
119 119
 //
120 120
 // LCD / Controller
121 121
 //
122
-#if HAS_SPI_LCD
122
+#if HAS_WIRED_LCD
123 123
 
124 124
   #define BEEPER_PIN                          18
125 125
 
@@ -158,7 +158,7 @@
158 158
 
159 159
   #endif // !NEWPANEL
160 160
 
161
-#endif // HAS_SPI_LCD
161
+#endif // HAS_WIRED_LCD
162 162
 
163 163
 //
164 164
 // M3/M4/M5 - Spindle/Laser Control

+ 2
- 2
Marlin/src/pins/sam/pins_ARCHIM1.h View File

@@ -181,7 +181,7 @@
181 181
 //
182 182
 // LCD / Controller
183 183
 //
184
-#if HAS_SPI_LCD
184
+#if HAS_WIRED_LCD
185 185
   #define BEEPER_PIN                          23  // D24 PA15_CTS1
186 186
   #define LCD_PINS_RS                         17  // D17 PA12_RXD1
187 187
   #define LCD_PINS_ENABLE                     24  // D23 PA14_RTS1
@@ -198,4 +198,4 @@
198 198
     #define BTN_EN2                           13  // D13 PB27_TIOB0
199 199
     #define BTN_ENC                           16  // D16 PA13_TXD1
200 200
   #endif // NEWPANEL
201
-#endif // HAS_SPI_LCD
201
+#endif // HAS_WIRED_LCD

+ 1
- 1
Marlin/src/pins/sam/pins_ARCHIM2.h View File

@@ -237,7 +237,7 @@
237 237
 //
238 238
 // LCD / Controller
239 239
 //
240
-#if ANY(HAS_SPI_LCD, TOUCH_UI_ULTIPANEL, TOUCH_UI_FTDI_EVE)
240
+#if ANY(HAS_WIRED_LCD, TOUCH_UI_ULTIPANEL, TOUCH_UI_FTDI_EVE)
241 241
   #define BEEPER_PIN                          23  // D24 PA15_CTS1
242 242
   #define LCD_PINS_RS                         17  // D17 PA12_RXD1
243 243
   #define LCD_PINS_ENABLE                     24  // D23 PA14_RTS1

+ 2
- 2
Marlin/src/pins/sam/pins_DUE3DOM.h View File

@@ -113,7 +113,7 @@
113 113
 //
114 114
 // LCD / Controller
115 115
 //
116
-#if HAS_SPI_LCD
116
+#if HAS_WIRED_LCD
117 117
 
118 118
   #define LCD_PINS_RS                         42
119 119
   #define LCD_PINS_ENABLE                     43
@@ -168,4 +168,4 @@
168 168
 
169 169
     #define BEEPER_PIN                        -1
170 170
   #endif // SPARK_FULL_GRAPHICS
171
-#endif // HAS_SPI_LCD
171
+#endif // HAS_WIRED_LCD

+ 2
- 2
Marlin/src/pins/sam/pins_DUE3DOM_MINI.h View File

@@ -105,7 +105,7 @@
105 105
 //
106 106
 // LCD / Controller
107 107
 //
108
-#if HAS_SPI_LCD
108
+#if HAS_WIRED_LCD
109 109
 
110 110
   #define LCD_PINS_RS                         42
111 111
   #define LCD_PINS_ENABLE                     43
@@ -171,4 +171,4 @@
171 171
     #define DOGLCD_CS                         45
172 172
 
173 173
   #endif // SPARK_FULL_GRAPHICS
174
-#endif // HAS_SPI_LCD
174
+#endif // HAS_WIRED_LCD

+ 2
- 2
Marlin/src/pins/sam/pins_RADDS.h View File

@@ -226,7 +226,7 @@
226 226
 //
227 227
 // LCD / Controller
228 228
 //
229
-#if HAS_SPI_LCD
229
+#if HAS_WIRED_LCD
230 230
 
231 231
   #if ENABLED(RADDS_DISPLAY)
232 232
 
@@ -287,7 +287,7 @@
287 287
 
288 288
   #endif // SPARK_FULL_GRAPHICS
289 289
 
290
-#endif // HAS_SPI_LCD
290
+#endif // HAS_WIRED_LCD
291 291
 
292 292
 #ifndef SDSS
293 293
   #define SDSS                                 4

+ 2
- 2
Marlin/src/pins/sam/pins_RAMPS_DUO.h View File

@@ -76,7 +76,7 @@
76 76
 //
77 77
 // LCD / Controller
78 78
 //
79
-#if HAS_SPI_LCD
79
+#if HAS_WIRED_LCD
80 80
 
81 81
   #if BOTH(NEWPANEL, PANEL_ONE)
82 82
     #undef LCD_PINS_D4
@@ -129,4 +129,4 @@
129 129
 
130 130
   #endif // NEWPANEL
131 131
 
132
-#endif // HAS_SPI_LCD
132
+#endif // HAS_WIRED_LCD

+ 2
- 2
Marlin/src/pins/sam/pins_RAMPS_FD_V1.h View File

@@ -139,7 +139,7 @@
139 139
 //
140 140
 // LCD / Controller
141 141
 //
142
-#if HAS_SPI_LCD
142
+#if HAS_WIRED_LCD
143 143
   // ramps-fd lcd adaptor
144 144
 
145 145
   #define BEEPER_PIN                          37
@@ -203,7 +203,7 @@
203 203
     #define DOGLCD_MISO                       74  // MISO_PIN
204 204
   #endif
205 205
 
206
-#endif // HAS_SPI_LCD
206
+#endif // HAS_WIRED_LCD
207 207
 
208 208
 #if HAS_TMC_UART
209 209
   /**

+ 2
- 2
Marlin/src/pins/sam/pins_RURAMPS4D_11.h View File

@@ -200,7 +200,7 @@
200 200
 //
201 201
 // LCD / Controller
202 202
 //
203
-#if HAS_SPI_LCD
203
+#if HAS_WIRED_LCD
204 204
 
205 205
   #if ANY(RADDS_DISPLAY, REPRAP_DISCOUNT_SMART_CONTROLLER, REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
206 206
     #define BEEPER_PIN                        62
@@ -271,4 +271,4 @@
271 271
     #define BTN_ENC                           40
272 272
   #endif
273 273
 
274
-#endif // HAS_SPI_LCD
274
+#endif // HAS_WIRED_LCD

+ 2
- 2
Marlin/src/pins/sam/pins_RURAMPS4D_13.h View File

@@ -186,7 +186,7 @@
186 186
 //
187 187
 // LCD / Controller
188 188
 //
189
-#if HAS_SPI_LCD
189
+#if HAS_WIRED_LCD
190 190
 
191 191
   #if ANY(RADDS_DISPLAY, REPRAP_DISCOUNT_SMART_CONTROLLER, REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
192 192
     #define BEEPER_PIN                        62
@@ -253,4 +253,4 @@
253 253
     #define BTN_ENC                           40
254 254
   #endif
255 255
 
256
-#endif // HAS_SPI_LCD
256
+#endif // HAS_WIRED_LCD

+ 0
- 0
Marlin/src/pins/samd/pins_RAMPS_144.h View File


Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save