Browse Source

Initial Commit - Add board

InsanityAutomation 6 years ago
parent
commit
bbcb61e042

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

86
 #define BOARD_TRIGORILLA_14     443   // TriGorilla Anycubic version 1.4 based on RAMPS EFB
86
 #define BOARD_TRIGORILLA_14     443   // TriGorilla Anycubic version 1.4 based on RAMPS EFB
87
 #define BOARD_RAMPS_ENDER_4     243   // Creality: Ender-4, CR-8
87
 #define BOARD_RAMPS_ENDER_4     243   // Creality: Ender-4, CR-8
88
 #define BOARD_RAMPS_CREALITY    244   // Creality: CR10S, CR20, CR-X
88
 #define BOARD_RAMPS_CREALITY    244   // Creality: CR10S, CR20, CR-X
89
+#define BOARD_RAMPS_Dagoma      245   // Dagoma F5
89
 #define BOARD_FYSETC_F6_13      541   // Fysetc F6
90
 #define BOARD_FYSETC_F6_13      541   // Fysetc F6
90
 #define BOARD_DUPLICATOR_I3_PLUS 31   // Wanhao Duplicator i3 Plus
91
 #define BOARD_DUPLICATOR_I3_PLUS 31   // Wanhao Duplicator i3 Plus
91
 #define BOARD_VORON             441   // VORON Design
92
 #define BOARD_VORON             441   // VORON Design

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

160
   #include "pins_RAMPS_ENDER_4.h"     // ATmega2560                                 env:megaatmega2560
160
   #include "pins_RAMPS_ENDER_4.h"     // ATmega2560                                 env:megaatmega2560
161
 #elif MB(RAMPS_CREALITY)
161
 #elif MB(RAMPS_CREALITY)
162
   #include "pins_RAMPS_CREALITY.h"    // ATmega2560                                 env:megaatmega2560
162
   #include "pins_RAMPS_CREALITY.h"    // ATmega2560                                 env:megaatmega2560
163
+#elif MB(RAMPS_Dagoma)
164
+  #include "pins_RAMPS_Dagoma.h"    // ATmega2560                                 env:megaatmega2560
163
 #elif MB(FYSETC_F6_13)
165
 #elif MB(FYSETC_F6_13)
164
   #include "pins_FYSETC_F6_13.h"      // ATmega2560                                 env:fysetc_f6_13
166
   #include "pins_FYSETC_F6_13.h"      // ATmega2560                                 env:fysetc_f6_13
165
 #elif MB(DUPLICATOR_I3_PLUS)
167
 #elif MB(DUPLICATOR_I3_PLUS)

+ 21
- 7
Marlin/src/pins/pins_RAMPS.h View File

70
     #define SERVO0_PIN     11
70
     #define SERVO0_PIN     11
71
   #endif
71
   #endif
72
 #endif
72
 #endif
73
-#define SERVO1_PIN          6
74
-#define SERVO2_PIN          5
73
+#ifndef SERVO1_PIN
74
+  #define SERVO1_PIN        6
75
+#endif
76
+#ifndef SERVO2_PIN
77
+  #define SERVO2_PIN        5
78
+#endif
75
 #ifndef SERVO3_PIN
79
 #ifndef SERVO3_PIN
76
   #define SERVO3_PIN        4
80
   #define SERVO3_PIN        4
77
 #endif
81
 #endif
79
 //
83
 //
80
 // Limit Switches
84
 // Limit Switches
81
 //
85
 //
82
-#define X_MIN_PIN           3
86
+#ifndef X_MIN_PIN
87
+  #define X_MIN_PIN         3
88
+#endif
83
 #ifndef X_MAX_PIN
89
 #ifndef X_MAX_PIN
84
   #define X_MAX_PIN         2
90
   #define X_MAX_PIN         2
85
 #endif
91
 #endif
86
-#define Y_MIN_PIN          14
87
-#define Y_MAX_PIN          15
88
-#define Z_MIN_PIN          18
89
-#define Z_MAX_PIN          19
92
+#ifndef Y_MIN_PIN
93
+  #define Y_MIN_PIN        14
94
+#endif
95
+#ifndef Y_MAX_PIN
96
+  #define Y_MAX_PIN        15
97
+#endif
98
+#ifndef Z_MIN_PIN
99
+  #define Z_MIN_PIN        18
100
+#endif
101
+#ifndef Z_MAX_PIN
102
+  #define Z_MAX_PIN          19
103
+#endif
90
 
104
 
91
 //
105
 //
92
 // Z Probe (when not Z_MIN_PIN)
106
 // Z Probe (when not Z_MIN_PIN)

+ 45
- 0
Marlin/src/pins/pins_RAMPS_Dagoma.h View File

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
+
23
+#if HOTENDS > 2 || E_STEPPERS > 2
24
+  #error "Dagoma3D F5 RAMPS supports only 2 hotends / E-steppers. Comment out this line to continue."
25
+#endif
26
+
27
+#define BOARD_NAME "Dagoma3D F5 RAMPS"
28
+
29
+#ifdef E0_AUTO_FAN_PIN
30
+  #undef E0_AUTO_FAN_PIN
31
+#endif
32
+
33
+#define E0_AUTO_FAN_PIN 7
34
+
35
+#define X_MAX_PIN -1
36
+#define X_MIN_PIN 2
37
+#define Y_MAX_PIN 3
38
+#define Y_MIN_MIN -1
39
+#define Z_MAX_PIN -1
40
+#define Z_MIN_PIN 15
41
+#define FILRUNOUT_PIN 39
42
+#define MOSFET_D_PIN -1
43
+
44
+#include "pins_RAMPS.h"
45
+

Loading…
Cancel
Save