瀏覽代碼

Longer LK Pro / Alfawise PRO board (#20185)

Ajtak 4 年之前
父節點
當前提交
a26a21d19a
No account linked to committer's email address
共有 3 個文件被更改,包括 41 次插入0 次删除
  1. 1
    0
      Marlin/src/core/boards.h
  2. 2
    0
      Marlin/src/pins/pins.h
  3. 38
    0
      Marlin/src/pins/ramps/pins_LONGER3D_LK4PRO.h

+ 1
- 0
Marlin/src/core/boards.h 查看文件

@@ -113,6 +113,7 @@
113 113
 #define BOARD_RAMPS_S_12_EEFB         1157  // Ramps S 1.2 by Sakul.cz (Power outputs: Hotend0, Hotend1, Fan, Bed)
114 114
 #define BOARD_RAMPS_S_12_EEEB         1158  // Ramps S 1.2 by Sakul.cz (Power outputs: Hotend0, Hotend1, Hotend2, Bed)
115 115
 #define BOARD_RAMPS_S_12_EFFB         1159  // Ramps S 1.2 by Sakul.cz (Power outputs: Hotend, Fan0, Fan1, Bed)
116
+#define BOARD_RAMPS_LONGER3D_LK4PRO   1160  // Longer LKxxPRO/ Alfawise UxxPro (PRO version)
116 117
 
117 118
 //
118 119
 // RAMBo and derivatives

+ 2
- 0
Marlin/src/pins/pins.h 查看文件

@@ -220,6 +220,8 @@
220 220
   #include "ramps/pins_RAMPS_S_12.h"            // ATmega2560                             env:mega2560
221 221
 #elif MB(RAMPS_S_12_EFFB)
222 222
   #include "ramps/pins_RAMPS_S_12.h"            // ATmega2560                             env:mega2560
223
+#elif MB(RAMPS_LONGER3D_LKPRO)
224
+  #include "ramps/pins_LONGER3D_LK4PRO.h"       // ATmega2560                             env:mega2560
223 225
 
224 226
 //
225 227
 // RAMBo and derivatives

+ 38
- 0
Marlin/src/pins/ramps/pins_LONGER3D_LK4PRO.h 查看文件

@@ -0,0 +1,38 @@
1
+/**
2
+ * Marlin 3D Printer Firmware
3
+ * Copyright (c) 2020 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 <https://www.gnu.org/licenses/>.
20
+ *
21
+ */
22
+#pragma once
23
+
24
+// Longer UI assumptions
25
+#if HOTENDS > 1 || E_STEPPERS > 1
26
+  #error "Longer UI supports only 1 hotend / E-stepper."
27
+#endif
28
+
29
+#define BOARD_INFO_NAME "LGT Kit 1.0"
30
+
31
+#define SD_DETECT_PIN                         49
32
+#define FIL_RUNOUT_PIN                         2
33
+#define Z_MIN_PIN                             35
34
+
35
+//
36
+// Import RAMPS 1.4 pins
37
+//
38
+#include "pins_RAMPS.h"

Loading…
取消
儲存