Allow TMC baud rate override (#15773)
This commit is contained in:
committed by
Scott Lahteine
parent
d9b0b964be
commit
814a2eaf8f
@ -154,6 +154,8 @@
|
||||
#define Z2_SERIAL_TX_PIN P1_04
|
||||
#define Z2_SERIAL_RX_PIN P1_01
|
||||
|
||||
// Reduce baud rate to improve software serial reliability
|
||||
#define TMC_BAUD_RATE 19200
|
||||
#endif
|
||||
|
||||
//
|
||||
|
@ -95,6 +95,9 @@
|
||||
#define E1_SERIAL_RX_PIN P2_02
|
||||
#define E2_SERIAL_TX_PIN P2_06
|
||||
#define E2_SERIAL_RX_PIN P2_06
|
||||
|
||||
// Reduce baud rate to improve software serial reliability
|
||||
#define TMC_BAUD_RATE 19200
|
||||
#else
|
||||
#error "TMC2208 UART configuration is required for GMarsh X6."
|
||||
#endif
|
||||
|
@ -320,6 +320,9 @@
|
||||
#define Z_SERIAL_RX_PIN P0_25 // TH3
|
||||
#define E0_SERIAL_TX_PIN P4_28 // J8-6
|
||||
#define E0_SERIAL_RX_PIN P0_26 // TH4
|
||||
|
||||
// Reduce baud rate to improve software serial reliability
|
||||
#define TMC_BAUD_RATE 19200
|
||||
#endif
|
||||
|
||||
// UNUSED
|
||||
|
@ -149,6 +149,8 @@
|
||||
#define Z2_SERIAL_TX_PIN P4_29
|
||||
#define Z2_SERIAL_RX_PIN P1_17
|
||||
|
||||
// Reduce baud rate to improve software serial reliability
|
||||
#define TMC_BAUD_RATE 19200
|
||||
#endif // TMC2208 || TMC2209
|
||||
|
||||
//
|
||||
|
@ -156,6 +156,8 @@
|
||||
#define E0_SERIAL_RX_PIN P2_08
|
||||
#endif
|
||||
|
||||
// Reduce baud rate to improve software serial reliability
|
||||
#define TMC_BAUD_RATE 19200
|
||||
#endif
|
||||
|
||||
//
|
||||
|
Reference in New Issue
Block a user