소스 검색

Support for MKS v1.3/1.4 and Sainsmart RAMPS 1.4 variants

Scott Lahteine 8 년 전
부모
커밋
1da9d10173
4개의 변경된 파일77개의 추가작업 그리고 0개의 파일을 삭제
  1. 2
    0
      Marlin/boards.h
  2. 4
    0
      Marlin/pins.h
  3. 35
    0
      Marlin/pins_MKS_13.h
  4. 36
    0
      Marlin/pins_SAINSMART_2IN1.h

+ 2
- 0
Marlin/boards.h 파일 보기

@@ -83,6 +83,8 @@
83 83
 #define BOARD_5DPRINT           88   // 5DPrint D8 Driver Board
84 84
 #define BOARD_LEAPFROG          999  // Leapfrog
85 85
 #define BOARD_MKS_BASE          40   // MKS BASE 1.0
86
+#define BOARD_MKS_13            47   // MKS v1.3 or 1.4 (maybe higher)
87
+#define BOARD_SAINSMART_2IN1    49   // Sainsmart 2-in-1 board
86 88
 #define BOARD_BAM_DICE          401  // 2PrintBeta BAM&DICE with STK drivers
87 89
 #define BOARD_BAM_DICE_DUE      402  // 2PrintBeta BAM&DICE Due with STK drivers
88 90
 #define BOARD_BQ_ZUM_MEGA_3D    503  // bq ZUM Mega 3D

+ 4
- 0
Marlin/pins.h 파일 보기

@@ -149,6 +149,10 @@
149 149
   #include "pins_99.h"
150 150
 #elif MB(AJ4P)
151 151
   #include "pins_AJ4P.h"
152
+#elif MB(MKS_13)
153
+  #include "pins_MKS_13.h"
154
+#elif MB(BOARD_SAINSMART_2IN1)
155
+  #include "pins_SAINSMART_2IN1.h"
152 156
 #else
153 157
   #error Unknown MOTHERBOARD value set in Configuration.h
154 158
 #endif

+ 35
- 0
Marlin/pins_MKS_13.h 파일 보기

@@ -0,0 +1,35 @@
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
+/**
24
+ * Arduino Mega with RAMPS v1.4 adjusted pin assignments
25
+ *
26
+ *  MKS v1.3  (Extruder, Fan, Bed)
27
+ *  MKS v1.3  (Extruder, Extruder, Fan, Bed)
28
+ *  MKS v1.4  (Extruder, Fan, Bed)
29
+ *  MKS v1.4  (Extruder, Extruder, Fan, Bed)
30
+ */
31
+
32
+#include "pins_RAMPS_14_EFB.h"
33
+
34
+#undef HEATER_1_PIN
35
+#define HEATER_1_PIN        7 // EXTRUDER 2 (-1 on RAMPS 1.4)

+ 36
- 0
Marlin/pins_SAINSMART_2IN1.h 파일 보기

@@ -0,0 +1,36 @@
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
+/**
24
+ *  Sainsmart 2-in-1 pin assignments
25
+ */
26
+
27
+#include "pins_RAMPS_14_EFB.h"
28
+
29
+#undef FAN_PIN
30
+#define FAN_PIN             7 // PART FAN in front of board next to Extruder heat
31
+
32
+#undef HEATER_0_PIN
33
+#define HEATER_0_PIN        9   // EXTRUDER 1
34
+
35
+#undef HEATER_1_PIN
36
+#define HEATER_1_PIN       10   // EXTRUDER 2

Loading…
취소
저장