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
diff options
context:
space:
mode:
authorDavid Crocker <dcrocker@eschertech.com>2018-08-26 23:27:58 +0300
committerDavid Crocker <dcrocker@eschertech.com>2018-08-26 23:27:58 +0300
commitcdaf681010845fc6e8300f656bfb213a499f94ae (patch)
tree635254f1e141f7feef6ad7d0a1e156a0533e69fd /src/Pins.h
parent7d332ce63c975f5f9d1fe928a4364b4250df88f6 (diff)
Refactoring
Allow number of endstop inputs to be configured separately from number of drivers Started work on experimental support for TMC5130 drivers Changed name of SAME70 build Support XDMAC in TMC2660 driver module Merged partial LPC1769 support into Platform module
Diffstat (limited to 'src/Pins.h')
-rw-r--r--src/Pins.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/Pins.h b/src/Pins.h
index 504d46ae..bd9e1e06 100644
--- a/src/Pins.h
+++ b/src/Pins.h
@@ -15,7 +15,7 @@
# elif defined(__SAM4E8E__)
# define PLATFORM DuetNG
# elif defined(__SAME70Q21__)
-# define PLATFORM SAME70_TEST
+# define PLATFORM Duet3
# elif defined(DUET_M)
# define PLATFORM DuetM
# elif defined(PCCB)
@@ -72,8 +72,12 @@
# define SUPPORT_TMC22xx 0
#endif
-#define HAS_SMART_DRIVERS (SUPPORT_TMC2660 || SUPPORT_TMC22xx)
-#define HAS_STALL_DETECT SUPPORT_TMC2660
+#ifndef SUPPORT_TMC51xx
+# define SUPPORT_TMC51xx 0
+#endif
+
+#define HAS_SMART_DRIVERS (SUPPORT_TMC2660 || SUPPORT_TMC22xx || SUPPORT_TMC51xx)
+#define HAS_STALL_DETECT (SUPPORT_TMC2660 || SUPPORT_TMC51xx)
// HAS_LWIP_NETWORKING refers to Lwip 2 support in the Networking folder, not legacy SAM3XA networking using Lwip 1
#ifndef HAS_LWIP_NETWORKING