|
@@ -117,11 +117,7 @@
|
117
|
117
|
* Several wiring options are provided below, defaulting to
|
118
|
118
|
* to the most compatible.
|
119
|
119
|
*/
|
120
|
|
-
|
121
|
|
-//
|
122
|
|
-// Drivers
|
123
|
|
-//
|
124
|
|
-#if HAS_TMC220x
|
|
120
|
+#if HAS_TMC_UART
|
125
|
121
|
// SoftwareSerial with one pin per driver
|
126
|
122
|
// Compatible with TMC2208 and TMC2209 drivers
|
127
|
123
|
#define X_SERIAL_TX_PIN PA10 // RXD1
|
|
@@ -140,20 +136,20 @@
|
140
|
136
|
#define DEFAULT_PWM_MOTOR_CURRENT { 800, 800, 800 }
|
141
|
137
|
#endif
|
142
|
138
|
|
143
|
|
-/**
|
144
|
|
- * MKS Robin_Wifi or another ESP8266 module
|
145
|
|
- *
|
146
|
|
- * __ESP(M1)__ -J1-
|
147
|
|
- * GND| 15 | | 08 |+3v3 (22) RXD1 (PA10)
|
148
|
|
- * | 16 | | 07 |MOSI (21) TXD1 (PA9) Active LOW, probably OK to leave floating
|
149
|
|
- * IO2| 17 | | 06 |MISO (19) IO1 (PC7) Leave as unused (ESP3D software configures this with a pullup so OK to leave as floating)
|
150
|
|
- * IO0| 18 | | 05 |CLK (18) IO0 (PA8) Must be HIGH (ESP3D software configures this with a pullup so OK to leave as floating)
|
151
|
|
- * IO1| 19 | | 03 |EN (03) WIFI_EN Must be HIGH for module to run
|
152
|
|
- * | nc | | nc | (01) WIFI_CTRL (PA5)
|
153
|
|
- * RX| 21 | | nc |
|
154
|
|
- * TX| 22 | | 01 |RST
|
155
|
|
- *  ̄ ̄ AE ̄ ̄
|
156
|
|
- */
|
|
139
|
+ /**
|
|
140
|
+ * MKS Robin_Wifi or another ESP8266 module
|
|
141
|
+ *
|
|
142
|
+ * __ESP(M1)__ -J1-
|
|
143
|
+ * GND| 15 | | 08 |+3v3 (22) RXD1 (PA10)
|
|
144
|
+ * | 16 | | 07 |MOSI (21) TXD1 (PA9) Active LOW, probably OK to leave floating
|
|
145
|
+ * IO2| 17 | | 06 |MISO (19) IO1 (PC7) Leave as unused (ESP3D software configures this with a pullup so OK to leave as floating)
|
|
146
|
+ * IO0| 18 | | 05 |CLK (18) IO0 (PA8) Must be HIGH (ESP3D software configures this with a pullup so OK to leave as floating)
|
|
147
|
+ * IO1| 19 | | 03 |EN (03) WIFI_EN Must be HIGH for module to run
|
|
148
|
+ * | nc | | nc | (01) WIFI_CTRL (PA5)
|
|
149
|
+ * RX| 21 | | nc |
|
|
150
|
+ * TX| 22 | | 01 |RST
|
|
151
|
+ *  ̄ ̄ AE ̄ ̄
|
|
152
|
+ */
|
157
|
153
|
// Module ESP-WIFI
|
158
|
154
|
#define ESP_WIFI_MODULE_COM 2 // Must also set either SERIAL_PORT or SERIAL_PORT_2 to this
|
159
|
155
|
#define ESP_WIFI_MODULE_BAUDRATE BAUDRATE // Must use same BAUDRATE as SERIAL_PORT & SERIAL_PORT_2
|
|
@@ -303,7 +299,7 @@
|
303
|
299
|
#define TFT_MARLINUI_COLOR 0xC7B6 // Green
|
304
|
300
|
#define TFT_BTARROWS_COLOR 0xDEE6 // Yellow
|
305
|
301
|
#define TFT_BTOKMENU_COLOR 0x145F // Cyan
|
306
|
|
- #endif
|
|
302
|
+ #endif
|
307
|
303
|
#define TFT_BUFFER_SIZE 14400
|
308
|
304
|
#elif HAS_GRAPHICAL_TFT
|
309
|
305
|
#define TFT_RESET_PIN PC6
|