On 10/27/2016 11:35 PM, Nicklas Karlsson wrote:
Jon Elson wrote:
>> Worse. My ppmc driver exports pins based on what devices it
>> detects on the parallel port bus. (I think the Mesa drivers
>> do something similar.)
> How do you write configuration for these changing ports today?
>
>
By hand, based on sample configs. Most of what is there is
generic boilerplate, you just extend (or trim) for the
number of axes required. Of course, if you do it wrong,
then LinuxCNC will not start, and the neophyte user is left
with a confusing error report.
Now, in general, the variety of Hal pins doesn't change very
dynamically. If you have a Universal Stepper Controller,
there is only one option, selected by parameters on the
loadrt command line.
The Universal PWM Controller has several, selected on the
command line, but they will only work if the board is of
sufficient rev level.
The PPMC instantiates encoder, DAC and DIO functions based
on the number of boards plugged into the PPMC motherboard.
So, your Hal files need to be match that.
Jon
------------------------------------------------------------------------------
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive.
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers