On 06/17/2017 10:56 AM, andy pugh wrote: >> Any thoughts? > Is there any need to compile the hm2 drivers with halcompile? > > halcompile is intended for users to compile custom HAL components with, I > don't think that the intention was for it to compile arbitrary lumps of > LinuxCNC.
Well, the question arises from the forum post (which you directed me to) while I was hacking the hm2_rpspi driver. It seems that users do try... I agree that compiling arbitrary pieces of code may not be the primary goal of halcompile. OTOH, compiling /drivers/ may in fact be a valid use of halcompile, especially when running uspace. The use of abstraction levels and interface libraries makes it "easy" to have a plug-able system. It may be no bad idea to hold that thought throughout. > What _would_ be nice would be if it could compile some of the more > elaborate kinematics files, as users are rather expected to create custom > kins. That I have not looked into (yet). -- Greetings Bertho (disclaimers are disclaimed) ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
