Browse Source

[2.0.x] Add GTM32 Pro VB support (#10898)

Axel 6 years ago
parent
commit
ae322e0c54
3 changed files with 102 additions and 1 deletions
  1. 2
    1
      Marlin/src/core/boards.h
  2. 2
    0
      Marlin/src/pins/pins.h
  3. 98
    0
      Marlin/src/pins/pins_GTM32_PRO_VB.h

+ 2
- 1
Marlin/src/core/boards.h View File

@@ -206,9 +206,10 @@
206 206
 // STM32 ARM Cortex-M3
207 207
 //
208 208
 
209
-#define BOARD_STM32F1R         1800   // STM3R Libmaple based STM32F1 controller
209
+#define BOARD_STM32F1R         1800   // STM32R Libmaple based STM32F1 controller
210 210
 #define BOARD_MALYAN_M200      1801   // STM32C8T6 Libmaple based stm32f1 controller
211 211
 #define BOARD_STM3R_MINI       1803   // STM32 Libmaple based stm32f1 controller
212
+#define BOARD_GTM32_PRO_VB     1805   // STM32f103VET6 controller
212 213
 
213 214
 //
214 215
 // STM32 ARM Cortex-M4F

+ 2
- 0
Marlin/src/pins/pins.h View File

@@ -362,6 +362,8 @@
362 362
   #include "pins_MALYAN_M200.h"       // STM32F1                                    env:malyanm200
363 363
 #elif MB(CHITU3D)
364 364
   #include "pins_CHITU3D.h"           // STM32F1                                    env:STM32F1
365
+#elif MB(GTM32_PRO_VB)
366
+  #include "pins_GTM32_PRO_VB.h"      // STM32F1                                    env:STM32F1
365 367
 
366 368
 //
367 369
 // STM32 ARM Cortex-M4F

+ 98
- 0
Marlin/src/pins/pins_GTM32_PRO_VB.h View File

@@ -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

Loading…
Cancel
Save