|
@@ -154,35 +154,37 @@
|
154
|
154
|
#define SDIO_SUPPORT
|
155
|
155
|
#define NO_SD_HOST_DRIVE // This board's SD is only seen by the printer
|
156
|
156
|
|
157
|
|
-#if ENABLED(CR10_STOCKDISPLAY) && NONE(RET6_12864_LCD, VET6_12864_LCD)
|
158
|
|
- #error "Define RET6_12864_LCD or VET6_12864_LCD to select pins for CR10_STOCKDISPLAY with the Creality V4 controller."
|
159
|
|
-#endif
|
|
157
|
+#if ENABLED(CR10_STOCKDISPLAY)
|
160
|
158
|
|
161
|
|
-#if ENABLED(RET6_12864_LCD)
|
|
159
|
+ #if ENABLED(RET6_12864_LCD)
|
162
|
160
|
|
163
|
|
- // RET6 12864 LCD
|
164
|
|
- #define LCD_PINS_RS PB12
|
165
|
|
- #define LCD_PINS_ENABLE PB15
|
166
|
|
- #define LCD_PINS_D4 PB13
|
|
161
|
+ // RET6 12864 LCD
|
|
162
|
+ #define LCD_PINS_RS PB12
|
|
163
|
+ #define LCD_PINS_ENABLE PB15
|
|
164
|
+ #define LCD_PINS_D4 PB13
|
167
|
165
|
|
168
|
|
- #define BTN_ENC PB2
|
169
|
|
- #define BTN_EN1 PB10
|
170
|
|
- #define BTN_EN2 PB14
|
|
166
|
+ #define BTN_ENC PB2
|
|
167
|
+ #define BTN_EN1 PB10
|
|
168
|
+ #define BTN_EN2 PB14
|
171
|
169
|
|
172
|
|
- #ifndef HAS_PIN_27_BOARD
|
173
|
|
- #define BEEPER_PIN PC6
|
174
|
|
- #endif
|
|
170
|
+ #ifndef HAS_PIN_27_BOARD
|
|
171
|
+ #define BEEPER_PIN PC6
|
|
172
|
+ #endif
|
175
|
173
|
|
176
|
|
-#elif ENABLED(VET6_12864_LCD)
|
|
174
|
+ #elif ENABLED(VET6_12864_LCD)
|
177
|
175
|
|
178
|
|
- // VET6 12864 LCD
|
179
|
|
- #define LCD_PINS_RS PA4
|
180
|
|
- #define LCD_PINS_ENABLE PA7
|
181
|
|
- #define LCD_PINS_D4 PA5
|
|
176
|
+ // VET6 12864 LCD
|
|
177
|
+ #define LCD_PINS_RS PA4
|
|
178
|
+ #define LCD_PINS_ENABLE PA7
|
|
179
|
+ #define LCD_PINS_D4 PA5
|
182
|
180
|
|
183
|
|
- #define BTN_ENC PC5
|
184
|
|
- #define BTN_EN1 PB10
|
185
|
|
- #define BTN_EN2 PA6
|
|
181
|
+ #define BTN_ENC PC5
|
|
182
|
+ #define BTN_EN1 PB10
|
|
183
|
+ #define BTN_EN2 PA6
|
|
184
|
+
|
|
185
|
+ #else
|
|
186
|
+ #error "Define RET6_12864_LCD or VET6_12864_LCD to select pins for CR10_STOCKDISPLAY with the Creality V4 controller."
|
|
187
|
+ #endif
|
186
|
188
|
|
187
|
189
|
#elif EITHER(DWIN_CREALITY_LCD, IS_DWIN_MARLINUI)
|
188
|
190
|
|