Przeglądaj źródła

Support for AnyCubic TriGorilla board (#9551)

Scott Lahteine 7 lat temu
rodzic
commit
c0dd9ef9f2
No account linked to committer's email address

+ 1
- 0
Marlin/src/core/boards.h Wyświetl plik

74
 #define BOARD_RUMBA             80    // Rumba
74
 #define BOARD_RUMBA             80    // Rumba
75
 #define BOARD_BQ_ZUM_MEGA_3D    503   // bq ZUM Mega 3D
75
 #define BOARD_BQ_ZUM_MEGA_3D    503   // bq ZUM Mega 3D
76
 #define BOARD_MAKEBOARD_MINI    431   // MakeBoard Mini v2.1.2 is a control board sold by MicroMake
76
 #define BOARD_MAKEBOARD_MINI    431   // MakeBoard Mini v2.1.2 is a control board sold by MicroMake
77
+#define BOARD_TRIGORILLA        343   // TriGorilla Anycubic version 1.3 based on RAMPS EFB
77
 
78
 
78
 //
79
 //
79
 // Other ATmega1280, ATmega2560
80
 // Other ATmega1280, ATmega2560

+ 2
- 0
Marlin/src/pins/pins.h Wyświetl plik

132
   #include "pins_BQ_ZUM_MEGA_3D.h"    // ATmega2560
132
   #include "pins_BQ_ZUM_MEGA_3D.h"    // ATmega2560
133
 #elif MB(MAKEBOARD_MINI)
133
 #elif MB(MAKEBOARD_MINI)
134
   #include "pins_MAKEBOARD_MINI.h"    // ATmega2560
134
   #include "pins_MAKEBOARD_MINI.h"    // ATmega2560
135
+#elif MB(TRIGORILLA)
136
+  #include "pins_TRIGORILLA.h"        // ATmega2560
135
 
137
 
136
 //
138
 //
137
 // Other ATmega1280, ATmega2560
139
 // Other ATmega1280, ATmega2560

+ 48
- 0
Marlin/src/pins/pins_TRIGORILLA.h Wyświetl plik

1
+/**
2
+ * Marlin 3D Printer Firmware
3
+ * Copyright (C) 2016 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 <http://www.gnu.org/licenses/>.
20
+ *
21
+ */
22
+
23
+/**
24
+ * Arduino Mega with RAMPS v1.4 for Anycubic
25
+ *
26
+ * Defines RAMPS_D44_PIN 44
27
+ * Defines FAN_PIN RAMPS_D44_PIN or -1
28
+ */
29
+
30
+#ifndef BOARD_NAME
31
+  #define BOARD_NAME "Anycubic RAMPS 1.4"
32
+#endif
33
+
34
+#define IS_RAMPS_EFB
35
+
36
+#include "pins_RAMPS_13.h"
37
+
38
+#undef FAN_PIN
39
+#define RAMPS_D44_PIN      44
40
+#define FAN_PIN            RAMPS_D44_PIN
41
+
42
+#undef ORIG_E0_AUTO_FAN_PIN
43
+#define ORIG_E0_AUTO_FAN_PIN RAMPS_D44_PIN
44
+
45
+#undef E1_STEP_PIN
46
+#undef E1_DIR_PIN
47
+#undef E1_ENABLE_PIN
48
+#undef E1_CS_PIN

Ładowanie…
Anuluj
Zapisz