Den 2021-02-21 kl. 01:50, skrev andy pugh:
There seems to be a problem using "personality" in a userspace component (which makes it hard to have a variable number of pins)
? Made simple driver with variable number of pins read from configuration file at startup. I however found values in .hal file is not available until real time have started so as is now I use extra separate configuration file, very simple.
Use function hal_pin_new(..) to add pins. Call is located in rtapi_app_main(...) function and some module initialization is done first.
Nicklas Karlsson _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
