Browse Source

Add RUMBA32 Board (#12856)

Chris Barr 6 years ago
parent
commit
1d33784bf9
3 changed files with 135 additions and 0 deletions
  1. 1
    0
      Marlin/src/core/boards.h
  2. 2
    0
      Marlin/src/pins/pins.h
  3. 132
    0
      Marlin/src/pins/pins_RUMBA32.h

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

@@ -241,6 +241,7 @@
241 241
 #define BOARD_BEAST            1802   // STM32FxxxVxT6 Libmaple based stm32f4 controller
242 242
 #define BOARD_STM32F4          1804   // STM32 STM32GENERIC based STM32F4 controller
243 243
 #define BOARD_ARMED            1807   // Arm'ed STM32F4 based controller
244
+#define BOARD_RUMBA32          1809   // RUMBA32 STM32F4 based controller
244 245
 
245 246
 //
246 247
 // ARM Cortex M7

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

@@ -419,6 +419,8 @@
419 419
   #include "pins_STM32F4.h"           // STM32F4                                    env:STM32F4
420 420
 #elif MB(ARMED)
421 421
   #include "pins_ARMED.h"             // STM32F4                                    env:ARMED
422
+#elif MB(RUMBA32)
423
+  #include "pins_RUMBA32.h"           // STM32F4                                    env:RUMBA32
422 424
 
423 425
 //
424 426
 // ARM Cortex M7

+ 132
- 0
Marlin/src/pins/pins_RUMBA32.h View File

@@ -0,0 +1,132 @@
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 STM32F4
24
+  #error "Oops! Select an STM32F4 board in 'Tools > Board.'"
25
+#endif
26
+
27
+#define RUMBA32_V1_0
28
+#define DEFAULT_MACHINE_NAME "RUMBA32"
29
+#define BOARD_NAME "RUMBA32"
30
+
31
+//#define I2C_EEPROM
32
+
33
+#define E2END 0xFFF // EEPROM end address (4kB)
34
+
35
+#if HOTENDS > 3 || E_STEPPERS > 3
36
+  #error "RUMBA32 supports up to 3 hotends / E-steppers."
37
+#endif
38
+
39
+//
40
+// Limit Switches
41
+//
42
+#define X_MIN_PIN          PB12
43
+#define X_MAX_PIN          PB13
44
+#define Y_MIN_PIN          PB15
45
+#define Y_MAX_PIN          PD8
46
+#define Z_MIN_PIN          PD9
47
+#define Z_MAX_PIN          PD10
48
+
49
+//
50
+// Steppers
51
+//
52
+#define X_STEP_PIN         PA0
53
+#define X_DIR_PIN          PC15
54
+#define X_ENABLE_PIN       PC11
55
+#define X_CS_PIN           PC14
56
+
57
+#define Y_STEP_PIN         PE5
58
+#define Y_DIR_PIN          PE6
59
+#define Y_ENABLE_PIN       PE3
60
+#define Y_CS_PIN           PE4
61
+
62
+#define Z_STEP_PIN         PE1
63
+#define Z_DIR_PIN          PE2
64
+#define Z_ENABLE_PIN       PB7
65
+#define Z_CS_PIN           PE0
66
+
67
+#define E0_STEP_PIN        PB5
68
+#define E0_DIR_PIN         PB6
69
+#define E0_ENABLE_PIN      PC12
70
+#define E0_CS_PIN          PC13
71
+
72
+#define E1_STEP_PIN        PD6
73
+#define E1_DIR_PIN         PD7
74
+#define E1_ENABLE_PIN      PD4
75
+#define E1_CS_PIN          PD5
76
+
77
+#define E2_STEP_PIN        PD2
78
+#define E2_DIR_PIN         PD3
79
+#define E2_ENABLE_PIN      PD0
80
+#define E2_CS_PIN          PD1
81
+
82
+//
83
+// Temperature Sensors
84
+//
85
+#define TEMP_0_PIN         PC4
86
+#define TEMP_1_PIN         PC3
87
+#define TEMP_2_PIN         PC2
88
+#define TEMP_3_PIN         PC1
89
+#define TEMP_BED_PIN       PC0
90
+
91
+//
92
+// Heaters / Fans
93
+//
94
+#define HEATER_0_PIN       PC6
95
+#define HEATER_1_PIN       PC7
96
+#define HEATER_2_PIN       PC8
97
+#define HEATER_BED_PIN     PA1
98
+
99
+#define FAN_PIN            PC9
100
+#define FAN1_PIN           PA8
101
+
102
+//
103
+// I2C
104
+//
105
+#define SCK_PIN            PA5
106
+#define MISO_PIN           PA6
107
+#define MOSI_PIN           PA7
108
+
109
+//
110
+// Misc. Functions
111
+//
112
+#define LED_PIN            PB14
113
+#define BTN_PIN            PC10
114
+#define PS_ON_PIN          PE11
115
+#define KILL_PIN           PC5
116
+
117
+#define SDSS               PA2
118
+#define SD_DETECT_PIN      PB0
119
+#define BEEPER_PIN         PE8
120
+
121
+//
122
+// LCD / Controller
123
+//
124
+#define LCD_PINS_RS        PE10
125
+#define LCD_PINS_ENABLE    PE9
126
+#define LCD_PINS_D4        PE12
127
+#define LCD_PINS_D5        PE13
128
+#define LCD_PINS_D6        PE14
129
+#define LCD_PINS_D7        PE15
130
+#define BTN_EN1            PB1
131
+#define BTN_EN2            PB2
132
+#define BTN_ENC            PE7

Loading…
Cancel
Save