|
@ -117,11 +117,7 @@ |
|
|
* Several wiring options are provided below, defaulting to |
|
|
* Several wiring options are provided below, defaulting to |
|
|
* to the most compatible. |
|
|
* to the most compatible. |
|
|
*/ |
|
|
*/ |
|
|
|
|
|
#if HAS_TMC_UART |
|
|
//
|
|
|
|
|
|
// Drivers
|
|
|
|
|
|
//
|
|
|
|
|
|
#if HAS_TMC220x |
|
|
|
|
|
// SoftwareSerial with one pin per driver
|
|
|
// SoftwareSerial with one pin per driver
|
|
|
// Compatible with TMC2208 and TMC2209 drivers
|
|
|
// Compatible with TMC2208 and TMC2209 drivers
|
|
|
#define X_SERIAL_TX_PIN PA10 // RXD1
|
|
|
#define X_SERIAL_TX_PIN PA10 // RXD1
|
|
@ -140,20 +136,20 @@ |
|
|
#define DEFAULT_PWM_MOTOR_CURRENT { 800, 800, 800 } |
|
|
#define DEFAULT_PWM_MOTOR_CURRENT { 800, 800, 800 } |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
/**
|
|
|
/**
|
|
|
* MKS Robin_Wifi or another ESP8266 module |
|
|
* MKS Robin_Wifi or another ESP8266 module |
|
|
* |
|
|
* |
|
|
* __ESP(M1)__ -J1- |
|
|
* __ESP(M1)__ -J1- |
|
|
* GND| 15 | | 08 |+3v3 (22) RXD1 (PA10) |
|
|
* GND| 15 | | 08 |+3v3 (22) RXD1 (PA10) |
|
|
* | 16 | | 07 |MOSI (21) TXD1 (PA9) Active LOW, probably OK to leave floating |
|
|
* | 16 | | 07 |MOSI (21) TXD1 (PA9) Active LOW, probably OK to leave floating |
|
|
* IO2| 17 | | 06 |MISO (19) IO1 (PC7) Leave as unused (ESP3D software configures this with a pullup so OK to leave as floating) |
|
|
* IO2| 17 | | 06 |MISO (19) IO1 (PC7) Leave as unused (ESP3D software configures this with a pullup so OK to leave as floating) |
|
|
* IO0| 18 | | 05 |CLK (18) IO0 (PA8) Must be HIGH (ESP3D software configures this with a pullup so OK to leave as floating) |
|
|
* IO0| 18 | | 05 |CLK (18) IO0 (PA8) Must be HIGH (ESP3D software configures this with a pullup so OK to leave as floating) |
|
|
* IO1| 19 | | 03 |EN (03) WIFI_EN Must be HIGH for module to run |
|
|
* IO1| 19 | | 03 |EN (03) WIFI_EN Must be HIGH for module to run |
|
|
* | nc | | nc | (01) WIFI_CTRL (PA5) |
|
|
* | nc | | nc | (01) WIFI_CTRL (PA5) |
|
|
* RX| 21 | | nc | |
|
|
* RX| 21 | | nc | |
|
|
* TX| 22 | | 01 |RST |
|
|
* TX| 22 | | 01 |RST |
|
|
*  ̄ ̄ AE ̄ ̄ |
|
|
*  ̄ ̄ AE ̄ ̄ |
|
|
*/ |
|
|
*/ |
|
|
// Module ESP-WIFI
|
|
|
// Module ESP-WIFI
|
|
|
#define ESP_WIFI_MODULE_COM 2 // Must also set either SERIAL_PORT or SERIAL_PORT_2 to this
|
|
|
#define ESP_WIFI_MODULE_COM 2 // Must also set either SERIAL_PORT or SERIAL_PORT_2 to this
|
|
|
#define ESP_WIFI_MODULE_BAUDRATE BAUDRATE // Must use same BAUDRATE as SERIAL_PORT & SERIAL_PORT_2
|
|
|
#define ESP_WIFI_MODULE_BAUDRATE BAUDRATE // Must use same BAUDRATE as SERIAL_PORT & SERIAL_PORT_2
|
|
@ -303,7 +299,7 @@ |
|
|
#define TFT_MARLINUI_COLOR 0xC7B6 // Green
|
|
|
#define TFT_MARLINUI_COLOR 0xC7B6 // Green
|
|
|
#define TFT_BTARROWS_COLOR 0xDEE6 // Yellow
|
|
|
#define TFT_BTARROWS_COLOR 0xDEE6 // Yellow
|
|
|
#define TFT_BTOKMENU_COLOR 0x145F // Cyan
|
|
|
#define TFT_BTOKMENU_COLOR 0x145F // Cyan
|
|
|
#endif |
|
|
#endif |
|
|
#define TFT_BUFFER_SIZE 14400 |
|
|
#define TFT_BUFFER_SIZE 14400 |
|
|
#elif HAS_GRAPHICAL_TFT |
|
|
#elif HAS_GRAPHICAL_TFT |
|
|
#define TFT_RESET_PIN PC6 |
|
|
#define TFT_RESET_PIN PC6 |
|
|