|
@@ -51,6 +51,12 @@
|
51
|
51
|
#define E1_DIAG_PIN 25 // PD0 E2_DIAG
|
52
|
52
|
|
53
|
53
|
//
|
|
54
|
+// Servos
|
|
55
|
+//
|
|
56
|
+#define SERVO0_PIN 20 // D20 PB12 (Header J20 20)
|
|
57
|
+#define SERVO1_PIN 21 // D21 PB13 (Header J20 19)
|
|
58
|
+
|
|
59
|
+//
|
54
|
60
|
// Limit Switches
|
55
|
61
|
//
|
56
|
62
|
// Only use Diag Pins when SENSORLESS_HOMING is enabled for the TMC2130 drivers.
|
|
@@ -161,7 +167,27 @@
|
161
|
167
|
//
|
162
|
168
|
// Misc. Functions
|
163
|
169
|
//
|
164
|
|
-#define SDSS 87 // D87 PA29 CS
|
|
170
|
+
|
|
171
|
+// Internal MicroSD card reader on the PCB
|
|
172
|
+#define INT_SCK_PIN 42 // D42 PA19/MCCK
|
|
173
|
+#define INT_MISO_PIN 43 // D43 PA20/MCCDA
|
|
174
|
+#define INT_MOSI_PIN 73 // D73 PA21/MCDA0
|
|
175
|
+#define INT_SDSS 55 // D55 PA24/MCDA3
|
|
176
|
+
|
|
177
|
+// The external SD card reader on SC2, as well as 2 Mbyte SPI Flash
|
|
178
|
+#define SCK_PIN 76 // D76 PA27
|
|
179
|
+#define MISO_PIN 74 // D74 PA25
|
|
180
|
+#define MOSI_PIN 75 // D75 PA26
|
|
181
|
+#define SDSS 87 // D87 PA29
|
|
182
|
+#define SPI_FLASH_SS 52 // D52 PB21
|
|
183
|
+
|
|
184
|
+// Filament runout sensor pins (or GPIO)
|
|
185
|
+#ifndef FIL_RUNOUT_PIN
|
|
186
|
+ #define FIL_RUNOUT_PIN 66 // D66 PB15 (Header J20 15)
|
|
187
|
+#endif
|
|
188
|
+#ifndef FIL_RUNOUT2_PIN
|
|
189
|
+ #define FIL_RUNOUT2_PIN 67 // D67 PB16 (Header J20 16)
|
|
190
|
+#endif
|
165
|
191
|
|
166
|
192
|
//
|
167
|
193
|
// LCD / Controller
|
|
@@ -182,5 +208,5 @@
|
182
|
208
|
#define BTN_EN1 60 // D60 PA3_TIOB1
|
183
|
209
|
#define BTN_EN2 13 // D13 PB27_TIOB0
|
184
|
210
|
#define BTN_ENC 16 // D16 PA13_TXD1 // the click
|
185
|
|
- #endif // NEWPANEL
|
186
|
|
-#endif // ULTRA_LCD
|
|
211
|
+ #endif // NEWPANEL
|
|
212
|
+#endif // ULTRA_LCD || EXTENSIBLE_UI
|