cncbasher wrote:net spindle-enable <= motion.spindle-on => pwmgen.0.enable
...
net spindle-on <= motion.spindle-on
...
net spindle-on => parport.0.pin-14-out
From your debug file:
my-mill.hal:29: Pin 'motion.spindle-on' was already linked to signal 'spindle-enable'
The problem is that you are trying to link the motion.spindle-on signal twice. You can only mention each pin once in a HAL file, though you can use signal names multiple times. (the signal name is the first thing after the net command, and you can choose them freely)
delete
net spindle-on <= motion.spindle-on
then edit
net spindle-on => parport.0.pin-14-out
to read
net spindle-enable => parport.0.pin-14-out
(Or, to be even more compact, you could replace all 3 of the lines I quoted with:
net spindle-enable <= motion.spindle-on => pwmgen.0.enable parport.0.pin-14-out
(As a net command must have a signal name, can have only one "source" pin but can have any number of "sink" pins.)