|
@@ -1,6 +1,7 @@
|
1
|
1
|
#ifndef PINS_H
|
2
|
2
|
#define PINS_H
|
3
|
3
|
|
|
4
|
+#if MOTHERBOARD != 88
|
4
|
5
|
#define X_MS1_PIN -1
|
5
|
6
|
#define X_MS2_PIN -1
|
6
|
7
|
#define Y_MS1_PIN -1
|
|
@@ -12,6 +13,87 @@
|
12
|
13
|
#define E1_MS1_PIN -1
|
13
|
14
|
#define E1_MS2_PIN -1
|
14
|
15
|
#define DIGIPOTSS_PIN -1
|
|
16
|
+#endif
|
|
17
|
+
|
|
18
|
+/****************************************************************************************
|
|
19
|
+* 5DPrint D8 Driver board
|
|
20
|
+* https://bitbucket.org/makible/5dprint-d8-controller-board
|
|
21
|
+****************************************************************************************/
|
|
22
|
+
|
|
23
|
+#if MOTHERBOARD == 88
|
|
24
|
+
|
|
25
|
+#define KNOWN_BOARD 1
|
|
26
|
+#define AT90USB 1286 // Disable MarlinSerial etc.
|
|
27
|
+
|
|
28
|
+#ifndef __AVR_AT90USB1286__
|
|
29
|
+#error Oops! Make sure you have 'Teensy++ 2.0' selected from the 'Tools -> Boards' menu.
|
|
30
|
+#endif
|
|
31
|
+
|
|
32
|
+#define LARGE_FLASH true
|
|
33
|
+
|
|
34
|
+#define X_STEP_PIN 0
|
|
35
|
+#define X_DIR_PIN 1
|
|
36
|
+#define X_ENABLE_PIN 23
|
|
37
|
+#define X_STOP_PIN 37
|
|
38
|
+
|
|
39
|
+#define Y_STEP_PIN 2
|
|
40
|
+#define Y_DIR_PIN 3
|
|
41
|
+#define Y_ENABLE_PIN 19
|
|
42
|
+#define Y_STOP_PIN 36
|
|
43
|
+
|
|
44
|
+#define Z_STEP_PIN 4
|
|
45
|
+#define Z_DIR_PIN 5
|
|
46
|
+#define Z_ENABLE_PIN 18
|
|
47
|
+#define Z_STOP_PIN 39
|
|
48
|
+
|
|
49
|
+#define E0_STEP_PIN 6
|
|
50
|
+#define E0_DIR_PIN 7
|
|
51
|
+#define E0_ENABLE_PIN 17
|
|
52
|
+
|
|
53
|
+#define HEATER_0_PIN 21 // Extruder
|
|
54
|
+#define HEATER_1_PIN -1
|
|
55
|
+#define HEATER_2_PIN -1
|
|
56
|
+#define HEATER_BED_PIN 20 // Bed
|
|
57
|
+#define FAN_PIN 22 // Fan
|
|
58
|
+// You may need to change FAN_PIN to 16 because Marlin isn't using fastio.h
|
|
59
|
+// for the fan and Teensyduino uses a different pin mapping.
|
|
60
|
+
|
|
61
|
+#define TEMP_0_PIN 1 // Extruder / Analog pin numbering
|
|
62
|
+#define TEMP_BED_PIN 0 // Bed / Analog pin numbering
|
|
63
|
+
|
|
64
|
+#define TEMP_1_PIN -1
|
|
65
|
+#define TEMP_2_PIN -1
|
|
66
|
+
|
|
67
|
+#define SDPOWER -1
|
|
68
|
+#define SDSS 8
|
|
69
|
+#define LED_PIN -1
|
|
70
|
+#define PS_ON_PIN -1
|
|
71
|
+#define KILL_PIN -1
|
|
72
|
+#define ALARM_PIN -1
|
|
73
|
+
|
|
74
|
+#ifndef SDSUPPORT
|
|
75
|
+// these pins are defined in the SD library if building with SD support
|
|
76
|
+ #define SCK_PIN 9
|
|
77
|
+ #define MISO_PIN 11
|
|
78
|
+ #define MOSI_PIN 10
|
|
79
|
+#endif
|
|
80
|
+
|
|
81
|
+// Microstepping pins
|
|
82
|
+#define X_MS1_PIN 13
|
|
83
|
+#define X_MS2_PIN 14
|
|
84
|
+#define Y_MS1_PIN 33
|
|
85
|
+#define Y_MS2_PIN 32
|
|
86
|
+#define Z_MS1_PIN 31
|
|
87
|
+#define Z_MS2_PIN 30
|
|
88
|
+#define E0_MS1_PIN 29
|
|
89
|
+#define E0_MS2_PIN 28
|
|
90
|
+
|
|
91
|
+#endif /* 88 */
|
|
92
|
+
|
|
93
|
+/****************************************************************************************
|
|
94
|
+*
|
|
95
|
+*
|
|
96
|
+****************************************************************************************/
|
15
|
97
|
|
16
|
98
|
#if MOTHERBOARD == 99
|
17
|
99
|
#define KNOWN_BOARD 1
|