- Posts: 11
- Thank you received: 2
Bosston88 wrote: I found where hal_init sits in LCNC: src/hal/hal_lib.c and hal_xinit in MK: src/hal/lib/hal_comp.c. I'll give it a try to add this function in hal_lib.c, but will it work...?
Please Log in or Create an account to join the conversation.
Tower wrote: It's not going to be easy. The HAL engines in both Machinekit and LinuxCNC diverged quite a bit over the years after the fork and now the Machinekit one is quite reworked (with the multicore and instantiable components support, new HAL objects and whatnots). These Init functions are just tips on the icebergs and you will find yourself quickly in a rabbit hole.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
andypugh wrote: Components written with .comp look exactly the same, though. (Not that the BBB drivers fit into that class)
andypugh wrote: I asked the hal_pru_generic author for his take on this:
"My guess is it would be dramatically easier to get the hal_pru_generic
driver running on LCNC vs. merging reverse-run into Machinekit."
Please Log in or Create an account to join the conversation.
Tower wrote: BTW, is reverse run branch changing code run in RT threads or it is all in higher parts?
Please Log in or Create an account to join the conversation.