LinuxCNC HAL Rust bindings
Provides non-realtime Rust bindings for the LinuxCNC hal
module. Useful for writing drivers for external hardware.
Note: This only works on Linux (64 bit) currently
Development
Setup
bindgen
must be set up correctly. Follow the requirements section of its docs.
LinuxCNC is included as a submodule under ./linuxcnc-hal-sys
. It must be compiled for files to be in the right places.
At minimum (on Linux Mint 19.3):
There are likely a bunch of unused dependencies in the above list, but LinuxCNC's configure
script is really bad at turning features on/off, so this is the list required to just build LCNC.
Build