stepper: Automatically detect and handle shared stepper enable lines

It's common for multiple steppers to use the same stepper enable
line.  Detect this and only create a single digital_out oid on the
micro-controller.

Also, prohibit any other pin from being used multiple times in the
config file.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor
2018-01-10 14:49:00 -05:00
parent 265b9097d5
commit df6528715e
3 changed files with 47 additions and 16 deletions

View File

@@ -71,8 +71,6 @@ Hardware features
* Support for additional kinematics: scara, etc.
* Support shared motor enable GPIO lines.
* Support for bed-level probes.
* Possible support for touch panels attached to the micro-controller.