Import LinuxCNC source tree

This commit is contained in:
Wang Dequan
2026-08-20 06:17:39 +08:00
commit 2c814634c3
9429 changed files with 10556013 additions and 0 deletions

2
tests/halcompile/userspace/.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
rand_test
rand_test.comp

View File

@@ -0,0 +1,2 @@
#!/bin/sh
[ -x "$(dirname "$1")/rand_test" ]

View File

@@ -0,0 +1,15 @@
component rand;
option userspace;
pin out float out;
license "GPL";
;;
#include <unistd.h>
void user_mainloop(void) {
while(1) {
usleep(1000);
FOR_ALL_INSTS() out = drand48();
}
}

View File

@@ -0,0 +1,2 @@
#!/bin/sh
halcompile --compile rand_test.comp