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>2022-01-17 22:19:15 +0300
committerDavid Crocker <dcrocker@eschertech.com>2022-01-17 22:19:15 +0300
commita7f8d8aca37084c93803836f1dc627c3a274f36a (patch)
treee745410ab9e69e7147072c0fa08e748b574d9379 /src/Config/Pins_Duet3_MB6XD.h
parente92b3cd7e4f94fde394231ec82e2268de19e5831 (diff)
More work on MB6XD step generation
Also removed some obsolete Duet 085, RADDs and Alligator code
Diffstat (limited to 'src/Config/Pins_Duet3_MB6XD.h')
-rw-r--r--src/Config/Pins_Duet3_MB6XD.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/Config/Pins_Duet3_MB6XD.h b/src/Config/Pins_Duet3_MB6XD.h
index 11e9324d..730a26b7 100644
--- a/src/Config/Pins_Duet3_MB6XD.h
+++ b/src/Config/Pins_Duet3_MB6XD.h
@@ -3,10 +3,10 @@
#include <PinDescription.h>
-#define BOARD_SHORT_NAME "MB6HC"
-#define BOARD_NAME "Duet 3 MB6HC"
+#define BOARD_SHORT_NAME "MB6XD"
+#define BOARD_NAME "Duet 3 MB6XD"
#define DEFAULT_BOARD_TYPE BoardType::Auto
-#define FIRMWARE_NAME "RepRapFirmware for Duet 3 MB6HC"
+#define FIRMWARE_NAME "RepRapFirmware for Duet 3 MB6XD"
#define IAP_FIRMWARE_FILE "Duet3Firmware_" BOARD_SHORT_NAME ".bin"
#define IAP_UPDATE_FILE "Duet3_SDiap32_" BOARD_SHORT_NAME ".bin"
@@ -103,7 +103,8 @@ constexpr Pin DRIVER_ERR_PINS[NumDirectDrivers] = { PortDPin(29), PortCPin(17),
constexpr Pin StepGatePin = PortDPin(22);
constexpr GpioPinFunction StepGatePinFunction = GpioPinFunction::C; // TIOB11
-#define STEP_GATE_TC (TC3)
+#define STEP_GATE_TC (TC3) // TC11 is really TC3 channel 2
+#define STEP_GATE_TC_ID (ID_TC11) // ID for peripheral clock and interrupt
#define STEP_GATE_TC_CHAN (2)
// Thermistor/PT1000 inputs