|
@@ -0,0 +1,98 @@
|
|
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
|
+#ifndef __STM32F1__
|
|
24
|
+ #error "Oops! Make sure you have an STM32F1 board selected from the 'Tools -> Boards' menu."
|
|
25
|
+#endif
|
|
26
|
+
|
|
27
|
+/**
|
|
28
|
+ * 24.05.2018 Axel "chepo" Sepúlveda Marlin for (stm32f103vet6) sch of board https://github.com/chepo92/Smartto/blob/master/Rostock301/Hardware_GTM32_PRO_VB.pdf
|
|
29
|
+ */
|
|
30
|
+
|
|
31
|
+#define DEFAULT_MACHINE_NAME "STM32F103VET6"
|
|
32
|
+#define BOARD_NAME "GTM32 Pro VB"
|
|
33
|
+
|
|
34
|
+// Ignore temp readings during development.
|
|
35
|
+#define BOGUS_TEMPERATURE_FAILSAFE_OVERRIDE
|
|
36
|
+
|
|
37
|
+//
|
|
38
|
+// Limit Switches
|
|
39
|
+//
|
|
40
|
+#define X_MIN_PIN PE5
|
|
41
|
+#define X_MAX_PIN PE4
|
|
42
|
+#define Y_MIN_PIN PE3
|
|
43
|
+#define Y_MAX_PIN PE2
|
|
44
|
+#define Z_MIN_PIN PE1
|
|
45
|
+#define Z_MAX_PIN PE0
|
|
46
|
+
|
|
47
|
+//
|
|
48
|
+// Steppers
|
|
49
|
+//
|
|
50
|
+#define X_STEP_PIN PC6
|
|
51
|
+#define X_DIR_PIN PD13
|
|
52
|
+#define X_ENABLE_PIN PA8
|
|
53
|
+
|
|
54
|
+#define Y_STEP_PIN PA12
|
|
55
|
+#define Y_DIR_PIN PA11
|
|
56
|
+#define Y_ENABLE_PIN PA15 // core conflict?
|
|
57
|
+
|
|
58
|
+#define Z_STEP_PIN PD6
|
|
59
|
+#define Z_DIR_PIN PD3
|
|
60
|
+#define Z_ENABLE_PIN PB3 // core conflict?
|
|
61
|
+
|
|
62
|
+#define E0_STEP_PIN PC14
|
|
63
|
+#define E0_DIR_PIN PC13
|
|
64
|
+#define E0_ENABLE_PIN PC15
|
|
65
|
+
|
|
66
|
+#define E1_STEP_PIN PA0
|
|
67
|
+#define E1_DIR_PIN PB6
|
|
68
|
+#define E1_ENABLE_PIN PA1
|
|
69
|
+
|
|
70
|
+#define E2_STEP_PIN PB2
|
|
71
|
+#define E2_DIR_PIN PB11
|
|
72
|
+#define E2_ENABLE_PIN PC4
|
|
73
|
+
|
|
74
|
+//
|
|
75
|
+// Temperature Sensors
|
|
76
|
+//
|
|
77
|
+#define TEMP_BED_PIN PC0
|
|
78
|
+#define TEMP_0_PIN PC1
|
|
79
|
+#define TEMP_1_PIN PC2
|
|
80
|
+#define TEMP_2_PIN PC3
|
|
81
|
+
|
|
82
|
+//
|
|
83
|
+// Heaters / Fans
|
|
84
|
+//
|
|
85
|
+#define HEATER_0_PIN PB4 // EXTRUDER 1
|
|
86
|
+#define HEATER_1_PIN PB5 // EXTRUDER 2
|
|
87
|
+#define HEATER_2_PIN PB0 // EXTRUDER 3
|
|
88
|
+
|
|
89
|
+#define HEATER_BED_PIN PB1 // BED
|
|
90
|
+
|
|
91
|
+#define FAN_PIN PB7 // (Sprinter config)
|
|
92
|
+#define FAN1_PIN PB8
|
|
93
|
+#define FAN2_PIN PB9
|
|
94
|
+
|
|
95
|
+//
|
|
96
|
+// Misc. Functions
|
|
97
|
+//
|
|
98
|
+#define LED_PIN PD12
|