makerbase vor 4 Jahren
Ursprung
Commit
006b7f3f17
Es ist kein Account mit der E-Mail-Adresse des Committers verbunden
4 geänderte Dateien mit 96 neuen und 6 gelöschten Zeilen
  1. 5
    3
      Marlin/Makefile
  2. 4
    3
      Marlin/src/core/boards.h
  3. 2
    0
      Marlin/src/pins/pins.h
  4. 85
    0
      Marlin/src/pins/ramps/pins_MKS_GEN_L_V21.h

+ 5
- 3
Marlin/Makefile Datei anzeigen

@@ -268,12 +268,14 @@ else ifeq ($(HARDWARE_MOTHERBOARD),1148)
268 268
 else ifeq ($(HARDWARE_MOTHERBOARD),1149)
269 269
 # MKS GEN L V2
270 270
 else ifeq ($(HARDWARE_MOTHERBOARD),1150)
271
-# Copymaster 3D
271
+# MKS GEN L V2.1
272 272
 else ifeq ($(HARDWARE_MOTHERBOARD),1151)
273
-# Ortur 4
273
+# Copymaster 3D
274 274
 else ifeq ($(HARDWARE_MOTHERBOARD),1152)
275
-# Tenlog D3 Hero
275
+# Ortur 4
276 276
 else ifeq ($(HARDWARE_MOTHERBOARD),1153)
277
+# Tenlog D3 Hero
278
+else ifeq ($(HARDWARE_MOTHERBOARD),1154)
277 279
 
278 280
 #
279 281
 # RAMBo and derivatives

+ 4
- 3
Marlin/src/core/boards.h Datei anzeigen

@@ -104,9 +104,10 @@
104 104
 #define BOARD_HJC2560C_REV2           1148  // ADIMLab Gantry v2
105 105
 #define BOARD_TANGO                   1149  // BIQU Tango V1
106 106
 #define BOARD_MKS_GEN_L_V2            1150  // MKS GEN L V2
107
-#define BOARD_COPYMASTER_3D           1151  // Copymaster 3D
108
-#define BOARD_ORTUR_4                 1152  // Ortur 4
109
-#define BOARD_TENLOG_D3_HERO          1153  // Tenlog D3 Hero IDEX printer
107
+#define BOARD_MKS_GEN_L_V21           1151  // MKS GEN L V2.1
108
+#define BOARD_COPYMASTER_3D           1152  // Copymaster 3D
109
+#define BOARD_ORTUR_4                 1153  // Ortur 4
110
+#define BOARD_TENLOG_D3_HERO          1154  // Tenlog D3 Hero IDEX printer
110 111
 
111 112
 //
112 113
 // RAMBo and derivatives

+ 2
- 0
Marlin/src/pins/pins.h Datei anzeigen

@@ -196,6 +196,8 @@
196 196
   #include "ramps/pins_ORTUR_4.h"               // ATmega2560                             env:mega2560
197 197
 #elif MB(TENLOG_D3_HERO)
198 198
   #include "ramps/pins_TENLOG_D3_HERO.h"        // ATmega2560                             env:mega2560
199
+#elif MB(MKS_GEN_L_V21)
200
+  #include "ramps/pins_MKS_GEN_L_V21.h"         // ATmega2560                             env:mega2560
199 201
 
200 202
 //
201 203
 // RAMBo and derivatives

+ 85
- 0
Marlin/src/pins/ramps/pins_MKS_GEN_L_V21.h Datei anzeigen

@@ -0,0 +1,85 @@
1
+/**
2
+ * Marlin 3D Printer Firmware
3
+ * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
4
+ *
5
+ * Based on Sprinter and grbl.
6
+ * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
7
+ *
8
+ * This program is free software: you can redistribute it and/or modify
9
+ * it under the terms of the GNU General Public License as published by
10
+ * the Free Software Foundation, either version 3 of the License, or
11
+ * (at your option) any later version.
12
+ *
13
+ * This program is distributed in the hope that it will be useful,
14
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
+ * GNU General Public License for more details.
17
+ *
18
+ * You should have received a copy of the GNU General Public License
19
+ * along with this program.  If not, see <https://www.gnu.org/licenses/>.
20
+ *
21
+ */
22
+#pragma once
23
+
24
+/**
25
+ * MKS GEN L V2 – Arduino Mega2560 with RAMPS v1.4 pin assignments
26
+ */
27
+
28
+#if HOTENDS > 2 || E_STEPPERS > 2
29
+  #error "MKS GEN L V2.1 supports up to 2 hotends / E-steppers. Comment out this line to continue."
30
+#endif
31
+
32
+#define BOARD_INFO_NAME "MKS GEN L V2.1"
33
+
34
+//
35
+// Heaters / Fans
36
+//
37
+// Power outputs EFBF or EFBE
38
+#define MOSFET_D_PIN                           7
39
+
40
+//
41
+// CS Pins wired to avoid conflict with the LCD
42
+// See https://www.thingiverse.com/asset:66604
43
+//
44
+
45
+#ifndef X_CS_PIN
46
+  #define X_CS_PIN                            63
47
+#endif
48
+#ifndef Y_CS_PIN
49
+  #define Y_CS_PIN                            64
50
+#endif
51
+#ifndef Z_CS_PIN
52
+  #define Z_CS_PIN                            65
53
+#endif
54
+#ifndef E0_CS_PIN
55
+  #define E0_CS_PIN                           66
56
+#endif
57
+#ifndef E1_CS_PIN
58
+  #define E1_CS_PIN                           12
59
+#endif
60
+
61
+// TMC2130 Diag Pins (currently just for reference)
62
+#define X_DIAG_PIN                             3
63
+#define Y_DIAG_PIN                            14
64
+#define Z_DIAG_PIN                            18
65
+#define E0_DIAG_PIN                            2
66
+#define E1_DIAG_PIN                           15
67
+
68
+#ifndef SERVO1_PIN
69
+  #define SERVO1_PIN                          21
70
+#endif
71
+#ifndef SERVO2_PIN
72
+  #define SERVO2_PIN                          39
73
+#endif
74
+#ifndef SERVO3_PIN
75
+  #define SERVO3_PIN                          32
76
+#endif
77
+
78
+#ifndef E1_SERIAL_TX_PIN
79
+  #define E1_SERIAL_TX_PIN                    20
80
+#endif
81
+#ifndef E1_SERIAL_RX_PIN
82
+  #define E1_SERIAL_RX_PIN                    12
83
+#endif
84
+
85
+#include "pins_RAMPS.h"

Laden…
Abbrechen
Speichern