Given below are the steps to integrate this project into LinuxCNC.
- Download the source from the official LinuxCNC repository:
wget -O linuxcnc-2.9.4.zip https://github.com/LinuxCNC/linuxcnc/archive/refs/tags/v2.9.4.zip
unzip linuxcnc-2.9.4.zipThis tool was tested on v2.9.4, so watch out for breaking changes if using a newer version!
- Clone this repository inside
linuxcnc-2.9.4/src/emc/sterpand run the integration script.
git clone https://github.com/s-mv/gcode-plus-plus.git src/emc/sterp
cd src/emc/sterp
chmod +x integrate.sh
./integrate.sh- Go to back to
linuxcnc-2.9.4/srcand build!
cd ../../
chmod +x ./autogen.sh
./autogen.sh
./configure --with-realtime=uspace
makeWe're almost done.
- Run LinuxCNC to ensure that it's working.
cd ..
./scripts/rip-environment linuxcnc
In order to use HAL/INI parameters the syntax is:
#hal(...)
and
#ini(...)