No description
In the original formulation, a use like RTAPI_MP_ARRAY_INT(arr, 3*FOO, "array of three times foo items"); gave a weird error on uspace only when arr= was actually specified on the loadrt commandline. This is because the 'num' value was communited to rtapi_app as a string rather than an integer, so the string "3*FOO" was received where a string like "24" was expected, resulting in an error. Happily we have good test coverage for comp's use of RTAPI_MP_ARRAY via tests/module_loading/or2* so even though this was encountered and reported in the non-runtested hal_ppmc driver, we can have confidence about the solution. Close #242. Signed-off-by: Jeff Epler <jepler@unpythonic.net> |
||
|---|---|---|
| app-defaults | ||
| bin | ||
| configs | ||
| debian | ||
| docs | ||
| gnupg | ||
| include | ||
| lib | ||
| nc_files | ||
| rtlib | ||
| scripts | ||
| share | ||
| src | ||
| tcl | ||
| tests | ||
| .gitattributes | ||
| .gitignore | ||
| .travis.yml | ||
| COPYING | ||
| linuxcnc-wizard.gif | ||
| linuxcnc.gif | ||
| linuxcnc.xcf | ||
| linuxcncicon.png | ||
| README | ||
| TODO | ||
| VERSION | ||
DISCLAIMER
----------
THE AUTHORS OF THIS SOFTWARE ACCEPT ABSOLUTELY NO LIABILITY FOR
ANY HARM OR LOSS RESULTING FROM ITS USE. IT IS _EXTREMELY_ UNWISE
TO RELY ON SOFTWARE ALONE FOR SAFETY. Any machinery capable of
harming persons must have provisions for completely removing power
from all motors, etc, before persons enter any danger area. All
machinery must be designed to comply with local and national safety
codes, and the authors of this software can not, and do not, take
any responsibility for such compliance.
This software is released under the GPLv2, with some parts under the LGPL.
See the file COPYING for more details.
The Build Process
-----------------
Refer to the file 'docs/INSTALL' for information about building and
running the software.
Quickstart
----------
From the top level directory, switch to the source directory:
cd src
In the source directory, build LinuxCNC:
[for rtai]
./autogen.sh
./configure
[or, for PREEMPT-rt or vanilla kernels:]
./autogen.sh
./configure --with-realtime=uspace
make clean
make
sudo make setuid
to run the software go back to the top level directory, and issue:
. scripts/rip-environment
linuxcnc