Skip to content

Commit e12f2b7

Browse files
committed
🎨 Rename BTT Mini 12864
1 parent d56136f commit e12f2b7

File tree

8 files changed

+16
-14
lines changed

8 files changed

+16
-14
lines changed

Marlin/Configuration.h

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

29892989
//
2990-
// BigTreeTech Mini 12864 V1.0 is an alias for FYSETC_MINI_12864_2_1. Type A/B. NeoPixel RGB Backlight.
2991-
// https://github.com/bigtreetech/MINI-12864/tree/master/mini12864_v1.0
2990+
// BigTreeTech Mini 12864 V1.0 / V2.0 is an alias for FYSETC_MINI_12864_2_1. Type A/B. NeoPixel RGB Backlight.
2991+
// https://github.com/bigtreetech/MINI-12864
29922992
//
2993-
//#define BTT_MINI_12864_V1
2993+
//#define BTT_MINI_12864
29942994

29952995
//
29962996
// 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
@@ -280,6 +280,8 @@
280280
#error "ANET_KEYPAD_LCD is now ZONESTAR_LCD."
281281
#elif defined(LCD_I2C_SAINSMART_YWROBOT)
282282
#error "LCD_I2C_SAINSMART_YWROBOT is now LCD_SAINSMART_I2C_(1602|2004)."
283+
#elif defined(BTT_MINI_12864_V1)
284+
#error "BTT_MINI_12864_V1 is now BTT_MINI_12864."
283285
#elif defined(MEASURED_LOWER_LIMIT) || defined(MEASURED_UPPER_LIMIT)
284286
#error "MEASURED_(UPPER|LOWER)_LIMIT is now FILWIDTH_ERROR_MARGIN."
285287
#elif defined(HAVE_TMCDRIVER)

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
@@ -2561,8 +2561,8 @@ static_assert(COUNT(arm) == LOGICAL_AXES, "AXIS_RELATIVE_MODES must contain " _L
25612561
+ (ENABLED(U8GLIB_SSD1306) && DISABLED(IS_U8GLIB_SSD1306)) \
25622562
+ (ENABLED(MINIPANEL) && NONE(MKS_MINI_12864, ENDER2_STOCKDISPLAY)) \
25632563
+ (ENABLED(MKS_MINI_12864) && NONE(MKS_LCD12864A, MKS_LCD12864B)) \
2564-
+ (ENABLED(FYSETC_MINI_12864_2_1) && NONE(MKS_MINI_12864_V3, BTT_MINI_12864_V1)) \
2565-
+ COUNT_ENABLED(MKS_MINI_12864_V3, BTT_MINI_12864_V1) \
2564+
+ (ENABLED(FYSETC_MINI_12864_2_1) && NONE(MKS_MINI_12864_V3, BTT_MINI_12864)) \
2565+
+ COUNT_ENABLED(MKS_MINI_12864_V3, BTT_MINI_12864) \
25662566
+ (ENABLED(EXTENSIBLE_UI) && DISABLED(IS_EXTUI)) \
25672567
+ (DISABLED(IS_LEGACY_TFT) && ENABLED(TFT_GENERIC)) \
25682568
+ (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/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)