HAL and serial cleanup
Co-Authored-By: Jason Smith <20053467+sjasonsmith@users.noreply.github.com>
This commit is contained in:
@ -117,10 +117,10 @@
|
||||
* Hardware serial communication ports.
|
||||
* If undefined software serial is used according to the pins below
|
||||
*/
|
||||
//#define X_HARDWARE_SERIAL Serial1
|
||||
//#define Y_HARDWARE_SERIAL Serial1
|
||||
//#define Z_HARDWARE_SERIAL Serial1
|
||||
//#define E0_HARDWARE_SERIAL Serial1
|
||||
//#define X_HARDWARE_SERIAL MSerial1
|
||||
//#define Y_HARDWARE_SERIAL MSerial1
|
||||
//#define Z_HARDWARE_SERIAL MSerial1
|
||||
//#define E0_HARDWARE_SERIAL MSerial1
|
||||
|
||||
//
|
||||
// Software serial
|
||||
|
@ -30,8 +30,8 @@
|
||||
* Hardware serial communication ports.
|
||||
*/
|
||||
#if HAS_TMC_UART
|
||||
#define X_HARDWARE_SERIAL Serial4
|
||||
#define Y_HARDWARE_SERIAL Serial4
|
||||
#define Z_HARDWARE_SERIAL Serial4
|
||||
#define E0_HARDWARE_SERIAL Serial4
|
||||
#define X_HARDWARE_SERIAL MSerial4
|
||||
#define Y_HARDWARE_SERIAL MSerial4
|
||||
#define Z_HARDWARE_SERIAL MSerial4
|
||||
#define E0_HARDWARE_SERIAL MSerial4
|
||||
#endif
|
||||
|
@ -52,8 +52,8 @@
|
||||
* Hardware serial communication ports.
|
||||
*/
|
||||
#if HAS_TMC_UART
|
||||
#define X_HARDWARE_SERIAL Serial4
|
||||
#define Y_HARDWARE_SERIAL Serial4
|
||||
#define Z_HARDWARE_SERIAL Serial4
|
||||
#define E0_HARDWARE_SERIAL Serial4
|
||||
#define X_HARDWARE_SERIAL MSerial4
|
||||
#define Y_HARDWARE_SERIAL MSerial4
|
||||
#define Z_HARDWARE_SERIAL MSerial4
|
||||
#define E0_HARDWARE_SERIAL MSerial4
|
||||
#endif
|
||||
|
@ -93,10 +93,10 @@
|
||||
//
|
||||
// Hardware serial with switch
|
||||
//
|
||||
#define X_HARDWARE_SERIAL Serial1
|
||||
#define Y_HARDWARE_SERIAL Serial1
|
||||
#define Z_HARDWARE_SERIAL Serial1
|
||||
#define E0_HARDWARE_SERIAL Serial1
|
||||
#define X_HARDWARE_SERIAL MSerial1
|
||||
#define Y_HARDWARE_SERIAL MSerial1
|
||||
#define Z_HARDWARE_SERIAL MSerial1
|
||||
#define E0_HARDWARE_SERIAL MSerial1
|
||||
|
||||
// The 4xTMC2209 module doesn't have a serial multiplexer and
|
||||
// needs to set *_SLAVE_ADDRESS in Configuration_adv.h for X,Y,Z,E0
|
||||
|
@ -188,17 +188,11 @@
|
||||
* Hardware serial communication ports.
|
||||
* If undefined software serial is used according to the pins below
|
||||
*/
|
||||
//#define X_HARDWARE_SERIAL Serial1
|
||||
//#define X2_HARDWARE_SERIAL Serial1
|
||||
//#define Y_HARDWARE_SERIAL Serial1
|
||||
//#define Y2_HARDWARE_SERIAL Serial1
|
||||
//#define Z_HARDWARE_SERIAL Serial1
|
||||
//#define Z2_HARDWARE_SERIAL Serial1
|
||||
//#define E0_HARDWARE_SERIAL Serial1
|
||||
//#define E1_HARDWARE_SERIAL Serial1
|
||||
//#define E2_HARDWARE_SERIAL Serial1
|
||||
//#define E3_HARDWARE_SERIAL Serial1
|
||||
//#define E4_HARDWARE_SERIAL Serial1
|
||||
//#define X_HARDWARE_SERIAL MSerial1
|
||||
//#define Y_HARDWARE_SERIAL MSerial1
|
||||
//#define Z_HARDWARE_SERIAL MSerial1
|
||||
//#define E0_HARDWARE_SERIAL MSerial1
|
||||
//#define E1_HARDWARE_SERIAL MSerial1
|
||||
|
||||
// Unused servo pins may be repurposed with SoftwareSerialM
|
||||
//#define X_SERIAL_TX_PIN PF8 // SERVO3_PIN -- XS2 - 6
|
||||
|
@ -83,10 +83,10 @@
|
||||
* Hardware serial communication ports.
|
||||
* If undefined software serial is used according to the pins below
|
||||
*/
|
||||
//#define X_HARDWARE_SERIAL Serial1
|
||||
//#define Y_HARDWARE_SERIAL Serial1
|
||||
//#define Z_HARDWARE_SERIAL Serial1
|
||||
//#define E0_HARDWARE_SERIAL Serial1
|
||||
//#define X_HARDWARE_SERIAL MSerial1
|
||||
//#define Y_HARDWARE_SERIAL MSerial1
|
||||
//#define Z_HARDWARE_SERIAL MSerial1
|
||||
//#define E0_HARDWARE_SERIAL MSerial1
|
||||
|
||||
//
|
||||
// Software serial
|
||||
|
@ -132,17 +132,11 @@
|
||||
* Hardware serial communication ports.
|
||||
* If undefined software serial is used according to the pins below
|
||||
*/
|
||||
//#define X_HARDWARE_SERIAL Serial1
|
||||
//#define X2_HARDWARE_SERIAL Serial1
|
||||
//#define Y_HARDWARE_SERIAL Serial1
|
||||
//#define Y2_HARDWARE_SERIAL Serial1
|
||||
//#define Z_HARDWARE_SERIAL Serial1
|
||||
//#define Z2_HARDWARE_SERIAL Serial1
|
||||
//#define E0_HARDWARE_SERIAL Serial1
|
||||
//#define E1_HARDWARE_SERIAL Serial1
|
||||
//#define E2_HARDWARE_SERIAL Serial1
|
||||
//#define E3_HARDWARE_SERIAL Serial1
|
||||
//#define E4_HARDWARE_SERIAL Serial1
|
||||
//#define X_HARDWARE_SERIAL MSerial1
|
||||
//#define Y_HARDWARE_SERIAL MSerial1
|
||||
//#define Z_HARDWARE_SERIAL MSerial1
|
||||
//#define E0_HARDWARE_SERIAL MSerial1
|
||||
//#define E1_HARDWARE_SERIAL MSerial1
|
||||
|
||||
//
|
||||
// Software serial
|
||||
|
@ -125,17 +125,12 @@
|
||||
* Hardware serial communication ports.
|
||||
* If undefined software serial is used according to the pins below
|
||||
*/
|
||||
//#define X_HARDWARE_SERIAL Serial1
|
||||
//#define X2_HARDWARE_SERIAL Serial1
|
||||
//#define Y_HARDWARE_SERIAL Serial1
|
||||
//#define Y2_HARDWARE_SERIAL Serial1
|
||||
//#define Z_HARDWARE_SERIAL Serial1
|
||||
//#define Z2_HARDWARE_SERIAL Serial1
|
||||
//#define E0_HARDWARE_SERIAL Serial1
|
||||
//#define E1_HARDWARE_SERIAL Serial1
|
||||
//#define E2_HARDWARE_SERIAL Serial1
|
||||
//#define E3_HARDWARE_SERIAL Serial1
|
||||
//#define E4_HARDWARE_SERIAL Serial1
|
||||
//#define X_HARDWARE_SERIAL MSerial1
|
||||
//#define Y_HARDWARE_SERIAL MSerial1
|
||||
//#define Z_HARDWARE_SERIAL MSerial1
|
||||
//#define E0_HARDWARE_SERIAL MSerial1
|
||||
//#define E1_HARDWARE_SERIAL MSerial1
|
||||
//#define E2_HARDWARE_SERIAL MSerial1
|
||||
|
||||
//
|
||||
// Software serial
|
||||
|
Reference in New Issue
Block a user