|
@@ -106,6 +106,35 @@
|
106
|
106
|
#define TMC_SW_SCK P1_09 // ETH
|
107
|
107
|
#endif
|
108
|
108
|
|
|
109
|
+#if HAS_DRIVER(TMC2208)
|
|
110
|
+ /**
|
|
111
|
+ * TMC2208 stepper drivers
|
|
112
|
+ *
|
|
113
|
+ * Hardware serial communication ports.
|
|
114
|
+ * If undefined software serial is used according to the pins below
|
|
115
|
+ */
|
|
116
|
+
|
|
117
|
+ /**
|
|
118
|
+ * Software serial
|
|
119
|
+ */
|
|
120
|
+
|
|
121
|
+ // P2_08 E1-Step
|
|
122
|
+ // P2_13 E1-Dir
|
|
123
|
+
|
|
124
|
+ #define X_SERIAL_TX_PIN P2_13
|
|
125
|
+ #define X_SERIAL_RX_PIN P2_13
|
|
126
|
+
|
|
127
|
+ #define Y_SERIAL_TX_PIN P0_00
|
|
128
|
+ #define Y_SERIAL_RX_PIN P0_00
|
|
129
|
+
|
|
130
|
+ #define Z_SERIAL_TX_PIN P0_01
|
|
131
|
+ #define Z_SERIAL_RX_PIN P0_01
|
|
132
|
+
|
|
133
|
+ #define E0_SERIAL_TX_PIN P2_08
|
|
134
|
+ #define E0_SERIAL_RX_PIN P2_08
|
|
135
|
+
|
|
136
|
+#endif
|
|
137
|
+
|
109
|
138
|
//
|
110
|
139
|
// Temperature Sensors
|
111
|
140
|
// 3.3V max when defined as an analog input
|