Skip to content

Commit b58d5da

Browse files
authored
🔧 BTT_MINI_12864_V1 => BTT_MINI_12864 (#26160)
1 parent 047bce0 commit b58d5da

File tree

9 files changed

+17
-15
lines changed

9 files changed

+17
-15
lines changed

Marlin/Configuration.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2988,10 +2988,10 @@
29882988
//#define FYSETC_GENERIC_12864_1_1 // Larger display with basic ON/OFF backlight.
29892989

29902990
//
2991-
// BigTreeTech Mini 12864 V1.0 is an alias for FYSETC_MINI_12864_2_1. Type A/B. NeoPixel RGB Backlight.
2992-
// https://github.com/bigtreetech/MINI-12864/tree/master/mini12864_v1.0
2991+
// BigTreeTech Mini 12864 V1.0 / V2.0 is an alias for FYSETC_MINI_12864_2_1. Type A/B. NeoPixel RGB Backlight.
2992+
// https://github.com/bigtreetech/MINI-12864
29932993
//
2994-
//#define BTT_MINI_12864_V1
2994+
//#define BTT_MINI_12864
29952995

29962996
//
29972997
// Factory display for Creality CR-10 / CR-7 / Ender-3

Marlin/src/inc/Changes.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -663,6 +663,8 @@
663663
#error "INTEGRATED_BABYSTEPPING is no longer needed and should be removed."
664664
#elif defined(FOLDER_SORTING)
665665
#error "FOLDER_SORTING is now SDSORT_FOLDERS."
666+
#elif defined(BTT_MINI_12864_V1)
667+
#error "BTT_MINI_12864_V1 is now BTT_MINI_12864."
666668
#endif
667669

668670
// L64xx stepper drivers have been removed

Marlin/src/inc/Conditionals_LCD.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@
3535
#define MKS_MINI_12864
3636
#endif
3737

38-
// MKS_MINI_12864_V3 and BTT_MINI_12864_V1 are identical to FYSETC_MINI_12864_2_1
39-
#if ANY(MKS_MINI_12864_V3, BTT_MINI_12864_V1)
38+
// MKS_MINI_12864_V3 and BTT_MINI_12864 have identical pinouts to FYSETC_MINI_12864_2_1
39+
#if ANY(MKS_MINI_12864_V3, BTT_MINI_12864)
4040
#define FYSETC_MINI_12864_2_1
4141
#endif
4242

Marlin/src/inc/SanityCheck.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2563,8 +2563,8 @@ static_assert(COUNT(arm) == LOGICAL_AXES, "AXIS_RELATIVE_MODES must contain " _L
25632563
+ (ENABLED(U8GLIB_SSD1306) && DISABLED(IS_U8GLIB_SSD1306)) \
25642564
+ (ENABLED(MINIPANEL) && NONE(MKS_MINI_12864, ENDER2_STOCKDISPLAY)) \
25652565
+ (ENABLED(MKS_MINI_12864) && NONE(MKS_LCD12864A, MKS_LCD12864B)) \
2566-
+ (ENABLED(FYSETC_MINI_12864_2_1) && NONE(MKS_MINI_12864_V3, BTT_MINI_12864_V1)) \
2567-
+ COUNT_ENABLED(MKS_MINI_12864_V3, BTT_MINI_12864_V1) \
2566+
+ (ENABLED(FYSETC_MINI_12864_2_1) && NONE(MKS_MINI_12864_V3, BTT_MINI_12864)) \
2567+
+ COUNT_ENABLED(MKS_MINI_12864_V3, BTT_MINI_12864) \
25682568
+ (ENABLED(EXTENSIBLE_UI) && DISABLED(IS_EXTUI)) \
25692569
+ (DISABLED(IS_LEGACY_TFT) && ENABLED(TFT_GENERIC)) \
25702570
+ (ENABLED(IS_LEGACY_TFT) && COUNT_ENABLED(TFT_320x240, TFT_320x240_SPI, TFT_480x320, TFT_480x320_SPI)) \

Marlin/src/pins/esp32/pins_MKS_TINYBEE.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@
169169
#define DOGLCD_A0 EXP1_07_PIN
170170
#define LCD_RESET_PIN -1
171171
#elif ENABLED(FYSETC_MINI_12864_2_1)
172-
// MKS_MINI_12864_V3, BTT_MINI_12864_V1, FYSETC_MINI_12864_2_1
172+
// MKS_MINI_12864_V3, BTT_MINI_12864, FYSETC_MINI_12864_2_1
173173
#define DOGLCD_CS EXP1_03_PIN
174174
#define DOGLCD_A0 EXP1_04_PIN
175175
#define LCD_RESET_PIN EXP1_05_PIN

Marlin/src/pins/stm32f1/pins_BTT_SKR_E3_DIP.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@
238238
#endif
239239

240240
/**
241-
* FYSETC_MINI_12864_2_1 / MKS_MINI_12864_V3 / BTT_MINI_12864_V1 display pinout
241+
* FYSETC_MINI_12864_2_1 / MKS_MINI_12864_V3 / BTT_MINI_12864 display pinout
242242
*
243243
* Board Display
244244
* ------ ------

Marlin/src/pins/stm32f1/pins_BTT_SKR_MINI_E3_common.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -275,11 +275,11 @@
275275
#elif ENABLED(FYSETC_MINI_12864_2_1)
276276

277277
#ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
278-
#error "CAUTION! FYSETC_MINI_12864_2_1 / MKS_MINI_12864_V3 / BTT_MINI_12864_V1 requires wiring modifications. See 'pins_BTT_SKR_MINI_E3_common.h' for details. (Define NO_CONTROLLER_CUSTOM_WIRING_WARNING to suppress this warning.)"
278+
#error "CAUTION! FYSETC_MINI_12864_2_1 / MKS_MINI_12864_V3 / BTT_MINI_12864 requires wiring modifications. See 'pins_BTT_SKR_MINI_E3_common.h' for details. (Define NO_CONTROLLER_CUSTOM_WIRING_WARNING to suppress this warning.)"
279279
#endif
280280

281281
/**
282-
* FYSETC_MINI_12864_2_1 / MKS_MINI_12864_V3 / BTT_MINI_12864_V1 display pinout
282+
* FYSETC_MINI_12864_2_1 / MKS_MINI_12864_V3 / BTT_MINI_12864 display pinout
283283
*
284284
* Board Display
285285
* ------ ------
@@ -337,7 +337,7 @@
337337
#define FORCE_SOFT_SPI
338338

339339
#else
340-
#error "Only CR10_STOCKDISPLAY, LCD_FOR_MELZI, ZONESTAR_LCD, ENDER2_STOCKDISPLAY, MKS_MINI_12864, TFTGLCD_PANEL_(SPI|I2C), FYSETC_MINI_12864_2_1, MKS_MINI_12864_V3, and BTT_MINI_12864_V1 are currently supported on the BIGTREE_SKR_MINI_E3."
340+
#error "Only CR10_STOCKDISPLAY, LCD_FOR_MELZI, ZONESTAR_LCD, ENDER2_STOCKDISPLAY, MKS_MINI_12864, TFTGLCD_PANEL_(SPI|I2C), FYSETC_MINI_12864_2_1, MKS_MINI_12864_V3, and BTT_MINI_12864 are currently supported on the BIGTREE_SKR_MINI_E3."
341341
#endif
342342

343343
#endif // HAS_WIRED_LCD

Marlin/src/pins/stm32g0/pins_BTT_SKR_MINI_E3_V3_0.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@
338338
* Neopixel EXP2
339339
*
340340
* Needs custom cable. Connect EN2-EN2, LCD_CS-LCD_CS and so on.
341-
* Note: The RESET line is connected to 3 pins.
341+
* Note: The RESET line is connected to 3 pins.
342342
*
343343
* Check the index/notch position twice!!!
344344
* On BTT boards pins from IDC10 connector are numbered in unusual order.

Marlin/src/pins/stm32h7/pins_BTT_OCTOPUS_MAX_EZ.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@
406406
// LCDs and Controllers
407407
//
408408

409-
#if ENABLED(BTT_MINI_12864_V1) // BTT Mini 12864 V2.0 connected via 18-pin FCP cable
409+
#if ENABLED(BTT_MINI_12864) // BTT Mini 12864 V2.0 connected via 18-pin FPC cable
410410

411411
#define BEEPER_PIN EXP1_01_PIN
412412
#define BTN_ENC EXP1_02_PIN
@@ -435,7 +435,7 @@
435435
#define NEOPIXEL_PIN EXP1_06_PIN
436436

437437
#elif HAS_WIRED_LCD
438-
#error "Only BTT_MINI_12864_V1 is currently supported on the BIGTREE_OCTOPUS_MAX_EZ."
438+
#error "Only BTT_MINI_12864 (BTT Mini 12864 V2.0 with FPC cable) is currently supported on the BIGTREE_OCTOPUS_MAX_EZ."
439439
#endif
440440

441441
//

0 commit comments

Comments
 (0)