Skip to content

Commit

Permalink
Update FYSETC AIO II TMC UART pins (MarlinFirmware#18749)
Browse files Browse the repository at this point in the history
  • Loading branch information
GerogeFu authored Jul 24, 2020
1 parent c5b3031 commit 7152711
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions Marlin/src/pins/stm32f1/pins_FYSETC_AIO_II.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down

0 comments on commit 7152711

Please sign in to comment.