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-02-12 23:51:56 +0300
committerDavid Crocker <dcrocker@eschertech.com>2020-02-12 23:51:56 +0300
commit9885ed7cc55cb19fde1be14c8adfd11dfa7f86cf (patch)
tree43f81c1a73028b5ecc516854c20601d63d0f119e /src/DuetM
parentd27f0a701c84fe1fcf4dc99c067b1fc38cd90f91 (diff)
Refactored GP inputs
Diffstat (limited to 'src/DuetM')
-rw-r--r--src/DuetM/Pins_DuetM.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/DuetM/Pins_DuetM.h b/src/DuetM/Pins_DuetM.h
index 68c10949..c737ab62 100644
--- a/src/DuetM/Pins_DuetM.h
+++ b/src/DuetM/Pins_DuetM.h
@@ -76,7 +76,8 @@ constexpr size_t NumThermistorInputs = 4;
constexpr size_t NumTmcDriversSenseChannels = 2;
constexpr size_t MaxZProbes = 2;
-constexpr size_t MaxGpioPorts = 10;
+constexpr size_t MaxGpInPorts = 10;
+constexpr size_t MaxGpOutPorts = 10;
constexpr size_t MinAxes = 3; // The minimum and default number of axes
constexpr size_t MaxAxes = 6; // The maximum number of movement axes in the machine, usually just X, Y and Z, <= DRIVES
@@ -92,7 +93,9 @@ constexpr size_t MaxExtrudersPerTool = 4;
constexpr size_t MaxFans = 6;
-constexpr unsigned int MaxTriggers = 16; // Must be <= 32 because we store a bitmap of pending triggers in a uint32_t
+constexpr unsigned int MaxTriggers = 16; // Maximum number of triggers
+
+constexpr size_t MaxSpindles = 2; // Maximum number of configurable spindles
constexpr size_t NUM_SERIAL_CHANNELS = 2; // The number of serial IO channels (USB and one auxiliary UART)
#define SERIAL_MAIN_DEVICE SerialUSB