Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Duet3D/RepRapFirmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src/DuetM
diff options
context:
space:
mode:
authorDavid Crocker <dcrocker@eschertech.com>2020-06-14 02:08:51 +0300
committerDavid Crocker <dcrocker@eschertech.com>2020-06-14 02:08:51 +0300
commit7caf1bb15bc36392761b5c54735d910f5548d765 (patch)
treeb3635fa1a0fb8c4a130e296ca4cdfb95b95ba756 /src/DuetM
parent35923f84e6b3d387c1608fa591fa6aa3e218175f (diff)
Changes for 5LC
Diffstat (limited to 'src/DuetM')
-rw-r--r--src/DuetM/Pins_DuetM.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/DuetM/Pins_DuetM.h b/src/DuetM/Pins_DuetM.h
index 97cc2bdc..6a38bb1c 100644
--- a/src/DuetM/Pins_DuetM.h
+++ b/src/DuetM/Pins_DuetM.h
@@ -108,7 +108,14 @@ Uart * const UART_TMC22xx = UART0;
constexpr IRQn TMC22xx_UART_IRQn = UART0_IRQn;
constexpr uint32_t ID_TMC22xx_UART = ID_UART0;
constexpr uint8_t TMC22xx_UART_PINS = APINS_UART0;
-#define TMC22xx_UART_Handler UART0_Handler
+
+#define TMC22xx_UART_Handler UART0_Handler
+
+#define TMC22xx_USES_SERCOM 0
+#define TMC22xx_HAS_ENABLE_PINS 1
+#define TMC22xx_VARIABLE_NUM_DRIVERS 1
+#define TMC22xx_SINGLE_DRIVER 0
+#define TMC22xx_HAS_MUX 1
// Define the baud rate used to send/receive data to/from the drivers.
// If we assume a worst case clock frequency of 8MHz then the maximum baud rate is 8MHz/16 = 500kbaud.