|
@@ -0,0 +1,86 @@
|
|
1
|
+/**
|
|
2
|
+ * Marlin 3D Printer Firmware
|
|
3
|
+ * Copyright (c) 2022 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
|
+
|
|
23
|
+/**
|
|
24
|
+ * Pxmalion Core i3 - https://github.com/Pxmalion
|
|
25
|
+ */
|
|
26
|
+
|
|
27
|
+#include "env_validate.h"
|
|
28
|
+
|
|
29
|
+#ifndef BOARD_INFO_NAME
|
|
30
|
+ #define BOARD_INFO_NAME "Core i3"
|
|
31
|
+#endif
|
|
32
|
+
|
|
33
|
+//
|
|
34
|
+// Servos
|
|
35
|
+//
|
|
36
|
+#define SERVO0_PIN 51
|
|
37
|
+#define SERVO1_PIN -1
|
|
38
|
+#define SERVO2_PIN -1
|
|
39
|
+#define SERVO3_PIN -1
|
|
40
|
+
|
|
41
|
+//
|
|
42
|
+// Limit Switches
|
|
43
|
+//
|
|
44
|
+#define X_STOP_PIN 3
|
|
45
|
+#define Y_STOP_PIN 2
|
|
46
|
+#define Z_MIN_PIN 19
|
|
47
|
+#define Z_MAX_PIN 18
|
|
48
|
+
|
|
49
|
+// TODO: Filament Runout Sensor
|
|
50
|
+#ifndef FIL_RUNOUT_PIN
|
|
51
|
+ #define FIL_RUNOUT_PIN -1
|
|
52
|
+#endif
|
|
53
|
+
|
|
54
|
+//
|
|
55
|
+// Steppers
|
|
56
|
+//
|
|
57
|
+#define X_CS_PIN -1
|
|
58
|
+#define Y_CS_PIN -1
|
|
59
|
+#define Z_CS_PIN -1
|
|
60
|
+#define E0_CS_PIN -1
|
|
61
|
+#define E1_CS_PIN -1
|
|
62
|
+
|
|
63
|
+//
|
|
64
|
+// Heaters / Fans
|
|
65
|
+//
|
|
66
|
+#define FET_ORDER_EFB
|
|
67
|
+#ifndef MOSFET_A_PIN
|
|
68
|
+ #define MOSFET_A_PIN 8
|
|
69
|
+#endif
|
|
70
|
+#ifndef MOSFET_B_PIN
|
|
71
|
+ #define MOSFET_B_PIN 7
|
|
72
|
+#endif
|
|
73
|
+#ifndef MOSFET_C_PIN
|
|
74
|
+ #define MOSFET_C_PIN 9
|
|
75
|
+#endif
|
|
76
|
+
|
|
77
|
+//
|
|
78
|
+// Misc. Functions
|
|
79
|
+//
|
|
80
|
+#ifndef FILWIDTH_PIN
|
|
81
|
+ #define FILWIDTH_PIN -1 // Analog Input
|
|
82
|
+#endif
|
|
83
|
+
|
|
84
|
+#define PS_ON_PIN 11
|
|
85
|
+
|
|
86
|
+#include "pins_RAMPS.h"
|