Can I switch hardware wiring pinout in config?
-
On the Duet 2 expansion slot lets say for Pin 5) E2_STEP and Pin 6) E2_DIR,
Is there a way to switch them with each other?- To tell the control board to switch them.
I understand this is a very strange ask, and the correct answer is to just fix my wiring, but this would save me some time if I can just change a config setting of some kind.
Asking so we can fix prototypes faster, as we make a lot of new devices.
-
@3DPotter i suppose you could in the software. It would mean compiling your own release etc though
-
@3DPotter as Jay says, you would need to compile your own firmware to do that. The pins used are defined in file src/Config/Pins_DuetNG.h. A further possible complication is that the current code assumes that all step pins are on Port D, so if you swap a step pin with another pin that is not on Port D then a code change would be needed too.
-
-