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>2020-02-12 23:51:56 +0300
committerDavid Crocker <dcrocker@eschertech.com>2020-02-12 23:51:56 +0300
commit9885ed7cc55cb19fde1be14c8adfd11dfa7f86cf (patch)
tree43f81c1a73028b5ecc516854c20601d63d0f119e /src/DuetNG/Pins_DuetNG.h
parentd27f0a701c84fe1fcf4dc99c067b1fc38cd90f91 (diff)
Refactored GP inputs
Diffstat (limited to 'src/DuetNG/Pins_DuetNG.h')
-rw-r--r--src/DuetNG/Pins_DuetNG.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/DuetNG/Pins_DuetNG.h b/src/DuetNG/Pins_DuetNG.h
index a9b06cf7..44387da9 100644
--- a/src/DuetNG/Pins_DuetNG.h
+++ b/src/DuetNG/Pins_DuetNG.h
@@ -78,7 +78,8 @@ constexpr size_t NumThermistorInputs = 8;
constexpr size_t NumTmcDriversSenseChannels = 2;
constexpr size_t MaxZProbes = 4;
-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 = 9; // The maximum number of movement axes in the machine, usually just X, Y and Z, <= DRIVES
@@ -96,6 +97,8 @@ constexpr size_t MaxFans = 12;
constexpr unsigned int MaxTriggers = 16; // Must be <= 32 because we store a bitmap of pending triggers in a uint32_t
+constexpr size_t MaxSpindles = 4; // Maximum number of configurable spindles
+
constexpr size_t NUM_SERIAL_CHANNELS = 2; // The number of serial IO channels not counting the WiFi serial connection (USB and one auxiliary UART)
#define SERIAL_MAIN_DEVICE SerialUSB
#define SERIAL_AUX_DEVICE Serial