8 Extruders + Graphical LCD fix (#18079)
This commit is contained in:
parent
59dfba3bb8
commit
8c0c8e4046
|
@ -1425,8 +1425,14 @@
|
||||||
#ifndef STATUS_HOTEND6_WIDTH
|
#ifndef STATUS_HOTEND6_WIDTH
|
||||||
#define STATUS_HOTEND6_WIDTH STATUS_HOTEND5_WIDTH
|
#define STATUS_HOTEND6_WIDTH STATUS_HOTEND5_WIDTH
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef STATUS_HOTEND7_WIDTH
|
||||||
|
#define STATUS_HOTEND7_WIDTH STATUS_HOTEND6_WIDTH
|
||||||
|
#endif
|
||||||
|
#ifndef STATUS_HOTEND8_WIDTH
|
||||||
|
#define STATUS_HOTEND8_WIDTH STATUS_HOTEND7_WIDTH
|
||||||
|
#endif
|
||||||
|
|
||||||
constexpr uint8_t status_hotend_width[HOTENDS] = ARRAY_N(HOTENDS, STATUS_HOTEND1_WIDTH, STATUS_HOTEND2_WIDTH, STATUS_HOTEND3_WIDTH, STATUS_HOTEND4_WIDTH, STATUS_HOTEND5_WIDTH, STATUS_HOTEND6_WIDTH);
|
constexpr uint8_t status_hotend_width[HOTENDS] = ARRAY_N(HOTENDS, STATUS_HOTEND1_WIDTH, STATUS_HOTEND2_WIDTH, STATUS_HOTEND3_WIDTH, STATUS_HOTEND4_WIDTH, STATUS_HOTEND5_WIDTH, STATUS_HOTEND6_WIDTH, STATUS_HOTEND7_WIDTH, STATUS_HOTEND8_WIDTH);
|
||||||
#define STATUS_HOTEND_WIDTH(N) status_hotend_width[N]
|
#define STATUS_HOTEND_WIDTH(N) status_hotend_width[N]
|
||||||
|
|
||||||
#ifndef STATUS_HOTEND1_BYTEWIDTH
|
#ifndef STATUS_HOTEND1_BYTEWIDTH
|
||||||
|
@ -1447,8 +1453,14 @@
|
||||||
#ifndef STATUS_HOTEND6_BYTEWIDTH
|
#ifndef STATUS_HOTEND6_BYTEWIDTH
|
||||||
#define STATUS_HOTEND6_BYTEWIDTH BW(STATUS_HOTEND6_WIDTH)
|
#define STATUS_HOTEND6_BYTEWIDTH BW(STATUS_HOTEND6_WIDTH)
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef STATUS_HOTEND7_BYTEWIDTH
|
||||||
|
#define STATUS_HOTEND7_BYTEWIDTH BW(STATUS_HOTEND7_WIDTH)
|
||||||
|
#endif
|
||||||
|
#ifndef STATUS_HOTEND8_BYTEWIDTH
|
||||||
|
#define STATUS_HOTEND8_BYTEWIDTH BW(STATUS_HOTEND8_WIDTH)
|
||||||
|
#endif
|
||||||
|
|
||||||
constexpr uint8_t status_hotend_bytewidth[HOTENDS] = ARRAY_N(HOTENDS, STATUS_HOTEND1_BYTEWIDTH, STATUS_HOTEND2_BYTEWIDTH, STATUS_HOTEND3_BYTEWIDTH, STATUS_HOTEND4_BYTEWIDTH, STATUS_HOTEND5_BYTEWIDTH, STATUS_HOTEND6_BYTEWIDTH);
|
constexpr uint8_t status_hotend_bytewidth[HOTENDS] = ARRAY_N(HOTENDS, STATUS_HOTEND1_BYTEWIDTH, STATUS_HOTEND2_BYTEWIDTH, STATUS_HOTEND3_BYTEWIDTH, STATUS_HOTEND4_BYTEWIDTH, STATUS_HOTEND5_BYTEWIDTH, STATUS_HOTEND6_BYTEWIDTH, STATUS_HOTEND7_BYTEWIDTH, STATUS_HOTEND8_BYTEWIDTH);
|
||||||
#define STATUS_HOTEND_BYTEWIDTH(N) status_hotend_bytewidth[N]
|
#define STATUS_HOTEND_BYTEWIDTH(N) status_hotend_bytewidth[N]
|
||||||
|
|
||||||
#ifndef STATUS_HOTEND1_X
|
#ifndef STATUS_HOTEND1_X
|
||||||
|
@ -1471,8 +1483,14 @@
|
||||||
#ifndef STATUS_HOTEND6_X
|
#ifndef STATUS_HOTEND6_X
|
||||||
#define STATUS_HOTEND6_X STATUS_HOTEND5_X + STATUS_HEATERS_XSPACE
|
#define STATUS_HOTEND6_X STATUS_HOTEND5_X + STATUS_HEATERS_XSPACE
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef STATUS_HOTEND7_X
|
||||||
|
#define STATUS_HOTEND7_X STATUS_HOTEND6_X + STATUS_HEATERS_XSPACE
|
||||||
|
#endif
|
||||||
|
#ifndef STATUS_HOTEND8_X
|
||||||
|
#define STATUS_HOTEND8_X STATUS_HOTEND7_X + STATUS_HEATERS_XSPACE
|
||||||
|
#endif
|
||||||
|
|
||||||
constexpr uint8_t status_hotend_x[HOTENDS] = ARRAY_N(HOTENDS, STATUS_HOTEND1_X, STATUS_HOTEND2_X, STATUS_HOTEND3_X, STATUS_HOTEND4_X, STATUS_HOTEND5_X, STATUS_HOTEND6_X);
|
constexpr uint8_t status_hotend_x[HOTENDS] = ARRAY_N(HOTENDS, STATUS_HOTEND1_X, STATUS_HOTEND2_X, STATUS_HOTEND3_X, STATUS_HOTEND4_X, STATUS_HOTEND5_X, STATUS_HOTEND6_X, STATUS_HOTEND7_X, STATUS_HOTEND8_X);
|
||||||
#define STATUS_HOTEND_X(N) status_hotend_x[N]
|
#define STATUS_HOTEND_X(N) status_hotend_x[N]
|
||||||
#elif HAS_MULTI_HOTEND
|
#elif HAS_MULTI_HOTEND
|
||||||
#define STATUS_HOTEND_X(N) ((N) ? STATUS_HOTEND2_X : STATUS_HOTEND1_X)
|
#define STATUS_HOTEND_X(N) ((N) ? STATUS_HOTEND2_X : STATUS_HOTEND1_X)
|
||||||
|
@ -1497,7 +1515,13 @@
|
||||||
#ifndef STATUS_HOTEND6_TEXT_X
|
#ifndef STATUS_HOTEND6_TEXT_X
|
||||||
#define STATUS_HOTEND6_TEXT_X STATUS_HOTEND5_TEXT_X + STATUS_HEATERS_XSPACE
|
#define STATUS_HOTEND6_TEXT_X STATUS_HOTEND5_TEXT_X + STATUS_HEATERS_XSPACE
|
||||||
#endif
|
#endif
|
||||||
constexpr uint8_t status_hotend_text_x[] = ARRAY_N(HOTENDS, STATUS_HOTEND1_TEXT_X, STATUS_HOTEND2_TEXT_X, STATUS_HOTEND3_TEXT_X, STATUS_HOTEND4_TEXT_X, STATUS_HOTEND5_TEXT_X, STATUS_HOTEND6_TEXT_X);
|
#ifndef STATUS_HOTEND7_TEXT_X
|
||||||
|
#define STATUS_HOTEND7_TEXT_X STATUS_HOTEND6_TEXT_X + STATUS_HEATERS_XSPACE
|
||||||
|
#endif
|
||||||
|
#ifndef STATUS_HOTEND8_TEXT_X
|
||||||
|
#define STATUS_HOTEND8_TEXT_X STATUS_HOTEND7_TEXT_X + STATUS_HEATERS_XSPACE
|
||||||
|
#endif
|
||||||
|
constexpr uint8_t status_hotend_text_x[] = ARRAY_N(HOTENDS, STATUS_HOTEND1_TEXT_X, STATUS_HOTEND2_TEXT_X, STATUS_HOTEND3_TEXT_X, STATUS_HOTEND4_TEXT_X, STATUS_HOTEND5_TEXT_X, STATUS_HOTEND6_TEXT_X, STATUS_HOTEND7_TEXT_X, STATUS_HOTEND8_TEXT_X);
|
||||||
#define STATUS_HOTEND_TEXT_X(N) status_hotend_text_x[N]
|
#define STATUS_HOTEND_TEXT_X(N) status_hotend_text_x[N]
|
||||||
#else
|
#else
|
||||||
#define STATUS_HOTEND_TEXT_X(N) (STATUS_HOTEND1_X + 6 + (N) * (STATUS_HEATERS_XSPACE))
|
#define STATUS_HOTEND_TEXT_X(N) (STATUS_HOTEND1_X + 6 + (N) * (STATUS_HEATERS_XSPACE))
|
||||||
|
|
|
@ -23,6 +23,7 @@ opt_set E1_AUTO_FAN_PIN PC11
|
||||||
opt_set E2_AUTO_FAN_PIN PC12
|
opt_set E2_AUTO_FAN_PIN PC12
|
||||||
opt_set X_DRIVER_TYPE TMC2208
|
opt_set X_DRIVER_TYPE TMC2208
|
||||||
opt_set Y_DRIVER_TYPE TMC2130
|
opt_set Y_DRIVER_TYPE TMC2130
|
||||||
|
opt_enable REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
|
||||||
exec_test $1 $2 "BigTreeTech GTR 8 Extruders with Auto-Fan and Mixed TMC Drivers"
|
exec_test $1 $2 "BigTreeTech GTR 8 Extruders with Auto-Fan and Mixed TMC Drivers"
|
||||||
|
|
||||||
restore_configs
|
restore_configs
|
||||||
|
|
Loading…
Reference in a new issue