Skip to content

Commit 2e37d52

Browse files
authored
Merge pull request #198 from th3dstudio/2.0.x
2.92a
2 parents cfc5e50 + 2c0c465 commit 2e37d52

File tree

6 files changed

+47
-18
lines changed

6 files changed

+47
-18
lines changed

Board_Configs/TH3D_EZBoardLite/Firmware/Marlin/Configuration.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#pragma once
66
#define CONFIGURATION_H_VERSION 02010204
77

8-
#define UNIFIED_VERSION "TH3D UFW 2.92"
8+
#define UNIFIED_VERSION "TH3D UFW 2.92a"
99
#define STRING_DISTRIBUTION_DATE "2024-10-03"
1010

1111
//#@CONFIGURATION_START_FLAG

Board_Configs/TH3D_EZBoardLite_DIY/Firmware/Marlin/Configuration.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#pragma once
88
#define CONFIGURATION_H_VERSION 02010204
99

10-
#define UNIFIED_VERSION "TH3D UFW 2.92"
10+
#define UNIFIED_VERSION "TH3D UFW 2.92a"
1111
#define STRING_DISTRIBUTION_DATE "2024-10-03"
1212

1313
//#@CONFIGURATION_START_FLAG

Board_Configs/TH3D_EZBoardV2/Firmware/Marlin/Configuration.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#pragma once
66
#define CONFIGURATION_H_VERSION 02010204
77

8-
#define UNIFIED_VERSION "TH3D UFW 2.92"
8+
#define UNIFIED_VERSION "TH3D UFW 2.92a"
99
#define STRING_DISTRIBUTION_DATE "2024-10-03"
1010

1111
//#@CONFIGURATION_START_FLAG

Board_Configs/TH3D_EZBoardV2_DIY/Firmware/Marlin/Configuration.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#pragma once
88
#define CONFIGURATION_H_VERSION 02010204
99

10-
#define UNIFIED_VERSION "TH3D UFW 2.92"
10+
#define UNIFIED_VERSION "TH3D UFW 2.92a"
1111
#define STRING_DISTRIBUTION_DATE "2024-10-03"
1212

1313
//#@CONFIGURATION_START_FLAG

Firmware/Marlin/Configuration_backend.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//===========================================================================
88

99
#ifndef UNIFIED_VERSION
10-
#define UNIFIED_VERSION "TH3D UFW 2.92"
10+
#define UNIFIED_VERSION "TH3D UFW 2.92a"
1111
#endif
1212

1313
/**
@@ -287,6 +287,7 @@
287287
#endif
288288

289289
#define NO_CREALITY_422_DRIVER_WARNING
290+
#define NO_AUTO_ASSIGN_WARNING
290291

291292
#if ENABLED(G26_MESH_VALIDATION)
292293
#define MESH_TEST_NOZZLE_SIZE 0.4 // (mm) Diameter of primary nozzle.

Firmware/Marlin/src/pins/stm32f4/pins_MKS_MONSTER8_common.h

Lines changed: 41 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -105,11 +105,20 @@
105105
#define E1_CS_PIN PD4
106106
#endif
107107

108-
#define E2_ENABLE_PIN PD3 // Driver5
109-
#define E2_STEP_PIN PD2
110-
#define E2_DIR_PIN PD1
111-
#ifndef E2_CS_PIN
112-
#define E2_CS_PIN PD0
108+
#if ENABLED(MKS_MONSTER_8_V2_DUALZ_MOTORS) //TH3D Customizations
109+
#define Z2_ENABLE_PIN PD3 // Driver5
110+
#define Z2_STEP_PIN PD2
111+
#define Z2_DIR_PIN PD1
112+
#ifndef Z2_CS_PIN
113+
#define Z2_CS_PIN PD0
114+
#endif
115+
#else
116+
#define E2_ENABLE_PIN PD3 // Driver5
117+
#define E2_STEP_PIN PD2
118+
#define E2_DIR_PIN PD1
119+
#ifndef E2_CS_PIN
120+
#define E2_CS_PIN PD0
121+
#endif
113122
#endif
114123

115124
#define E3_ENABLE_PIN PC8 // Driver6
@@ -165,8 +174,13 @@
165174
#define E1_SERIAL_TX_PIN PD4
166175
#define E1_SERIAL_RX_PIN E1_SERIAL_TX_PIN
167176

168-
#define E2_SERIAL_TX_PIN PD0
169-
#define E2_SERIAL_RX_PIN E2_SERIAL_TX_PIN
177+
#if ENABLED(MKS_MONSTER_8_V2_DUALZ_MOTORS) //TH3D Customizations
178+
#define Z2_SERIAL_TX_PIN PD0
179+
#define Z2_SERIAL_RX_PIN Z2_SERIAL_TX_PIN
180+
#else
181+
#define E2_SERIAL_TX_PIN PD0
182+
#define E2_SERIAL_RX_PIN E2_SERIAL_TX_PIN
183+
#endif
170184

171185
#define E3_SERIAL_TX_PIN PD15
172186
#define E3_SERIAL_RX_PIN E3_SERIAL_TX_PIN
@@ -314,9 +328,14 @@
314328

315329
#elif HAS_WIRED_LCD
316330

317-
#define LCD_PINS_EN EXP1_03_PIN
318-
#define LCD_PINS_RS EXP1_04_PIN
319-
#define LCD_BACKLIGHT_PIN -1
331+
#if ENABLED(CR10_STOCKDISPLAY) //TH3D Customizations
332+
#define LCD_PINS_RS EXP1_07_PIN
333+
#define LCD_PINS_EN EXP1_08_PIN
334+
#else
335+
#define LCD_PINS_EN EXP1_03_PIN
336+
#define LCD_PINS_RS EXP1_04_PIN
337+
#define LCD_BACKLIGHT_PIN -1
338+
#endif
320339

321340
// MKS MINI12864 and MKS LCD12864B; If using MKS LCD12864A (Need to remove RPK2 resistor)
322341
#if ENABLED(MKS_MINI_12864)
@@ -347,8 +366,12 @@
347366

348367
#else
349368

350-
#define LCD_PINS_D4 EXP1_05_PIN
351-
#if IS_ULTIPANEL
369+
#if ENABLED(CR10_STOCKDISPLAY) //TH3D Customizations
370+
#define LCD_PINS_D4 EXP1_06_PIN
371+
#else
372+
#define LCD_PINS_D4 EXP1_05_PIN
373+
#endif
374+
#if ENABLED(ULTIPANEL)
352375
#define LCD_PINS_D5 EXP1_06_PIN
353376
#define LCD_PINS_D6 EXP1_07_PIN
354377
#define LCD_PINS_D7 EXP1_08_PIN
@@ -362,7 +385,12 @@
362385

363386
#endif // HAS_WIRED_LCD
364387

365-
#if ANY(TFT_COLOR_UI, TFT_CLASSIC_UI, HAS_WIRED_LCD)
388+
#if ENABLED(CR10_STOCKDISPLAY) //TH3D Customizations
389+
#define BTN_EN1 EXP1_03_PIN
390+
#define BTN_EN2 EXP1_05_PIN
391+
#define BTN_ENC EXP1_02_PIN
392+
#define BEEPER_PIN EXP1_01_PIN
393+
#elif ANY(TFT_COLOR_UI, TFT_CLASSIC_UI, HAS_WIRED_LCD)
366394
#define BEEPER_PIN EXP1_01_PIN
367395
#define BTN_EN1 EXP2_03_PIN
368396
#define BTN_EN2 EXP2_05_PIN

0 commit comments

Comments
 (0)