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
Signed by untrusted user: GitHub
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 4 deletions

View File

@ -84,7 +84,7 @@
#define E0_DIR_PIN PC14
#define E0_ENABLE_PIN PC13
#if HAS_TMC220x
#if HAS_TMC_UART
/**
* TMC2208/TMC2209 stepper drivers
@ -97,9 +97,14 @@
#define Y_HARDWARE_SERIAL Serial1
#define Z_HARDWARE_SERIAL Serial1
#define E0_HARDWARE_SERIAL Serial1
#define TMC_SERIAL_MULTIPLEXER
#define SERIAL_MUL_PIN1 PB13
#define SERIAL_MUL_PIN2 PB12
// 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 SERIAL_MUL_PIN1 PB13
#define SERIAL_MUL_PIN2 PB12
#endif
#endif