Przeglądaj źródła

Add BIQU TANGO V1 support (#15682)

Aurawin 5 lat temu
rodzic
commit
b09b469dd5

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

@@ -99,6 +99,7 @@
99 99
 #define BOARD_OVERLORD                1143  // Overlord/Overlord Pro
100 100
 #define BOARD_HJC2560C_REV1           1144  // ADIMLab Gantry v1
101 101
 #define BOARD_HJC2560C_REV2           1145  // ADIMLab Gantry v2
102
+#define BOARD_TANGO                   1146  // BIQU Tango V1
102 103
 
103 104
 //
104 105
 // RAMBo and derivatives

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

@@ -180,6 +180,8 @@
180 180
   #include "ramps/pins_Z_BOLT_X_SERIES.h"       // ATmega2560                             env:megaatmega2560
181 181
 #elif MB(TT_OSCAR)
182 182
   #include "ramps/pins_TT_OSCAR.h"              // ATmega2560                             env:megaatmega2560
183
+#elif MB(TANGO)
184
+  #include "ramps/pins_TANGO.h"                 // ATmega2560                             env:megaatmega2560
183 185
 
184 186
 //
185 187
 // RAMBo and derivatives

+ 4
- 2
Marlin/src/pins/ramps/pins_RUMBA.h Wyświetl plik

@@ -143,7 +143,9 @@
143 143
 #ifndef FAN_PIN
144 144
   #define FAN_PIN           7
145 145
 #endif
146
-#define FAN1_PIN            8
146
+#ifndef FAN1_PIN
147
+  #define FAN1_PIN          8
148
+#endif
147 149
 
148 150
 //
149 151
 // Misc. Functions
@@ -160,7 +162,7 @@
160 162
   #define SPINDLE_LASER_PWM_PIN 4   // Hardware PWM. Pin 4 interrupts OC0* and OC1* always in use?
161 163
 #endif
162 164
 #ifndef SPINDLE_LASER_ENA_PIN
163
-  #define SPINDLE_LASER_ENA_PIN    14   // Pullup!
165
+  #define SPINDLE_LASER_ENA_PIN 14   // Pullup!
164 166
 #endif
165 167
 #ifndef SPINDLE_DIR_PIN
166 168
   #define SPINDLE_DIR_PIN  15

+ 51
- 0
Marlin/src/pins/ramps/pins_TANGO.h Wyświetl plik

@@ -0,0 +1,51 @@
1
+/**
2
+ * Marlin 3D Printer Firmware
3
+ * Copyright (c) 2019 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
+#pragma once
23
+
24
+/**
25
+ * BIQU Tango pin assignments
26
+ */
27
+
28
+#define BOARD_INFO_NAME "Tango"
29
+
30
+#define FAN_PIN             8
31
+#define FAN1_PIN           -1
32
+
33
+#define ORIG_E0_AUTO_FAN_PIN 7
34
+
35
+#ifndef TEMP_0_PIN
36
+  #if TEMP_SENSOR_0 == -1
37
+    #define TEMP_0_PIN     10   // Analog Input (connector *K1* on Tango thermocouple ADD ON is used)
38
+  #else
39
+    #define TEMP_0_PIN     15   // Analog Input (default connector for thermistor *T0* on rumba board is used)
40
+  #endif
41
+#endif
42
+
43
+#ifndef TEMP_1_PIN
44
+  #if TEMP_SENSOR_1 == -1
45
+    #define TEMP_1_PIN      9   // Analog Input (connector *K2* on Tango thermocouple ADD ON is used)
46
+  #else
47
+    #define TEMP_1_PIN     14   // Analog Input (default connector for thermistor *T1* on rumba board is used)
48
+  #endif
49
+#endif
50
+
51
+#include "pins_RUMBA.h"

Ładowanie…
Anuluj
Zapisz