Update FYSETC AIO II TMC UART pins (#18749)

This commit is contained in:
George Fu 2020-07-24 09:01:50 +08:00 committed by GitHub
parent c5b3031c69
commit 715271190c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -84,7 +84,7 @@
#define E0_DIR_PIN PC14 #define E0_DIR_PIN PC14
#define E0_ENABLE_PIN PC13 #define E0_ENABLE_PIN PC13
#if HAS_TMC220x #if HAS_TMC_UART
/** /**
* TMC2208/TMC2209 stepper drivers * TMC2208/TMC2209 stepper drivers
@ -97,9 +97,14 @@
#define Y_HARDWARE_SERIAL Serial1 #define Y_HARDWARE_SERIAL Serial1
#define Z_HARDWARE_SERIAL Serial1 #define Z_HARDWARE_SERIAL Serial1
#define E0_HARDWARE_SERIAL Serial1 #define E0_HARDWARE_SERIAL Serial1
// The 4xTMC2209 module doesn't have a serial multiplexer and
// needs to set *_SLAVE_ADDRESS in Configuration_adv.h for X,Y,Z,E0
#if HAS_DRIVER(TMC2208)
#define TMC_SERIAL_MULTIPLEXER #define TMC_SERIAL_MULTIPLEXER
#define SERIAL_MUL_PIN1 PB13 #define SERIAL_MUL_PIN1 PB13
#define SERIAL_MUL_PIN2 PB12 #define SERIAL_MUL_PIN2 PB12
#endif
#endif #endif