🎨 Tweak TMC software serial pins
This commit is contained in:
parent
0be98b98a7
commit
0aa87af82f
@ -164,9 +164,6 @@
|
|||||||
//#define E3_HARDWARE_SERIAL Serial1
|
//#define E3_HARDWARE_SERIAL Serial1
|
||||||
//#define E4_HARDWARE_SERIAL Serial1
|
//#define E4_HARDWARE_SERIAL Serial1
|
||||||
|
|
||||||
//
|
|
||||||
// Software serial
|
|
||||||
//
|
|
||||||
#define X_SERIAL_TX_PIN P4_29
|
#define X_SERIAL_TX_PIN P4_29
|
||||||
#define X_SERIAL_RX_PIN P1_17
|
#define X_SERIAL_RX_PIN P1_17
|
||||||
|
|
||||||
|
@ -220,23 +220,20 @@
|
|||||||
//#define E3_HARDWARE_SERIAL Serial1
|
//#define E3_HARDWARE_SERIAL Serial1
|
||||||
//#define E4_HARDWARE_SERIAL Serial1
|
//#define E4_HARDWARE_SERIAL Serial1
|
||||||
|
|
||||||
//
|
|
||||||
// Software serial
|
|
||||||
//
|
|
||||||
#define X_SERIAL_TX_PIN P1_10
|
#define X_SERIAL_TX_PIN P1_10
|
||||||
#define X_SERIAL_RX_PIN P1_10
|
#define X_SERIAL_RX_PIN X_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define Y_SERIAL_TX_PIN P1_09
|
#define Y_SERIAL_TX_PIN P1_09
|
||||||
#define Y_SERIAL_RX_PIN P1_09
|
#define Y_SERIAL_RX_PIN Y_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define Z_SERIAL_TX_PIN P1_08
|
#define Z_SERIAL_TX_PIN P1_08
|
||||||
#define Z_SERIAL_RX_PIN P1_08
|
#define Z_SERIAL_RX_PIN Z_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define E0_SERIAL_TX_PIN P1_04
|
#define E0_SERIAL_TX_PIN P1_04
|
||||||
#define E0_SERIAL_RX_PIN P1_04
|
#define E0_SERIAL_RX_PIN E0_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define E1_SERIAL_TX_PIN P1_01
|
#define E1_SERIAL_TX_PIN P1_01
|
||||||
#define E1_SERIAL_RX_PIN P1_01
|
#define E1_SERIAL_RX_PIN E1_SERIAL_TX_PIN
|
||||||
|
|
||||||
// Reduce baud rate to improve software serial reliability
|
// Reduce baud rate to improve software serial reliability
|
||||||
#define TMC_BAUD_RATE 19200
|
#define TMC_BAUD_RATE 19200
|
||||||
|
@ -172,7 +172,7 @@
|
|||||||
#define E2_CS_PIN EXP1_05_PIN
|
#define E2_CS_PIN EXP1_05_PIN
|
||||||
#if HAS_TMC_UART
|
#if HAS_TMC_UART
|
||||||
#define E2_SERIAL_TX_PIN EXP1_05_PIN
|
#define E2_SERIAL_TX_PIN EXP1_05_PIN
|
||||||
#define E2_SERIAL_RX_PIN EXP1_05_PIN
|
#define E2_SERIAL_RX_PIN E2_SERIAL_TX_PIN
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -185,7 +185,7 @@
|
|||||||
#define E3_CS_PIN EXP1_07_PIN
|
#define E3_CS_PIN EXP1_07_PIN
|
||||||
#if HAS_TMC_UART
|
#if HAS_TMC_UART
|
||||||
#define E3_SERIAL_TX_PIN EXP1_07_PIN
|
#define E3_SERIAL_TX_PIN EXP1_07_PIN
|
||||||
#define E3_SERIAL_RX_PIN EXP1_07_PIN
|
#define E3_SERIAL_RX_PIN E3_SERIAL_TX_PIN
|
||||||
#endif
|
#endif
|
||||||
#else
|
#else
|
||||||
#define E3_ENABLE_PIN EXP2_04_PIN
|
#define E3_ENABLE_PIN EXP2_04_PIN
|
||||||
@ -200,7 +200,7 @@
|
|||||||
#define E4_CS_PIN EXP1_09_PIN
|
#define E4_CS_PIN EXP1_09_PIN
|
||||||
#if HAS_TMC_UART
|
#if HAS_TMC_UART
|
||||||
#define E4_SERIAL_TX_PIN EXP1_09_PIN
|
#define E4_SERIAL_TX_PIN EXP1_09_PIN
|
||||||
#define E4_SERIAL_RX_PIN EXP1_09_PIN
|
#define E4_SERIAL_RX_PIN E4_SERIAL_TX_PIN
|
||||||
#endif
|
#endif
|
||||||
#else
|
#else
|
||||||
#define E4_ENABLE_PIN EXP2_04_PIN
|
#define E4_ENABLE_PIN EXP2_04_PIN
|
||||||
|
@ -82,17 +82,22 @@
|
|||||||
//
|
//
|
||||||
#if HAS_TMC_UART
|
#if HAS_TMC_UART
|
||||||
#define X_SERIAL_TX_PIN P1_00
|
#define X_SERIAL_TX_PIN P1_00
|
||||||
#define X_SERIAL_RX_PIN P1_00
|
#define X_SERIAL_RX_PIN X_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define Y_SERIAL_TX_PIN P1_09
|
#define Y_SERIAL_TX_PIN P1_09
|
||||||
#define Y_SERIAL_RX_PIN P1_09
|
#define Y_SERIAL_RX_PIN Y_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define Z_SERIAL_TX_PIN P1_16
|
#define Z_SERIAL_TX_PIN P1_16
|
||||||
#define Z_SERIAL_RX_PIN P1_16
|
#define Z_SERIAL_RX_PIN Z_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define E0_SERIAL_TX_PIN P0_04
|
#define E0_SERIAL_TX_PIN P0_04
|
||||||
#define E0_SERIAL_RX_PIN P0_04
|
#define E0_SERIAL_RX_PIN E0_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define E1_SERIAL_TX_PIN P2_02
|
#define E1_SERIAL_TX_PIN P2_02
|
||||||
#define E1_SERIAL_RX_PIN P2_02
|
#define E1_SERIAL_RX_PIN E1_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define E2_SERIAL_TX_PIN P2_06
|
#define E2_SERIAL_TX_PIN P2_06
|
||||||
#define E2_SERIAL_RX_PIN P2_06
|
#define E2_SERIAL_RX_PIN E2_SERIAL_TX_PIN
|
||||||
|
|
||||||
// Reduce baud rate to improve software serial reliability
|
// Reduce baud rate to improve software serial reliability
|
||||||
#define TMC_BAUD_RATE 19200
|
#define TMC_BAUD_RATE 19200
|
||||||
|
@ -327,10 +327,13 @@
|
|||||||
*/
|
*/
|
||||||
#define X_SERIAL_TX_PIN P1_22 // J8-2
|
#define X_SERIAL_TX_PIN P1_22 // J8-2
|
||||||
#define X_SERIAL_RX_PIN P2_12 // J8-4 Interrupt Capable
|
#define X_SERIAL_RX_PIN P2_12 // J8-4 Interrupt Capable
|
||||||
|
|
||||||
#define Y_SERIAL_TX_PIN P1_23 // J8-3
|
#define Y_SERIAL_TX_PIN P1_23 // J8-3
|
||||||
#define Y_SERIAL_RX_PIN P2_11 // J8-5 Interrupt Capable
|
#define Y_SERIAL_RX_PIN P2_11 // J8-5 Interrupt Capable
|
||||||
|
|
||||||
#define Z_SERIAL_TX_PIN P2_12 // J8-4
|
#define Z_SERIAL_TX_PIN P2_12 // J8-4
|
||||||
#define Z_SERIAL_RX_PIN P0_25 // TH3
|
#define Z_SERIAL_RX_PIN P0_25 // TH3
|
||||||
|
|
||||||
#define E0_SERIAL_TX_PIN P4_28 // J8-6
|
#define E0_SERIAL_TX_PIN P4_28 // J8-6
|
||||||
#define E0_SERIAL_RX_PIN P0_26 // TH4
|
#define E0_SERIAL_RX_PIN P0_26 // TH4
|
||||||
|
|
||||||
|
@ -163,10 +163,6 @@
|
|||||||
//#define E3_HARDWARE_SERIAL Serial1
|
//#define E3_HARDWARE_SERIAL Serial1
|
||||||
//#define E4_HARDWARE_SERIAL Serial1
|
//#define E4_HARDWARE_SERIAL Serial1
|
||||||
|
|
||||||
//
|
|
||||||
// Software serial
|
|
||||||
//
|
|
||||||
|
|
||||||
#define X_SERIAL_TX_PIN P1_04
|
#define X_SERIAL_TX_PIN P1_04
|
||||||
#define X_SERIAL_RX_PIN P1_01
|
#define X_SERIAL_RX_PIN P1_01
|
||||||
|
|
||||||
|
@ -119,9 +119,6 @@
|
|||||||
* If undefined software serial is used according to the pins below
|
* If undefined software serial is used according to the pins below
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//
|
|
||||||
// Software serial
|
|
||||||
//
|
|
||||||
|
|
||||||
// P2_08 E1-Step
|
// P2_08 E1-Step
|
||||||
// P2_13 E1-Dir
|
// P2_13 E1-Dir
|
||||||
@ -130,28 +127,28 @@
|
|||||||
#define X_SERIAL_TX_PIN P0_01
|
#define X_SERIAL_TX_PIN P0_01
|
||||||
#endif
|
#endif
|
||||||
#ifndef X_SERIAL_RX_PIN
|
#ifndef X_SERIAL_RX_PIN
|
||||||
#define X_SERIAL_RX_PIN P0_01
|
#define X_SERIAL_RX_PIN X_SERIAL_TX_PIN
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef Y_SERIAL_TX_PIN
|
#ifndef Y_SERIAL_TX_PIN
|
||||||
#define Y_SERIAL_TX_PIN P0_00
|
#define Y_SERIAL_TX_PIN P0_00
|
||||||
#endif
|
#endif
|
||||||
#ifndef Y_SERIAL_RX_PIN
|
#ifndef Y_SERIAL_RX_PIN
|
||||||
#define Y_SERIAL_RX_PIN P0_00
|
#define Y_SERIAL_RX_PIN Y_SERIAL_TX_PIN
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef Z_SERIAL_TX_PIN
|
#ifndef Z_SERIAL_TX_PIN
|
||||||
#define Z_SERIAL_TX_PIN P2_13
|
#define Z_SERIAL_TX_PIN P2_13
|
||||||
#endif
|
#endif
|
||||||
#ifndef Z_SERIAL_RX_PIN
|
#ifndef Z_SERIAL_RX_PIN
|
||||||
#define Z_SERIAL_RX_PIN P2_13
|
#define Z_SERIAL_RX_PIN Z_SERIAL_TX_PIN
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef E0_SERIAL_TX_PIN
|
#ifndef E0_SERIAL_TX_PIN
|
||||||
#define E0_SERIAL_TX_PIN P2_08
|
#define E0_SERIAL_TX_PIN P2_08
|
||||||
#endif
|
#endif
|
||||||
#ifndef E0_SERIAL_RX_PIN
|
#ifndef E0_SERIAL_RX_PIN
|
||||||
#define E0_SERIAL_RX_PIN P2_08
|
#define E0_SERIAL_RX_PIN E0_SERIAL_TX_PIN
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Reduce baud rate to improve software serial reliability
|
// Reduce baud rate to improve software serial reliability
|
||||||
|
@ -129,23 +129,20 @@
|
|||||||
* If undefined software serial is used according to the pins below
|
* If undefined software serial is used according to the pins below
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//
|
|
||||||
// Software serial
|
|
||||||
//
|
|
||||||
#define X_SERIAL_TX_PIN P1_01
|
#define X_SERIAL_TX_PIN P1_01
|
||||||
#define X_SERIAL_RX_PIN P1_01
|
#define X_SERIAL_RX_PIN X_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define Y_SERIAL_TX_PIN P1_10
|
#define Y_SERIAL_TX_PIN P1_10
|
||||||
#define Y_SERIAL_RX_PIN P1_10
|
#define Y_SERIAL_RX_PIN Y_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define Z_SERIAL_TX_PIN P1_17
|
#define Z_SERIAL_TX_PIN P1_17
|
||||||
#define Z_SERIAL_RX_PIN P1_17
|
#define Z_SERIAL_RX_PIN Z_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define E0_SERIAL_TX_PIN P0_05
|
#define E0_SERIAL_TX_PIN P0_05
|
||||||
#define E0_SERIAL_RX_PIN P0_05
|
#define E0_SERIAL_RX_PIN E0_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define E1_SERIAL_TX_PIN P0_22
|
#define E1_SERIAL_TX_PIN P0_22
|
||||||
#define E1_SERIAL_RX_PIN P0_22
|
#define E1_SERIAL_RX_PIN E1_SERIAL_TX_PIN
|
||||||
|
|
||||||
// Reduce baud rate to improve software serial reliability
|
// Reduce baud rate to improve software serial reliability
|
||||||
#define TMC_BAUD_RATE 19200
|
#define TMC_BAUD_RATE 19200
|
||||||
|
@ -104,22 +104,22 @@
|
|||||||
|
|
||||||
#if HAS_TMC_UART
|
#if HAS_TMC_UART
|
||||||
#define X_SERIAL_TX_PIN P1_04
|
#define X_SERIAL_TX_PIN P1_04
|
||||||
#define X_SERIAL_RX_PIN P1_04
|
#define X_SERIAL_RX_PIN X_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define Y_SERIAL_TX_PIN P1_10
|
#define Y_SERIAL_TX_PIN P1_10
|
||||||
#define Y_SERIAL_RX_PIN P1_10
|
#define Y_SERIAL_RX_PIN Y_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define Z_SERIAL_TX_PIN P1_16
|
#define Z_SERIAL_TX_PIN P1_16
|
||||||
#define Z_SERIAL_RX_PIN P1_16
|
#define Z_SERIAL_RX_PIN Z_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define E0_SERIAL_TX_PIN P4_28
|
#define E0_SERIAL_TX_PIN P4_28
|
||||||
#define E0_SERIAL_RX_PIN P4_28
|
#define E0_SERIAL_RX_PIN E0_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define E1_SERIAL_TX_PIN P2_12
|
#define E1_SERIAL_TX_PIN P2_12
|
||||||
#define E1_SERIAL_RX_PIN P2_12
|
#define E1_SERIAL_RX_PIN E1_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define E2_SERIAL_TX_PIN P0_10
|
#define E2_SERIAL_TX_PIN P0_10
|
||||||
#define E2_SERIAL_RX_PIN P0_10
|
#define E2_SERIAL_RX_PIN E2_SERIAL_TX_PIN
|
||||||
|
|
||||||
// Reduce baud rate to improve software serial reliability
|
// Reduce baud rate to improve software serial reliability
|
||||||
#define TMC_BAUD_RATE 19200
|
#define TMC_BAUD_RATE 19200
|
||||||
|
@ -38,17 +38,20 @@
|
|||||||
/**
|
/**
|
||||||
* TMC2208/TMC2209 stepper drivers
|
* TMC2208/TMC2209 stepper drivers
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define X_SERIAL_TX_PIN P1_22 // J8-2
|
#define X_SERIAL_TX_PIN P1_22 // J8-2
|
||||||
#define X_SERIAL_RX_PIN P1_22 // J8-2
|
#define X_SERIAL_RX_PIN X_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define Y_SERIAL_TX_PIN P1_23 // J8-3
|
#define Y_SERIAL_TX_PIN P1_23 // J8-3
|
||||||
#define Y_SERIAL_RX_PIN P1_23 // J8-3
|
#define Y_SERIAL_RX_PIN Y_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define Z_SERIAL_TX_PIN P2_12 // J8-4
|
#define Z_SERIAL_TX_PIN P2_12 // J8-4
|
||||||
#define Z_SERIAL_RX_PIN P2_12 // J8-4
|
#define Z_SERIAL_RX_PIN Z_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define E0_SERIAL_TX_PIN P2_11 // J8-5
|
#define E0_SERIAL_TX_PIN P2_11 // J8-5
|
||||||
#define E0_SERIAL_RX_PIN P2_11 // J8-5
|
#define E0_SERIAL_RX_PIN E0_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define E1_SERIAL_TX_PIN P4_28 // J8-6
|
#define E1_SERIAL_TX_PIN P4_28 // J8-6
|
||||||
#define E1_SERIAL_RX_PIN P4_28 // J8-6
|
#define E1_SERIAL_RX_PIN E1_SERIAL_TX_PIN
|
||||||
|
|
||||||
// Reduce baud rate to improve software serial reliability
|
// Reduce baud rate to improve software serial reliability
|
||||||
#define TMC_BAUD_RATE 19200
|
#define TMC_BAUD_RATE 19200
|
||||||
|
@ -173,19 +173,20 @@
|
|||||||
//#define E3_HARDWARE_SERIAL Serial1
|
//#define E3_HARDWARE_SERIAL Serial1
|
||||||
//#define E4_HARDWARE_SERIAL Serial1
|
//#define E4_HARDWARE_SERIAL Serial1
|
||||||
|
|
||||||
//
|
|
||||||
// Software serial
|
|
||||||
//
|
|
||||||
#define X_SERIAL_TX_PIN P1_01
|
#define X_SERIAL_TX_PIN P1_01
|
||||||
#define X_SERIAL_RX_PIN P1_01
|
#define X_SERIAL_RX_PIN X_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define Y_SERIAL_TX_PIN P1_08
|
#define Y_SERIAL_TX_PIN P1_08
|
||||||
#define Y_SERIAL_RX_PIN P1_08
|
#define Y_SERIAL_RX_PIN Y_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define Z_SERIAL_TX_PIN P1_10
|
#define Z_SERIAL_TX_PIN P1_10
|
||||||
#define Z_SERIAL_RX_PIN P1_10
|
#define Z_SERIAL_RX_PIN Z_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define E0_SERIAL_TX_PIN P1_15
|
#define E0_SERIAL_TX_PIN P1_15
|
||||||
#define E0_SERIAL_RX_PIN P1_15
|
#define E0_SERIAL_RX_PIN E0_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define E1_SERIAL_TX_PIN P1_17
|
#define E1_SERIAL_TX_PIN P1_17
|
||||||
#define E1_SERIAL_RX_PIN P1_17
|
#define E1_SERIAL_RX_PIN E1_SERIAL_TX_PIN
|
||||||
|
|
||||||
// Reduce baud rate to improve software serial reliability
|
// Reduce baud rate to improve software serial reliability
|
||||||
#define TMC_BAUD_RATE 19200
|
#define TMC_BAUD_RATE 19200
|
||||||
|
@ -75,14 +75,16 @@
|
|||||||
#if HAS_TMC_UART
|
#if HAS_TMC_UART
|
||||||
//
|
//
|
||||||
// TMC220x stepper drivers
|
// TMC220x stepper drivers
|
||||||
// Software serial
|
|
||||||
//
|
//
|
||||||
#define X_SERIAL_TX_PIN P0_04
|
#define X_SERIAL_TX_PIN P0_04
|
||||||
#define X_SERIAL_RX_PIN P0_05
|
#define X_SERIAL_RX_PIN P0_05
|
||||||
|
|
||||||
#define Y_SERIAL_TX_PIN P0_10
|
#define Y_SERIAL_TX_PIN P0_10
|
||||||
#define Y_SERIAL_RX_PIN P0_11
|
#define Y_SERIAL_RX_PIN P0_11
|
||||||
|
|
||||||
#define Z_SERIAL_TX_PIN P0_19
|
#define Z_SERIAL_TX_PIN P0_19
|
||||||
#define Z_SERIAL_RX_PIN P0_20
|
#define Z_SERIAL_RX_PIN P0_20
|
||||||
|
|
||||||
#define E0_SERIAL_TX_PIN P0_22
|
#define E0_SERIAL_TX_PIN P0_22
|
||||||
#define E0_SERIAL_RX_PIN P0_21
|
#define E0_SERIAL_RX_PIN P0_21
|
||||||
|
|
||||||
|
@ -124,42 +124,42 @@
|
|||||||
* Software serial communication pins.
|
* Software serial communication pins.
|
||||||
* At the moment, F6 rx pins are not pc interrupt 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
|
#ifndef X_SERIAL_TX_PIN
|
||||||
#define X_SERIAL_TX_PIN 72
|
#define X_SERIAL_TX_PIN 72
|
||||||
#endif
|
#endif
|
||||||
#ifndef Y_SERIAL_RX_PIN
|
#ifndef X_SERIAL_RX_PIN
|
||||||
#define Y_SERIAL_RX_PIN -1 // 73
|
#define X_SERIAL_RX_PIN -1 // 71
|
||||||
#endif
|
#endif
|
||||||
#ifndef Y_SERIAL_TX_PIN
|
#ifndef Y_SERIAL_TX_PIN
|
||||||
#define Y_SERIAL_TX_PIN 75
|
#define Y_SERIAL_TX_PIN 75
|
||||||
#endif
|
#endif
|
||||||
#ifndef Z_SERIAL_RX_PIN
|
#ifndef Y_SERIAL_RX_PIN
|
||||||
#define Z_SERIAL_RX_PIN -1 // 78
|
#define Y_SERIAL_RX_PIN -1 // 73
|
||||||
#endif
|
#endif
|
||||||
#ifndef Z_SERIAL_TX_PIN
|
#ifndef Z_SERIAL_TX_PIN
|
||||||
#define Z_SERIAL_TX_PIN 79
|
#define Z_SERIAL_TX_PIN 79
|
||||||
#endif
|
#endif
|
||||||
#ifndef E0_SERIAL_RX_PIN
|
#ifndef Z_SERIAL_RX_PIN
|
||||||
#define E0_SERIAL_RX_PIN -1 // 76
|
#define Z_SERIAL_RX_PIN -1 // 78
|
||||||
#endif
|
#endif
|
||||||
#ifndef E0_SERIAL_TX_PIN
|
#ifndef E0_SERIAL_TX_PIN
|
||||||
#define E0_SERIAL_TX_PIN 77
|
#define E0_SERIAL_TX_PIN 77
|
||||||
#endif
|
#endif
|
||||||
#ifndef E1_SERIAL_RX_PIN
|
#ifndef E0_SERIAL_RX_PIN
|
||||||
#define E1_SERIAL_RX_PIN -1 // 80
|
#define E0_SERIAL_RX_PIN -1 // 76
|
||||||
#endif
|
#endif
|
||||||
#ifndef E1_SERIAL_TX_PIN
|
#ifndef E1_SERIAL_TX_PIN
|
||||||
#define E1_SERIAL_TX_PIN 81
|
#define E1_SERIAL_TX_PIN 81
|
||||||
#endif
|
#endif
|
||||||
#ifndef E2_SERIAL_RX_PIN
|
#ifndef E1_SERIAL_RX_PIN
|
||||||
#define E2_SERIAL_RX_PIN -1 // 22
|
#define E1_SERIAL_RX_PIN -1 // 80
|
||||||
#endif
|
#endif
|
||||||
#ifndef E2_SERIAL_TX_PIN
|
#ifndef E2_SERIAL_TX_PIN
|
||||||
#define E2_SERIAL_TX_PIN 82
|
#define E2_SERIAL_TX_PIN 82
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef E2_SERIAL_RX_PIN
|
||||||
|
#define E2_SERIAL_RX_PIN -1 // 22
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -33,18 +33,23 @@
|
|||||||
/**
|
/**
|
||||||
* TMC2208/TMC2209 stepper drivers
|
* TMC2208/TMC2209 stepper drivers
|
||||||
*/
|
*/
|
||||||
#define X_SERIAL_RX_PIN 72
|
|
||||||
#define X_SERIAL_TX_PIN 71
|
#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 Y_SERIAL_TX_PIN 78
|
||||||
#define Z_SERIAL_RX_PIN 75
|
#define Y_SERIAL_RX_PIN 73
|
||||||
|
|
||||||
#define Z_SERIAL_TX_PIN 79
|
#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 E0_SERIAL_TX_PIN 81
|
||||||
#define E1_SERIAL_RX_PIN 76
|
#define E0_SERIAL_RX_PIN 77
|
||||||
|
|
||||||
#define E1_SERIAL_TX_PIN 80
|
#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_TX_PIN 82
|
||||||
|
#define E2_SERIAL_RX_PIN 62
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "pins_FYSETC_F6_13.h"
|
#include "pins_FYSETC_F6_13.h"
|
||||||
|
@ -54,9 +54,7 @@
|
|||||||
#define TEMP_0_PIN 15 // Analog Input
|
#define TEMP_0_PIN 15 // Analog Input
|
||||||
#define TEMP_1_PIN 13 // Analog Input
|
#define TEMP_1_PIN 13 // Analog Input
|
||||||
|
|
||||||
//
|
#if HAS_TMC_UART
|
||||||
// Software serial
|
|
||||||
//
|
|
||||||
#define X_SERIAL_TX_PIN 59
|
#define X_SERIAL_TX_PIN 59
|
||||||
#define X_SERIAL_RX_PIN 63
|
#define X_SERIAL_RX_PIN 63
|
||||||
|
|
||||||
@ -68,6 +66,7 @@
|
|||||||
|
|
||||||
#define E0_SERIAL_TX_PIN 66
|
#define E0_SERIAL_TX_PIN 66
|
||||||
#define E0_SERIAL_RX_PIN 65
|
#define E0_SERIAL_RX_PIN 65
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "pins_RAMPS.h"
|
#include "pins_RAMPS.h"
|
||||||
|
|
||||||
|
@ -321,10 +321,6 @@
|
|||||||
//#define E3_HARDWARE_SERIAL Serial1
|
//#define E3_HARDWARE_SERIAL Serial1
|
||||||
//#define E4_HARDWARE_SERIAL Serial1
|
//#define E4_HARDWARE_SERIAL Serial1
|
||||||
|
|
||||||
//
|
|
||||||
// Software serial
|
|
||||||
//
|
|
||||||
|
|
||||||
#ifndef X_SERIAL_TX_PIN
|
#ifndef X_SERIAL_TX_PIN
|
||||||
#define X_SERIAL_TX_PIN 40
|
#define X_SERIAL_TX_PIN 40
|
||||||
#endif
|
#endif
|
||||||
|
@ -117,10 +117,6 @@
|
|||||||
//#define E3_HARDWARE_SERIAL Serial1
|
//#define E3_HARDWARE_SERIAL Serial1
|
||||||
//#define E3_HARDWARE_SERIAL Serial1
|
//#define E3_HARDWARE_SERIAL Serial1
|
||||||
|
|
||||||
//
|
|
||||||
// Software serial
|
|
||||||
//
|
|
||||||
|
|
||||||
#define X_SERIAL_TX_PIN -1 // 59
|
#define X_SERIAL_TX_PIN -1 // 59
|
||||||
#define X_SERIAL_RX_PIN -1 // 63
|
#define X_SERIAL_RX_PIN -1 // 63
|
||||||
#define X2_SERIAL_TX_PIN -1
|
#define X2_SERIAL_TX_PIN -1
|
||||||
|
@ -213,10 +213,6 @@
|
|||||||
//#define E3_HARDWARE_SERIAL Serial1
|
//#define E3_HARDWARE_SERIAL Serial1
|
||||||
//#define E4_HARDWARE_SERIAL Serial1
|
//#define E4_HARDWARE_SERIAL Serial1
|
||||||
|
|
||||||
//
|
|
||||||
// Software serial
|
|
||||||
//
|
|
||||||
|
|
||||||
#ifndef X_SERIAL_TX_PIN
|
#ifndef X_SERIAL_TX_PIN
|
||||||
#define X_SERIAL_TX_PIN 40
|
#define X_SERIAL_TX_PIN 40
|
||||||
#endif
|
#endif
|
||||||
|
@ -194,60 +194,56 @@
|
|||||||
//#define E0_HARDWARE_SERIAL Serial1
|
//#define E0_HARDWARE_SERIAL Serial1
|
||||||
//#define E1_HARDWARE_SERIAL Serial1
|
//#define E1_HARDWARE_SERIAL Serial1
|
||||||
|
|
||||||
//
|
|
||||||
// Software serial
|
|
||||||
//
|
|
||||||
|
|
||||||
#ifndef X_SERIAL_TX_PIN
|
#ifndef X_SERIAL_TX_PIN
|
||||||
#define X_SERIAL_TX_PIN 47
|
#define X_SERIAL_TX_PIN 47
|
||||||
#endif
|
#endif
|
||||||
#ifndef X_SERIAL_RX_PIN
|
#ifndef X_SERIAL_RX_PIN
|
||||||
#define X_SERIAL_RX_PIN 47
|
#define X_SERIAL_RX_PIN X_SERIAL_TX_PIN
|
||||||
#endif
|
#endif
|
||||||
#ifndef X2_SERIAL_TX_PIN
|
#ifndef X2_SERIAL_TX_PIN
|
||||||
#define X2_SERIAL_TX_PIN -1
|
#define X2_SERIAL_TX_PIN -1
|
||||||
#endif
|
#endif
|
||||||
#ifndef X2_SERIAL_RX_PIN
|
#ifndef X2_SERIAL_RX_PIN
|
||||||
#define X2_SERIAL_RX_PIN -1
|
#define X2_SERIAL_RX_PIN X2_SERIAL_TX_PIN
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef Y_SERIAL_TX_PIN
|
#ifndef Y_SERIAL_TX_PIN
|
||||||
#define Y_SERIAL_TX_PIN 45
|
#define Y_SERIAL_TX_PIN 45
|
||||||
#endif
|
#endif
|
||||||
#ifndef Y_SERIAL_RX_PIN
|
#ifndef Y_SERIAL_RX_PIN
|
||||||
#define Y_SERIAL_RX_PIN 45
|
#define Y_SERIAL_RX_PIN Y_SERIAL_TX_PIN
|
||||||
#endif
|
#endif
|
||||||
#ifndef Y2_SERIAL_TX_PIN
|
#ifndef Y2_SERIAL_TX_PIN
|
||||||
#define Y2_SERIAL_TX_PIN -1
|
#define Y2_SERIAL_TX_PIN -1
|
||||||
#endif
|
#endif
|
||||||
#ifndef Y2_SERIAL_RX_PIN
|
#ifndef Y2_SERIAL_RX_PIN
|
||||||
#define Y2_SERIAL_RX_PIN -1
|
#define Y2_SERIAL_RX_PIN Y2_SERIAL_TX_PIN
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef Z_SERIAL_TX_PIN
|
#ifndef Z_SERIAL_TX_PIN
|
||||||
#define Z_SERIAL_TX_PIN 32
|
#define Z_SERIAL_TX_PIN 32
|
||||||
#endif
|
#endif
|
||||||
#ifndef Z_SERIAL_RX_PIN
|
#ifndef Z_SERIAL_RX_PIN
|
||||||
#define Z_SERIAL_RX_PIN 32
|
#define Z_SERIAL_RX_PIN Z_SERIAL_TX_PIN
|
||||||
#endif
|
#endif
|
||||||
#ifndef Z2_SERIAL_TX_PIN
|
#ifndef Z2_SERIAL_TX_PIN
|
||||||
#define Z2_SERIAL_TX_PIN 22
|
#define Z2_SERIAL_TX_PIN 22
|
||||||
#endif
|
#endif
|
||||||
#ifndef Z2_SERIAL_RX_PIN
|
#ifndef Z2_SERIAL_RX_PIN
|
||||||
#define Z2_SERIAL_RX_PIN 22
|
#define Z2_SERIAL_RX_PIN Z2_SERIAL_TX_PIN
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef E0_SERIAL_TX_PIN
|
#ifndef E0_SERIAL_TX_PIN
|
||||||
#define E0_SERIAL_TX_PIN 43
|
#define E0_SERIAL_TX_PIN 43
|
||||||
#endif
|
#endif
|
||||||
#ifndef E0_SERIAL_RX_PIN
|
#ifndef E0_SERIAL_RX_PIN
|
||||||
#define E0_SERIAL_RX_PIN 43
|
#define E0_SERIAL_RX_PIN E0_SERIAL_TX_PIN
|
||||||
#endif
|
#endif
|
||||||
#ifndef E1_SERIAL_TX_PIN
|
#ifndef E1_SERIAL_TX_PIN
|
||||||
#define E1_SERIAL_TX_PIN -1
|
#define E1_SERIAL_TX_PIN -1
|
||||||
#endif
|
#endif
|
||||||
#ifndef E1_SERIAL_RX_PIN
|
#ifndef E1_SERIAL_RX_PIN
|
||||||
#define E1_SERIAL_RX_PIN -1
|
#define E1_SERIAL_RX_PIN E1_SERIAL_TX_PIN
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -120,20 +120,17 @@
|
|||||||
//#define Z_HARDWARE_SERIAL MSerial1
|
//#define Z_HARDWARE_SERIAL MSerial1
|
||||||
//#define E0_HARDWARE_SERIAL MSerial1
|
//#define E0_HARDWARE_SERIAL MSerial1
|
||||||
|
|
||||||
//
|
|
||||||
// Software serial
|
|
||||||
//
|
|
||||||
#define X_SERIAL_TX_PIN PC10
|
#define X_SERIAL_TX_PIN PC10
|
||||||
#define X_SERIAL_RX_PIN PC10
|
#define X_SERIAL_RX_PIN X_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define Y_SERIAL_TX_PIN PC11
|
#define Y_SERIAL_TX_PIN PC11
|
||||||
#define Y_SERIAL_RX_PIN PC11
|
#define Y_SERIAL_RX_PIN Y_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define Z_SERIAL_TX_PIN PC12
|
#define Z_SERIAL_TX_PIN PC12
|
||||||
#define Z_SERIAL_RX_PIN PC12
|
#define Z_SERIAL_RX_PIN Z_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define E0_SERIAL_TX_PIN PD2
|
#define E0_SERIAL_TX_PIN PD2
|
||||||
#define E0_SERIAL_RX_PIN PD2
|
#define E0_SERIAL_RX_PIN E0_SERIAL_TX_PIN
|
||||||
|
|
||||||
// Reduce baud rate to improve software serial reliability
|
// Reduce baud rate to improve software serial reliability
|
||||||
#define TMC_BAUD_RATE 19200
|
#define TMC_BAUD_RATE 19200
|
||||||
|
@ -33,20 +33,17 @@
|
|||||||
* TMC2208/TMC2209 stepper drivers
|
* TMC2208/TMC2209 stepper drivers
|
||||||
*/
|
*/
|
||||||
#if HAS_TMC_UART
|
#if HAS_TMC_UART
|
||||||
//
|
|
||||||
// Software serial
|
|
||||||
//
|
|
||||||
#define X_SERIAL_TX_PIN PB15
|
#define X_SERIAL_TX_PIN PB15
|
||||||
#define X_SERIAL_RX_PIN PB15
|
#define X_SERIAL_RX_PIN X_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define Y_SERIAL_TX_PIN PC6
|
#define Y_SERIAL_TX_PIN PC6
|
||||||
#define Y_SERIAL_RX_PIN PC6
|
#define Y_SERIAL_RX_PIN Y_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define Z_SERIAL_TX_PIN PC10
|
#define Z_SERIAL_TX_PIN PC10
|
||||||
#define Z_SERIAL_RX_PIN PC10
|
#define Z_SERIAL_RX_PIN Z_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define E0_SERIAL_TX_PIN PC11
|
#define E0_SERIAL_TX_PIN PC11
|
||||||
#define E0_SERIAL_RX_PIN PC11
|
#define E0_SERIAL_RX_PIN E0_SERIAL_TX_PIN
|
||||||
|
|
||||||
// Reduce baud rate to improve software serial reliability
|
// Reduce baud rate to improve software serial reliability
|
||||||
#define TMC_BAUD_RATE 19200
|
#define TMC_BAUD_RATE 19200
|
||||||
|
@ -84,15 +84,20 @@
|
|||||||
#define E0_STEP_PIN PA6
|
#define E0_STEP_PIN PA6
|
||||||
#define E0_DIR_PIN PA5
|
#define E0_DIR_PIN PA5
|
||||||
|
|
||||||
|
#if HAS_TMC_UART
|
||||||
// Stepper drivers Serial UART
|
// Stepper drivers Serial UART
|
||||||
#define X_SERIAL_TX_PIN PB3
|
#define X_SERIAL_TX_PIN PB3
|
||||||
#define X_SERIAL_RX_PIN PD2
|
#define X_SERIAL_RX_PIN PD2
|
||||||
|
|
||||||
#define Y_SERIAL_TX_PIN PA15
|
#define Y_SERIAL_TX_PIN PA15
|
||||||
#define Y_SERIAL_RX_PIN PC6
|
#define Y_SERIAL_RX_PIN PC6
|
||||||
|
|
||||||
#define Z_SERIAL_TX_PIN PB11
|
#define Z_SERIAL_TX_PIN PB11
|
||||||
#define Z_SERIAL_RX_PIN PB10
|
#define Z_SERIAL_RX_PIN PB10
|
||||||
|
|
||||||
#define E0_SERIAL_TX_PIN PC5
|
#define E0_SERIAL_TX_PIN PC5
|
||||||
#define E0_SERIAL_RX_PIN PC4
|
#define E0_SERIAL_RX_PIN PC4
|
||||||
|
#endif
|
||||||
|
|
||||||
// Reduce baud rate to improve software serial reliability
|
// Reduce baud rate to improve software serial reliability
|
||||||
#define TMC_BAUD_RATE 19200
|
#define TMC_BAUD_RATE 19200
|
||||||
|
@ -124,11 +124,11 @@
|
|||||||
// 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
|
||||||
#define X_SERIAL_RX_PIN PA10 // RXD1
|
#define X_SERIAL_RX_PIN X_SERIAL_TX_PIN
|
||||||
#define Y_SERIAL_TX_PIN PA9 // TXD1
|
#define Y_SERIAL_TX_PIN PA9 // TXD1
|
||||||
#define Y_SERIAL_RX_PIN PA9 // TXD1
|
#define Y_SERIAL_RX_PIN Y_SERIAL_TX_PIN
|
||||||
#define Z_SERIAL_TX_PIN PC7 // IO1
|
#define Z_SERIAL_TX_PIN PC7 // IO1
|
||||||
#define Z_SERIAL_RX_PIN PC7 // IO1
|
#define Z_SERIAL_RX_PIN Z_SERIAL_TX_PIN
|
||||||
#define TMC_BAUD_RATE 19200
|
#define TMC_BAUD_RATE 19200
|
||||||
#else
|
#else
|
||||||
// Motor current PWM pins
|
// Motor current PWM pins
|
||||||
|
@ -94,17 +94,14 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if HAS_TMC_UART
|
#if HAS_TMC_UART
|
||||||
//
|
|
||||||
// Software serial
|
|
||||||
//
|
|
||||||
#define X_SERIAL_TX_PIN PB0
|
#define X_SERIAL_TX_PIN PB0
|
||||||
#define X_SERIAL_RX_PIN PB0
|
#define X_SERIAL_RX_PIN X_SERIAL_TX_PIN
|
||||||
#define Y_SERIAL_TX_PIN PA7
|
#define Y_SERIAL_TX_PIN PA7
|
||||||
#define Y_SERIAL_RX_PIN PA7
|
#define Y_SERIAL_RX_PIN Y_SERIAL_TX_PIN
|
||||||
#define Z_SERIAL_TX_PIN PA4
|
#define Z_SERIAL_TX_PIN PA4
|
||||||
#define Z_SERIAL_RX_PIN PA4
|
#define Z_SERIAL_RX_PIN Z_SERIAL_TX_PIN
|
||||||
#define E0_SERIAL_TX_PIN PC2
|
#define E0_SERIAL_TX_PIN PC2
|
||||||
#define E0_SERIAL_RX_PIN PC2
|
#define E0_SERIAL_RX_PIN E0_SERIAL_TX_PIN
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -42,9 +42,6 @@
|
|||||||
* TMC2208/TMC2209 stepper drivers
|
* TMC2208/TMC2209 stepper drivers
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//
|
|
||||||
// Software serial
|
|
||||||
//
|
|
||||||
#define X_SERIAL_TX_PIN PA11
|
#define X_SERIAL_TX_PIN PA11
|
||||||
#define X_SERIAL_RX_PIN PA12
|
#define X_SERIAL_RX_PIN PA12
|
||||||
|
|
||||||
|
@ -258,12 +258,12 @@
|
|||||||
//#define TMC_SOFTWARE_SERIAL
|
//#define TMC_SOFTWARE_SERIAL
|
||||||
#if ENABLED(TMC_SOFTWARE_SERIAL)
|
#if ENABLED(TMC_SOFTWARE_SERIAL)
|
||||||
#define X_SERIAL_TX_PIN PF8 // SERVO3_PIN -- XS2 - 6
|
#define X_SERIAL_TX_PIN PF8 // SERVO3_PIN -- XS2 - 6
|
||||||
#define Y_SERIAL_TX_PIN PF9 // SERVO2_PIN -- XS2 - 5
|
|
||||||
#define Z_SERIAL_TX_PIN PA1 // SERVO1_PIN -- XS1 - 6
|
|
||||||
#define E0_SERIAL_TX_PIN PC3 // SERVO0_PIN -- XS1 - 5
|
|
||||||
#define X_SERIAL_RX_PIN X_SERIAL_TX_PIN
|
#define X_SERIAL_RX_PIN X_SERIAL_TX_PIN
|
||||||
|
#define Y_SERIAL_TX_PIN PF9 // SERVO2_PIN -- XS2 - 5
|
||||||
#define Y_SERIAL_RX_PIN Y_SERIAL_TX_PIN
|
#define Y_SERIAL_RX_PIN Y_SERIAL_TX_PIN
|
||||||
|
#define Z_SERIAL_TX_PIN PA1 // SERVO1_PIN -- XS1 - 6
|
||||||
#define Z_SERIAL_RX_PIN Z_SERIAL_TX_PIN
|
#define Z_SERIAL_RX_PIN Z_SERIAL_TX_PIN
|
||||||
|
#define E0_SERIAL_TX_PIN PC3 // SERVO0_PIN -- XS1 - 5
|
||||||
#define E0_SERIAL_RX_PIN E0_SERIAL_TX_PIN
|
#define E0_SERIAL_RX_PIN E0_SERIAL_TX_PIN
|
||||||
#define TMC_BAUD_RATE 19200
|
#define TMC_BAUD_RATE 19200
|
||||||
#endif
|
#endif
|
||||||
|
@ -145,10 +145,6 @@
|
|||||||
//#define E3_HARDWARE_SERIAL Serial1
|
//#define E3_HARDWARE_SERIAL Serial1
|
||||||
//#define E4_HARDWARE_SERIAL Serial1
|
//#define E4_HARDWARE_SERIAL Serial1
|
||||||
|
|
||||||
//
|
|
||||||
// Software serial
|
|
||||||
//
|
|
||||||
|
|
||||||
#define X_SERIAL_TX_PIN PD5
|
#define X_SERIAL_TX_PIN PD5
|
||||||
#define X_SERIAL_RX_PIN PD5
|
#define X_SERIAL_RX_PIN PD5
|
||||||
|
|
||||||
|
@ -92,9 +92,6 @@
|
|||||||
//#define Z_HARDWARE_SERIAL MSerial1
|
//#define Z_HARDWARE_SERIAL MSerial1
|
||||||
//#define E0_HARDWARE_SERIAL MSerial1
|
//#define E0_HARDWARE_SERIAL MSerial1
|
||||||
|
|
||||||
//
|
|
||||||
// Software serial
|
|
||||||
//
|
|
||||||
#define X_SERIAL_TX_PIN PC7
|
#define X_SERIAL_TX_PIN PC7
|
||||||
#define X_SERIAL_RX_PIN PC7
|
#define X_SERIAL_RX_PIN PC7
|
||||||
|
|
||||||
|
@ -146,10 +146,6 @@
|
|||||||
//#define E0_HARDWARE_SERIAL MSerial1
|
//#define E0_HARDWARE_SERIAL MSerial1
|
||||||
//#define E1_HARDWARE_SERIAL MSerial1
|
//#define E1_HARDWARE_SERIAL MSerial1
|
||||||
|
|
||||||
//
|
|
||||||
// Software serial
|
|
||||||
//
|
|
||||||
|
|
||||||
#define X_SERIAL_TX_PIN PD5
|
#define X_SERIAL_TX_PIN PD5
|
||||||
#define X_SERIAL_RX_PIN PD5
|
#define X_SERIAL_RX_PIN PD5
|
||||||
|
|
||||||
|
@ -133,9 +133,6 @@
|
|||||||
//#define E1_HARDWARE_SERIAL MSerial1
|
//#define E1_HARDWARE_SERIAL MSerial1
|
||||||
//#define E2_HARDWARE_SERIAL MSerial1
|
//#define E2_HARDWARE_SERIAL MSerial1
|
||||||
|
|
||||||
//
|
|
||||||
// Software serial
|
|
||||||
//
|
|
||||||
#define X_SERIAL_TX_PIN PF7
|
#define X_SERIAL_TX_PIN PF7
|
||||||
#define X_SERIAL_RX_PIN PF8
|
#define X_SERIAL_RX_PIN PF8
|
||||||
|
|
||||||
|
@ -204,9 +204,6 @@
|
|||||||
|
|
||||||
#if HAS_TMC_UART
|
#if HAS_TMC_UART
|
||||||
// TMC2208/TMC2209 stepper drivers
|
// TMC2208/TMC2209 stepper drivers
|
||||||
//
|
|
||||||
// Software serial
|
|
||||||
//
|
|
||||||
#define X_SERIAL_TX_PIN EXT0_PIN
|
#define X_SERIAL_TX_PIN EXT0_PIN
|
||||||
#define X_SERIAL_RX_PIN EXT0_PIN
|
#define X_SERIAL_RX_PIN EXT0_PIN
|
||||||
|
|
||||||
|
@ -137,20 +137,17 @@
|
|||||||
//#define E3_HARDWARE_SERIAL Serial1
|
//#define E3_HARDWARE_SERIAL Serial1
|
||||||
//#define E4_HARDWARE_SERIAL Serial1
|
//#define E4_HARDWARE_SERIAL Serial1
|
||||||
|
|
||||||
//
|
|
||||||
// Software serial ##
|
|
||||||
//
|
|
||||||
#define X_SERIAL_TX_PIN PE2
|
#define X_SERIAL_TX_PIN PE2
|
||||||
#define X_SERIAL_RX_PIN PE2
|
#define X_SERIAL_RX_PIN X_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define Y_SERIAL_TX_PIN PE3
|
#define Y_SERIAL_TX_PIN PE3
|
||||||
#define Y_SERIAL_RX_PIN PE3
|
#define Y_SERIAL_RX_PIN Y_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define Z_SERIAL_TX_PIN PE4
|
#define Z_SERIAL_TX_PIN PE4
|
||||||
#define Z_SERIAL_RX_PIN PE4
|
#define Z_SERIAL_RX_PIN Z_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define E0_SERIAL_TX_PIN PD7
|
#define E0_SERIAL_TX_PIN PD7
|
||||||
#define E0_SERIAL_RX_PIN PD7
|
#define E0_SERIAL_RX_PIN E0_SERIAL_TX_PIN
|
||||||
|
|
||||||
// Reduce baud rate to improve software serial reliability
|
// Reduce baud rate to improve software serial reliability
|
||||||
#define TMC_BAUD_RATE 19200
|
#define TMC_BAUD_RATE 19200
|
||||||
|
@ -112,27 +112,24 @@
|
|||||||
* TMC2208/TMC2209 stepper drivers
|
* TMC2208/TMC2209 stepper drivers
|
||||||
*/
|
*/
|
||||||
#if HAS_TMC_UART
|
#if HAS_TMC_UART
|
||||||
//
|
|
||||||
// Software serial
|
|
||||||
//
|
|
||||||
#define X_SERIAL_TX_PIN PD6
|
#define X_SERIAL_TX_PIN PD6
|
||||||
#define X_SERIAL_RX_PIN PD6
|
#define X_SERIAL_RX_PIN X_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define Y_SERIAL_TX_PIN PD1
|
#define Y_SERIAL_TX_PIN PD1
|
||||||
#define Y_SERIAL_RX_PIN PD1
|
#define Y_SERIAL_RX_PIN Y_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define Z_SERIAL_TX_PIN PD15
|
#define Z_SERIAL_TX_PIN PD15
|
||||||
#define Z_SERIAL_RX_PIN PD15
|
#define Z_SERIAL_RX_PIN Z_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define E0_SERIAL_TX_PIN PD11
|
#define E0_SERIAL_TX_PIN PD11
|
||||||
#define E0_SERIAL_RX_PIN PD11
|
#define E0_SERIAL_RX_PIN E0_SERIAL_TX_PIN
|
||||||
|
|
||||||
#if ENABLED(BTT_E3_RRF_IDEX_BOARD)
|
#if ENABLED(BTT_E3_RRF_IDEX_BOARD)
|
||||||
#define X2_SERIAL_TX_PIN FPC12_PIN // X2UART
|
#define X2_SERIAL_TX_PIN FPC12_PIN // X2UART
|
||||||
#define X2_SERIAL_RX_PIN FPC12_PIN // X2UART
|
#define X2_SERIAL_RX_PIN X2_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define E1_SERIAL_TX_PIN FPC6_PIN // E1UART
|
#define E1_SERIAL_TX_PIN FPC6_PIN // E1UART
|
||||||
#define E1_SERIAL_RX_PIN FPC6_PIN // E1UART
|
#define E1_SERIAL_RX_PIN E1_SERIAL_TX_PIN
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Reduce baud rate to improve software serial reliability
|
// Reduce baud rate to improve software serial reliability
|
||||||
|
@ -239,42 +239,39 @@
|
|||||||
//#define E6_HARDWARE_SERIAL Serial1 // M5 MOTOR 4
|
//#define E6_HARDWARE_SERIAL Serial1 // M5 MOTOR 4
|
||||||
//#define E7_HARDWARE_SERIAL Serial1 // M5 MOTOR 5
|
//#define E7_HARDWARE_SERIAL Serial1 // M5 MOTOR 5
|
||||||
|
|
||||||
//
|
|
||||||
// Software serial
|
|
||||||
//
|
|
||||||
#define X_SERIAL_TX_PIN PC14
|
#define X_SERIAL_TX_PIN PC14
|
||||||
#define X_SERIAL_RX_PIN PC14
|
#define X_SERIAL_RX_PIN X_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define Y_SERIAL_TX_PIN PE1
|
#define Y_SERIAL_TX_PIN PE1
|
||||||
#define Y_SERIAL_RX_PIN PE1
|
#define Y_SERIAL_RX_PIN Y_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define Z_SERIAL_TX_PIN PB5
|
#define Z_SERIAL_TX_PIN PB5
|
||||||
#define Z_SERIAL_RX_PIN PB5
|
#define Z_SERIAL_RX_PIN Z_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define E0_SERIAL_TX_PIN PG10
|
#define E0_SERIAL_TX_PIN PG10
|
||||||
#define E0_SERIAL_RX_PIN PG10
|
#define E0_SERIAL_RX_PIN E0_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define E1_SERIAL_TX_PIN PD4
|
#define E1_SERIAL_TX_PIN PD4
|
||||||
#define E1_SERIAL_RX_PIN PD4
|
#define E1_SERIAL_RX_PIN E1_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define E2_SERIAL_TX_PIN PC12
|
#define E2_SERIAL_TX_PIN PC12
|
||||||
#define E2_SERIAL_RX_PIN PC12
|
#define E2_SERIAL_RX_PIN E2_SERIAL_TX_PIN
|
||||||
|
|
||||||
#if ENABLED(M5_EXTENDER)
|
#if ENABLED(M5_EXTENDER)
|
||||||
#define E3_SERIAL_TX_PIN PG4
|
#define E3_SERIAL_TX_PIN PG4
|
||||||
#define E3_SERIAL_RX_PIN PG4
|
#define E3_SERIAL_RX_PIN E3_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define E4_SERIAL_TX_PIN PE15
|
#define E4_SERIAL_TX_PIN PE15
|
||||||
#define E4_SERIAL_RX_PIN PE15
|
#define E4_SERIAL_RX_PIN E4_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define E5_SERIAL_TX_PIN PE7
|
#define E5_SERIAL_TX_PIN PE7
|
||||||
#define E5_SERIAL_RX_PIN PE7
|
#define E5_SERIAL_RX_PIN E5_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define E6_SERIAL_TX_PIN PF15
|
#define E6_SERIAL_TX_PIN PF15
|
||||||
#define E6_SERIAL_RX_PIN PF15
|
#define E6_SERIAL_RX_PIN E6_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define E7_SERIAL_TX_PIN PH14
|
#define E7_SERIAL_TX_PIN PH14
|
||||||
#define E7_SERIAL_RX_PIN PH14
|
#define E7_SERIAL_RX_PIN E7_SERIAL_TX_PIN
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Reduce baud rate to improve software serial reliability
|
// Reduce baud rate to improve software serial reliability
|
||||||
|
@ -282,32 +282,29 @@
|
|||||||
//#define E3_HARDWARE_SERIAL Serial1
|
//#define E3_HARDWARE_SERIAL Serial1
|
||||||
//#define E4_HARDWARE_SERIAL Serial1
|
//#define E4_HARDWARE_SERIAL Serial1
|
||||||
|
|
||||||
//
|
|
||||||
// Software serial
|
|
||||||
//
|
|
||||||
#define X_SERIAL_TX_PIN PC4
|
#define X_SERIAL_TX_PIN PC4
|
||||||
#define X_SERIAL_RX_PIN PC4
|
#define X_SERIAL_RX_PIN X_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define Y_SERIAL_TX_PIN PD11
|
#define Y_SERIAL_TX_PIN PD11
|
||||||
#define Y_SERIAL_RX_PIN PD11
|
#define Y_SERIAL_RX_PIN Y_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define Z_SERIAL_TX_PIN PC6
|
#define Z_SERIAL_TX_PIN PC6
|
||||||
#define Z_SERIAL_RX_PIN PC6
|
#define Z_SERIAL_RX_PIN Z_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define Z2_SERIAL_TX_PIN PC7
|
#define Z2_SERIAL_TX_PIN PC7
|
||||||
#define Z2_SERIAL_RX_PIN PC7
|
#define Z2_SERIAL_RX_PIN Z2_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define E0_SERIAL_TX_PIN PF2
|
#define E0_SERIAL_TX_PIN PF2
|
||||||
#define E0_SERIAL_RX_PIN PF2
|
#define E0_SERIAL_RX_PIN E0_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define E1_SERIAL_TX_PIN PE4
|
#define E1_SERIAL_TX_PIN PE4
|
||||||
#define E1_SERIAL_RX_PIN PE4
|
#define E1_SERIAL_RX_PIN E1_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define E2_SERIAL_TX_PIN PE1
|
#define E2_SERIAL_TX_PIN PE1
|
||||||
#define E2_SERIAL_RX_PIN PE1
|
#define E2_SERIAL_RX_PIN E2_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define E3_SERIAL_TX_PIN PD3
|
#define E3_SERIAL_TX_PIN PD3
|
||||||
#define E3_SERIAL_RX_PIN PD3
|
#define E3_SERIAL_RX_PIN E3_SERIAL_TX_PIN
|
||||||
|
|
||||||
// Reduce baud rate to improve software serial reliability
|
// Reduce baud rate to improve software serial reliability
|
||||||
#define TMC_BAUD_RATE 19200
|
#define TMC_BAUD_RATE 19200
|
||||||
@ -387,7 +384,7 @@
|
|||||||
#define E4_CS_PIN EXP1_05_PIN
|
#define E4_CS_PIN EXP1_05_PIN
|
||||||
#if HAS_TMC_UART
|
#if HAS_TMC_UART
|
||||||
#define E4_SERIAL_TX_PIN EXP1_05_PIN
|
#define E4_SERIAL_TX_PIN EXP1_05_PIN
|
||||||
#define E4_SERIAL_RX_PIN EXP1_05_PIN
|
#define E4_SERIAL_RX_PIN E4_SERIAL_TX_PIN
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// M2 on Driver Expansion Module
|
// M2 on Driver Expansion Module
|
||||||
@ -398,7 +395,7 @@
|
|||||||
#define E5_CS_PIN EXP1_07_PIN
|
#define E5_CS_PIN EXP1_07_PIN
|
||||||
#if HAS_TMC_UART
|
#if HAS_TMC_UART
|
||||||
#define E5_SERIAL_TX_PIN EXP1_07_PIN
|
#define E5_SERIAL_TX_PIN EXP1_07_PIN
|
||||||
#define E5_SERIAL_RX_PIN EXP1_07_PIN
|
#define E5_SERIAL_RX_PIN E5_SERIAL_TX_PIN
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// M3 on Driver Expansion Module
|
// M3 on Driver Expansion Module
|
||||||
@ -409,7 +406,7 @@
|
|||||||
#define E6_CS_PIN EXP1_09_PIN
|
#define E6_CS_PIN EXP1_09_PIN
|
||||||
#if HAS_TMC_UART
|
#if HAS_TMC_UART
|
||||||
#define E6_SERIAL_TX_PIN EXP1_09_PIN
|
#define E6_SERIAL_TX_PIN EXP1_09_PIN
|
||||||
#define E6_SERIAL_RX_PIN EXP1_09_PIN
|
#define E6_SERIAL_RX_PIN E6_SERIAL_TX_PIN
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // BTT_MOTOR_EXPANSION
|
#endif // BTT_MOTOR_EXPANSION
|
||||||
|
@ -204,26 +204,23 @@
|
|||||||
//#define E3_HARDWARE_SERIAL Serial1
|
//#define E3_HARDWARE_SERIAL Serial1
|
||||||
//#define E4_HARDWARE_SERIAL Serial1
|
//#define E4_HARDWARE_SERIAL Serial1
|
||||||
|
|
||||||
//
|
|
||||||
// Software serial
|
|
||||||
//
|
|
||||||
#define X_SERIAL_TX_PIN PC13
|
#define X_SERIAL_TX_PIN PC13
|
||||||
#define X_SERIAL_RX_PIN PC13
|
#define X_SERIAL_RX_PIN X_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define Y_SERIAL_TX_PIN PE3
|
#define Y_SERIAL_TX_PIN PE3
|
||||||
#define Y_SERIAL_RX_PIN PE3
|
#define Y_SERIAL_RX_PIN Y_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define Z_SERIAL_TX_PIN PE1
|
#define Z_SERIAL_TX_PIN PE1
|
||||||
#define Z_SERIAL_RX_PIN PE1
|
#define Z_SERIAL_RX_PIN Z_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define E0_SERIAL_TX_PIN PD4
|
#define E0_SERIAL_TX_PIN PD4
|
||||||
#define E0_SERIAL_RX_PIN PD4
|
#define E0_SERIAL_RX_PIN E0_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define E1_SERIAL_TX_PIN PD1
|
#define E1_SERIAL_TX_PIN PD1
|
||||||
#define E1_SERIAL_RX_PIN PD1
|
#define E1_SERIAL_RX_PIN E1_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define E2_SERIAL_TX_PIN PD6
|
#define E2_SERIAL_TX_PIN PD6
|
||||||
#define E2_SERIAL_RX_PIN PD6
|
#define E2_SERIAL_RX_PIN E2_SERIAL_TX_PIN
|
||||||
|
|
||||||
// Reduce baud rate to improve software serial reliability
|
// Reduce baud rate to improve software serial reliability
|
||||||
#define TMC_BAUD_RATE 19200
|
#define TMC_BAUD_RATE 19200
|
||||||
|
@ -267,23 +267,20 @@
|
|||||||
//#define E3_HARDWARE_SERIAL Serial1
|
//#define E3_HARDWARE_SERIAL Serial1
|
||||||
//#define E4_HARDWARE_SERIAL Serial1
|
//#define E4_HARDWARE_SERIAL Serial1
|
||||||
|
|
||||||
//
|
|
||||||
// Software serial
|
|
||||||
//
|
|
||||||
#define X_SERIAL_TX_PIN PE0
|
#define X_SERIAL_TX_PIN PE0
|
||||||
#define X_SERIAL_RX_PIN PE0
|
#define X_SERIAL_RX_PIN X_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define Y_SERIAL_TX_PIN PD3
|
#define Y_SERIAL_TX_PIN PD3
|
||||||
#define Y_SERIAL_RX_PIN PD3
|
#define Y_SERIAL_RX_PIN Y_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define Z_SERIAL_TX_PIN PD0
|
#define Z_SERIAL_TX_PIN PD0
|
||||||
#define Z_SERIAL_RX_PIN PD0
|
#define Z_SERIAL_RX_PIN Z_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define E0_SERIAL_TX_PIN PC6
|
#define E0_SERIAL_TX_PIN PC6
|
||||||
#define E0_SERIAL_RX_PIN PC6
|
#define E0_SERIAL_RX_PIN E0_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define E1_SERIAL_TX_PIN PD12
|
#define E1_SERIAL_TX_PIN PD12
|
||||||
#define E1_SERIAL_RX_PIN PD12
|
#define E1_SERIAL_RX_PIN E1_SERIAL_TX_PIN
|
||||||
|
|
||||||
// Reduce baud rate to improve software serial reliability
|
// Reduce baud rate to improve software serial reliability
|
||||||
#define TMC_BAUD_RATE 19200
|
#define TMC_BAUD_RATE 19200
|
||||||
|
@ -234,32 +234,31 @@
|
|||||||
|
|
||||||
#if HAS_TMC_UART
|
#if HAS_TMC_UART
|
||||||
#define X_SERIAL_TX_PIN PG13
|
#define X_SERIAL_TX_PIN PG13
|
||||||
#define X_SERIAL_RX_PIN PG13
|
#define X_SERIAL_RX_PIN X_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define Y_SERIAL_TX_PIN PG10
|
#define Y_SERIAL_TX_PIN PG10
|
||||||
#define Y_SERIAL_RX_PIN PG10
|
#define Y_SERIAL_RX_PIN Y_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define Z_SERIAL_TX_PIN PD5
|
#define Z_SERIAL_TX_PIN PD5
|
||||||
#define Z_SERIAL_RX_PIN PD5
|
#define Z_SERIAL_RX_PIN Z_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define E0_SERIAL_TX_PIN PD1
|
#define E0_SERIAL_TX_PIN PD1
|
||||||
#define E0_SERIAL_RX_PIN PD1
|
#define E0_SERIAL_RX_PIN E0_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define E1_SERIAL_TX_PIN PA14
|
#define E1_SERIAL_TX_PIN PA14
|
||||||
#define E1_SERIAL_RX_PIN PA14
|
#define E1_SERIAL_RX_PIN E1_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define E2_SERIAL_TX_PIN PG6
|
#define E2_SERIAL_TX_PIN PG6
|
||||||
#define E2_SERIAL_RX_PIN PG6
|
#define E2_SERIAL_RX_PIN E2_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define E3_SERIAL_TX_PIN PG3
|
#define E3_SERIAL_TX_PIN PG3
|
||||||
#define E3_SERIAL_RX_PIN PG3
|
#define E3_SERIAL_RX_PIN E3_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define E4_SERIAL_TX_PIN PD10
|
#define E4_SERIAL_TX_PIN PD10
|
||||||
#define E4_SERIAL_RX_PIN PD10
|
#define E4_SERIAL_RX_PIN E4_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define E5_SERIAL_TX_PIN PB12
|
#define E5_SERIAL_TX_PIN PB12
|
||||||
#define E5_SERIAL_RX_PIN PB12
|
#define E5_SERIAL_RX_PIN E5_SERIAL_TX_PIN
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -118,9 +118,6 @@
|
|||||||
// TMC2208/TMC2209 stepper drivers
|
// TMC2208/TMC2209 stepper drivers
|
||||||
//
|
//
|
||||||
|
|
||||||
//
|
|
||||||
// Software serial
|
|
||||||
//
|
|
||||||
#ifndef X_SERIAL_TX_PIN
|
#ifndef X_SERIAL_TX_PIN
|
||||||
#define X_SERIAL_TX_PIN PE9
|
#define X_SERIAL_TX_PIN PE9
|
||||||
#endif
|
#endif
|
||||||
|
@ -40,7 +40,6 @@
|
|||||||
#if HAS_TMC_UART
|
#if HAS_TMC_UART
|
||||||
#define X_SERIAL_TX_PIN PE8
|
#define X_SERIAL_TX_PIN PE8
|
||||||
#define Y_SERIAL_TX_PIN PC4
|
#define Y_SERIAL_TX_PIN PC4
|
||||||
#define Y_SERIAL_RX_PIN PC4
|
|
||||||
#define Z_SERIAL_TX_PIN PD12
|
#define Z_SERIAL_TX_PIN PD12
|
||||||
#define E0_SERIAL_TX_PIN PA15
|
#define E0_SERIAL_TX_PIN PA15
|
||||||
#define E1_SERIAL_TX_PIN PC5
|
#define E1_SERIAL_TX_PIN PC5
|
||||||
|
@ -76,21 +76,28 @@
|
|||||||
|
|
||||||
#if HAS_TMC_UART
|
#if HAS_TMC_UART
|
||||||
#define X_SERIAL_TX_PIN PE7
|
#define X_SERIAL_TX_PIN PE7
|
||||||
#define X_SERIAL_RX_PIN PE7
|
#define X_SERIAL_RX_PIN X_SERIAL_TX_PIN
|
||||||
#define Y_SERIAL_TX_PIN PE15
|
|
||||||
#define Y_SERIAL_RX_PIN PE15
|
|
||||||
#define Z_SERIAL_TX_PIN PD10
|
|
||||||
#define Z_SERIAL_RX_PIN PD10
|
|
||||||
#define E0_SERIAL_TX_PIN PD7
|
|
||||||
#define E0_SERIAL_RX_PIN PD7
|
|
||||||
#define E1_SERIAL_TX_PIN PC14
|
|
||||||
#define E1_SERIAL_RX_PIN PC14
|
|
||||||
#define E2_SERIAL_TX_PIN PC15
|
|
||||||
#define E2_SERIAL_RX_PIN PC15
|
|
||||||
#define X2_SERIAL_TX_PIN PA15
|
#define X2_SERIAL_TX_PIN PA15
|
||||||
#define X2_SERIAL_RX_PIN PA15
|
#define X2_SERIAL_RX_PIN X2_SERIAL_TX_PIN
|
||||||
|
|
||||||
|
#define Y_SERIAL_TX_PIN PE15
|
||||||
|
#define Y_SERIAL_RX_PIN Y_SERIAL_TX_PIN
|
||||||
|
|
||||||
|
#define Z_SERIAL_TX_PIN PD10
|
||||||
|
#define Z_SERIAL_RX_PIN Z_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define Z2_SERIAL_TX_PIN PD11
|
#define Z2_SERIAL_TX_PIN PD11
|
||||||
#define Z2_SERIAL_RX_PIN PD11
|
#define Z2_SERIAL_RX_PIN Z2_SERIAL_TX_PIN
|
||||||
|
|
||||||
|
#define E0_SERIAL_TX_PIN PD7
|
||||||
|
#define E0_SERIAL_RX_PIN E0_SERIAL_TX_PIN
|
||||||
|
|
||||||
|
#define E1_SERIAL_TX_PIN PC14
|
||||||
|
#define E1_SERIAL_RX_PIN E1_SERIAL_TX_PIN
|
||||||
|
|
||||||
|
#define E2_SERIAL_TX_PIN PC15
|
||||||
|
#define E2_SERIAL_RX_PIN E2_SERIAL_TX_PIN
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -118,37 +118,37 @@
|
|||||||
#define X_SERIAL_TX_PIN PB2
|
#define X_SERIAL_TX_PIN PB2
|
||||||
#endif
|
#endif
|
||||||
#ifndef X_SERIAL_RX_PIN
|
#ifndef X_SERIAL_RX_PIN
|
||||||
#define X_SERIAL_RX_PIN PB2
|
#define X_SERIAL_RX_PIN X_SERIAL_TX_PIN
|
||||||
#endif
|
#endif
|
||||||
#ifndef Y_SERIAL_TX_PIN
|
#ifndef Y_SERIAL_TX_PIN
|
||||||
#define Y_SERIAL_TX_PIN PE2
|
#define Y_SERIAL_TX_PIN PE2
|
||||||
#endif
|
#endif
|
||||||
#ifndef Y_SERIAL_RX_PIN
|
#ifndef Y_SERIAL_RX_PIN
|
||||||
#define Y_SERIAL_RX_PIN PE2
|
#define Y_SERIAL_RX_PIN Y_SERIAL_TX_PIN
|
||||||
#endif
|
#endif
|
||||||
#ifndef Z_SERIAL_TX_PIN
|
#ifndef Z_SERIAL_TX_PIN
|
||||||
#define Z_SERIAL_TX_PIN PE3
|
#define Z_SERIAL_TX_PIN PE3
|
||||||
#endif
|
#endif
|
||||||
#ifndef Z_SERIAL_RX_PIN
|
#ifndef Z_SERIAL_RX_PIN
|
||||||
#define Z_SERIAL_RX_PIN PE3
|
#define Z_SERIAL_RX_PIN Z_SERIAL_TX_PIN
|
||||||
#endif
|
#endif
|
||||||
#ifndef E0_SERIAL_TX_PIN
|
#ifndef E0_SERIAL_TX_PIN
|
||||||
#define E0_SERIAL_TX_PIN PE4
|
#define E0_SERIAL_TX_PIN PE4
|
||||||
#endif
|
#endif
|
||||||
#ifndef E0_SERIAL_RX_PIN
|
#ifndef E0_SERIAL_RX_PIN
|
||||||
#define E0_SERIAL_RX_PIN PE4
|
#define E0_SERIAL_RX_PIN E0_SERIAL_TX_PIN
|
||||||
#endif
|
#endif
|
||||||
#ifndef E1_SERIAL_TX_PIN
|
#ifndef E1_SERIAL_TX_PIN
|
||||||
#define E1_SERIAL_TX_PIN PE1
|
#define E1_SERIAL_TX_PIN PE1
|
||||||
#endif
|
#endif
|
||||||
#ifndef E1_SERIAL_RX_PIN
|
#ifndef E1_SERIAL_RX_PIN
|
||||||
#define E1_SERIAL_RX_PIN PE1
|
#define E1_SERIAL_RX_PIN E1_SERIAL_TX_PIN
|
||||||
#endif
|
#endif
|
||||||
#ifndef EX_SERIAL_TX_PIN
|
#ifndef EX_SERIAL_TX_PIN
|
||||||
#define E2_SERIAL_TX_PIN PE0
|
#define E2_SERIAL_TX_PIN PE0
|
||||||
#endif
|
#endif
|
||||||
#ifndef EX_SERIAL_RX_PIN
|
#ifndef EX_SERIAL_RX_PIN
|
||||||
#define E2_SERIAL_RX_PIN PE0
|
#define E2_SERIAL_RX_PIN E2_SERIAL_TX_PIN
|
||||||
#endif
|
#endif
|
||||||
// Reduce baud rate to improve software serial reliability
|
// Reduce baud rate to improve software serial reliability
|
||||||
#define TMC_BAUD_RATE 19200
|
#define TMC_BAUD_RATE 19200
|
||||||
|
@ -160,28 +160,28 @@
|
|||||||
// No Hardware serial for steppers
|
// No Hardware serial for steppers
|
||||||
//
|
//
|
||||||
#define X_SERIAL_TX_PIN PE6
|
#define X_SERIAL_TX_PIN PE6
|
||||||
#define X_SERIAL_RX_PIN PE6
|
#define X_SERIAL_RX_PIN X_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define Y_SERIAL_TX_PIN PE3
|
#define Y_SERIAL_TX_PIN PE3
|
||||||
#define Y_SERIAL_RX_PIN PE3
|
#define Y_SERIAL_RX_PIN Y_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define Z_SERIAL_TX_PIN PB7
|
#define Z_SERIAL_TX_PIN PB7
|
||||||
#define Z_SERIAL_RX_PIN PB7
|
#define Z_SERIAL_RX_PIN Z_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define E0_SERIAL_TX_PIN PB3
|
#define E0_SERIAL_TX_PIN PB3
|
||||||
#define E0_SERIAL_RX_PIN PB3
|
#define E0_SERIAL_RX_PIN E0_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define E1_SERIAL_TX_PIN PD4
|
#define E1_SERIAL_TX_PIN PD4
|
||||||
#define E1_SERIAL_RX_PIN PD4
|
#define E1_SERIAL_RX_PIN E1_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define E2_SERIAL_TX_PIN PD0
|
#define E2_SERIAL_TX_PIN PD0
|
||||||
#define E2_SERIAL_RX_PIN PD0
|
#define E2_SERIAL_RX_PIN E2_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define E3_SERIAL_TX_PIN PD15
|
#define E3_SERIAL_TX_PIN PD15
|
||||||
#define E3_SERIAL_RX_PIN PD15
|
#define E3_SERIAL_RX_PIN E3_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define E4_SERIAL_TX_PIN PD11
|
#define E4_SERIAL_TX_PIN PD11
|
||||||
#define E4_SERIAL_RX_PIN PD11
|
#define E4_SERIAL_RX_PIN E4_SERIAL_TX_PIN
|
||||||
|
|
||||||
// Reduce baud rate to improve software serial reliability
|
// Reduce baud rate to improve software serial reliability
|
||||||
#define TMC_BAUD_RATE 19200
|
#define TMC_BAUD_RATE 19200
|
||||||
|
@ -134,19 +134,19 @@
|
|||||||
// No Hardware serial for steppers
|
// No Hardware serial for steppers
|
||||||
//
|
//
|
||||||
#define X_SERIAL_TX_PIN PD5
|
#define X_SERIAL_TX_PIN PD5
|
||||||
#define X_SERIAL_RX_PIN PD5
|
#define X_SERIAL_RX_PIN X_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define Y_SERIAL_TX_PIN PD7
|
#define Y_SERIAL_TX_PIN PD7
|
||||||
#define Y_SERIAL_RX_PIN PD7
|
#define Y_SERIAL_RX_PIN Y_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define Z_SERIAL_TX_PIN PD4
|
#define Z_SERIAL_TX_PIN PD4
|
||||||
#define Z_SERIAL_RX_PIN PD4
|
#define Z_SERIAL_RX_PIN Z_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define E0_SERIAL_TX_PIN PD9
|
#define E0_SERIAL_TX_PIN PD9
|
||||||
#define E0_SERIAL_RX_PIN PD9
|
#define E0_SERIAL_RX_PIN E0_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define E1_SERIAL_TX_PIN PD8
|
#define E1_SERIAL_TX_PIN PD8
|
||||||
#define E1_SERIAL_RX_PIN PD8
|
#define E1_SERIAL_RX_PIN E1_SERIAL_TX_PIN
|
||||||
|
|
||||||
// Reduce baud rate to improve software serial reliability
|
// Reduce baud rate to improve software serial reliability
|
||||||
#define TMC_BAUD_RATE 19200
|
#define TMC_BAUD_RATE 19200
|
||||||
|
@ -147,24 +147,20 @@
|
|||||||
//#define E3_HARDWARE_SERIAL Serial1
|
//#define E3_HARDWARE_SERIAL Serial1
|
||||||
//#define E4_HARDWARE_SERIAL Serial1
|
//#define E4_HARDWARE_SERIAL Serial1
|
||||||
|
|
||||||
//
|
|
||||||
// Software serial
|
|
||||||
//
|
|
||||||
|
|
||||||
#define X_SERIAL_TX_PIN PD5
|
#define X_SERIAL_TX_PIN PD5
|
||||||
#define X_SERIAL_RX_PIN PD5
|
#define X_SERIAL_RX_PIN X_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define Y_SERIAL_TX_PIN PD7
|
#define Y_SERIAL_TX_PIN PD7
|
||||||
#define Y_SERIAL_RX_PIN PD7
|
#define Y_SERIAL_RX_PIN Y_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define Z_SERIAL_TX_PIN PD4
|
#define Z_SERIAL_TX_PIN PD4
|
||||||
#define Z_SERIAL_RX_PIN PD4
|
#define Z_SERIAL_RX_PIN Z_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define E0_SERIAL_TX_PIN PD9
|
#define E0_SERIAL_TX_PIN PD9
|
||||||
#define E0_SERIAL_RX_PIN PD9
|
#define E0_SERIAL_RX_PIN E0_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define E1_SERIAL_TX_PIN PD8
|
#define E1_SERIAL_TX_PIN PD8
|
||||||
#define E1_SERIAL_RX_PIN PD8
|
#define E1_SERIAL_RX_PIN E1_SERIAL_TX_PIN
|
||||||
|
|
||||||
// Reduce baud rate to improve software serial reliability
|
// Reduce baud rate to improve software serial reliability
|
||||||
#define TMC_BAUD_RATE 19200
|
#define TMC_BAUD_RATE 19200
|
||||||
|
@ -67,9 +67,6 @@
|
|||||||
//#define E3_HARDWARE_SERIAL Serial1
|
//#define E3_HARDWARE_SERIAL Serial1
|
||||||
//#define E4_HARDWARE_SERIAL Serial1
|
//#define E4_HARDWARE_SERIAL Serial1
|
||||||
|
|
||||||
//
|
|
||||||
// Software serial
|
|
||||||
//
|
|
||||||
#define X_SERIAL_TX_PIN PA3
|
#define X_SERIAL_TX_PIN PA3
|
||||||
#define X_SERIAL_RX_PIN PC14
|
#define X_SERIAL_RX_PIN PC14
|
||||||
|
|
||||||
|
@ -130,16 +130,16 @@
|
|||||||
|
|
||||||
#if HAS_TMC_UART
|
#if HAS_TMC_UART
|
||||||
#define X_SERIAL_TX_PIN PB9
|
#define X_SERIAL_TX_PIN PB9
|
||||||
#define X_SERIAL_RX_PIN PB9
|
#define X_SERIAL_RX_PIN X_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define Y_SERIAL_TX_PIN PE3
|
#define Y_SERIAL_TX_PIN PE3
|
||||||
#define Y_SERIAL_RX_PIN PE3
|
#define Y_SERIAL_RX_PIN Y_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define Z_SERIAL_TX_PIN PE12
|
#define Z_SERIAL_TX_PIN PE12
|
||||||
#define Z_SERIAL_RX_PIN PE12
|
#define Z_SERIAL_RX_PIN Z_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define E_SERIAL_TX_PIN PG9
|
#define E0_SERIAL_TX_PIN PG9
|
||||||
#define E_SERIAL_RX_PIN PG9
|
#define E0_SERIAL_RX_PIN E0_SERIAL_TX_PIN
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -131,23 +131,20 @@
|
|||||||
//#define E6_HARDWARE_SERIAL Serial1
|
//#define E6_HARDWARE_SERIAL Serial1
|
||||||
//#define E7_HARDWARE_SERIAL Serial1
|
//#define E7_HARDWARE_SERIAL Serial1
|
||||||
|
|
||||||
//
|
|
||||||
// Software serial
|
|
||||||
//
|
|
||||||
#define X_SERIAL_TX_PIN PG10
|
#define X_SERIAL_TX_PIN PG10
|
||||||
#define X_SERIAL_RX_PIN PG10
|
#define X_SERIAL_RX_PIN X_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define Y_SERIAL_TX_PIN PD4
|
#define Y_SERIAL_TX_PIN PD4
|
||||||
#define Y_SERIAL_RX_PIN PD4
|
#define Y_SERIAL_RX_PIN Y_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define Z_SERIAL_TX_PIN PD5
|
#define Z_SERIAL_TX_PIN PD5
|
||||||
#define Z_SERIAL_RX_PIN PD5
|
#define Z_SERIAL_RX_PIN Z_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define E0_SERIAL_TX_PIN PI8
|
#define E0_SERIAL_TX_PIN PI8
|
||||||
#define E0_SERIAL_RX_PIN PI8
|
#define E0_SERIAL_RX_PIN E0_SERIAL_TX_PIN
|
||||||
|
|
||||||
#define E1_SERIAL_TX_PIN PC8
|
#define E1_SERIAL_TX_PIN PC8
|
||||||
#define E1_SERIAL_RX_PIN PC8
|
#define E1_SERIAL_RX_PIN E1_SERIAL_TX_PIN
|
||||||
|
|
||||||
// Reduce baud rate to improve software serial reliability
|
// Reduce baud rate to improve software serial reliability
|
||||||
#define TMC_BAUD_RATE 19200
|
#define TMC_BAUD_RATE 19200
|
||||||
|
Loading…
Reference in New Issue
Block a user