🎨 Tweak TMC software serial pins
This commit is contained in:
@ -124,42 +124,42 @@
|
||||
* Software serial communication pins.
|
||||
* At the moment, F6 rx pins are not pc interrupt pins
|
||||
*/
|
||||
#ifndef X_SERIAL_RX_PIN
|
||||
#define X_SERIAL_RX_PIN -1 // 71
|
||||
#endif
|
||||
#ifndef X_SERIAL_TX_PIN
|
||||
#define X_SERIAL_TX_PIN 72
|
||||
#endif
|
||||
#ifndef Y_SERIAL_RX_PIN
|
||||
#define Y_SERIAL_RX_PIN -1 // 73
|
||||
#ifndef X_SERIAL_RX_PIN
|
||||
#define X_SERIAL_RX_PIN -1 // 71
|
||||
#endif
|
||||
#ifndef Y_SERIAL_TX_PIN
|
||||
#define Y_SERIAL_TX_PIN 75
|
||||
#endif
|
||||
#ifndef Z_SERIAL_RX_PIN
|
||||
#define Z_SERIAL_RX_PIN -1 // 78
|
||||
#ifndef Y_SERIAL_RX_PIN
|
||||
#define Y_SERIAL_RX_PIN -1 // 73
|
||||
#endif
|
||||
#ifndef Z_SERIAL_TX_PIN
|
||||
#define Z_SERIAL_TX_PIN 79
|
||||
#endif
|
||||
#ifndef E0_SERIAL_RX_PIN
|
||||
#define E0_SERIAL_RX_PIN -1 // 76
|
||||
#ifndef Z_SERIAL_RX_PIN
|
||||
#define Z_SERIAL_RX_PIN -1 // 78
|
||||
#endif
|
||||
#ifndef E0_SERIAL_TX_PIN
|
||||
#define E0_SERIAL_TX_PIN 77
|
||||
#endif
|
||||
#ifndef E1_SERIAL_RX_PIN
|
||||
#define E1_SERIAL_RX_PIN -1 // 80
|
||||
#ifndef E0_SERIAL_RX_PIN
|
||||
#define E0_SERIAL_RX_PIN -1 // 76
|
||||
#endif
|
||||
#ifndef E1_SERIAL_TX_PIN
|
||||
#define E1_SERIAL_TX_PIN 81
|
||||
#endif
|
||||
#ifndef E2_SERIAL_RX_PIN
|
||||
#define E2_SERIAL_RX_PIN -1 // 22
|
||||
#ifndef E1_SERIAL_RX_PIN
|
||||
#define E1_SERIAL_RX_PIN -1 // 80
|
||||
#endif
|
||||
#ifndef E2_SERIAL_TX_PIN
|
||||
#define E2_SERIAL_TX_PIN 82
|
||||
#endif
|
||||
#ifndef E2_SERIAL_RX_PIN
|
||||
#define E2_SERIAL_RX_PIN -1 // 22
|
||||
#endif
|
||||
#endif
|
||||
|
||||
//
|
||||
|
@ -33,18 +33,23 @@
|
||||
/**
|
||||
* TMC2208/TMC2209 stepper drivers
|
||||
*/
|
||||
#define X_SERIAL_RX_PIN 72
|
||||
#define X_SERIAL_TX_PIN 71
|
||||
#define Y_SERIAL_RX_PIN 73
|
||||
#define X_SERIAL_RX_PIN 72
|
||||
|
||||
#define Y_SERIAL_TX_PIN 78
|
||||
#define Z_SERIAL_RX_PIN 75
|
||||
#define Y_SERIAL_RX_PIN 73
|
||||
|
||||
#define Z_SERIAL_TX_PIN 79
|
||||
#define E0_SERIAL_RX_PIN 77
|
||||
#define Z_SERIAL_RX_PIN 75
|
||||
|
||||
#define E0_SERIAL_TX_PIN 81
|
||||
#define E1_SERIAL_RX_PIN 76
|
||||
#define E0_SERIAL_RX_PIN 77
|
||||
|
||||
#define E1_SERIAL_TX_PIN 80
|
||||
#define E2_SERIAL_RX_PIN 62
|
||||
#define E1_SERIAL_RX_PIN 76
|
||||
|
||||
#define E2_SERIAL_TX_PIN 82
|
||||
#define E2_SERIAL_RX_PIN 62
|
||||
#endif
|
||||
|
||||
#include "pins_FYSETC_F6_13.h"
|
||||
|
@ -54,20 +54,19 @@
|
||||
#define TEMP_0_PIN 15 // Analog Input
|
||||
#define TEMP_1_PIN 13 // Analog Input
|
||||
|
||||
//
|
||||
// Software serial
|
||||
//
|
||||
#define X_SERIAL_TX_PIN 59
|
||||
#define X_SERIAL_RX_PIN 63
|
||||
#if HAS_TMC_UART
|
||||
#define X_SERIAL_TX_PIN 59
|
||||
#define X_SERIAL_RX_PIN 63
|
||||
|
||||
#define Y_SERIAL_TX_PIN 64
|
||||
#define Y_SERIAL_RX_PIN 40
|
||||
#define Y_SERIAL_TX_PIN 64
|
||||
#define Y_SERIAL_RX_PIN 40
|
||||
|
||||
#define Z_SERIAL_TX_PIN 44
|
||||
#define Z_SERIAL_RX_PIN 42
|
||||
#define Z_SERIAL_TX_PIN 44
|
||||
#define Z_SERIAL_RX_PIN 42
|
||||
|
||||
#define E0_SERIAL_TX_PIN 66
|
||||
#define E0_SERIAL_RX_PIN 65
|
||||
#define E0_SERIAL_TX_PIN 66
|
||||
#define E0_SERIAL_RX_PIN 65
|
||||
#endif
|
||||
|
||||
#include "pins_RAMPS.h"
|
||||
|
||||
|
@ -321,10 +321,6 @@
|
||||
//#define E3_HARDWARE_SERIAL Serial1
|
||||
//#define E4_HARDWARE_SERIAL Serial1
|
||||
|
||||
//
|
||||
// Software serial
|
||||
//
|
||||
|
||||
#ifndef X_SERIAL_TX_PIN
|
||||
#define X_SERIAL_TX_PIN 40
|
||||
#endif
|
||||
|
@ -117,10 +117,6 @@
|
||||
//#define E3_HARDWARE_SERIAL Serial1
|
||||
//#define E3_HARDWARE_SERIAL Serial1
|
||||
|
||||
//
|
||||
// Software serial
|
||||
//
|
||||
|
||||
#define X_SERIAL_TX_PIN -1 // 59
|
||||
#define X_SERIAL_RX_PIN -1 // 63
|
||||
#define X2_SERIAL_TX_PIN -1
|
||||
|
@ -213,10 +213,6 @@
|
||||
//#define E3_HARDWARE_SERIAL Serial1
|
||||
//#define E4_HARDWARE_SERIAL Serial1
|
||||
|
||||
//
|
||||
// Software serial
|
||||
//
|
||||
|
||||
#ifndef X_SERIAL_TX_PIN
|
||||
#define X_SERIAL_TX_PIN 40
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user