No description
Find a file
Jeff Epler 85384d94de uspace: allow calculated parameter array sizes
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>
2017-03-06 08:03:11 -06:00
app-defaults
bin Improve ignores 2013-12-01 12:34:11 -06:00
configs gmoccapy_plasma : wron hal pin names 2017-01-23 19:21:54 +01:00
debian LinuxCNC 2.7.8 2016-11-08 21:47:09 -07:00
docs docs: remove a footnote about the behavior of emc2 v2.4 2017-03-02 22:48:21 -07:00
gnupg new release key for 2.7 and later 2014-10-22 08:15:19 -06:00
include
lib GladeVCP - revert the wrong changes to CombiDRO witch destroyed some other glade applications 2017-03-05 19:04:25 +01:00
nc_files Merge remote-tracking branch 'origin/2.6' 2014-08-07 17:20:28 -06:00
rtlib
scripts travis: manually uninstal gpl3 readline 2017-02-22 16:11:20 -06:00
share axis.tcl expand tool display widget for tool info 2017-01-01 19:36:59 -07:00
src uspace: allow calculated parameter array sizes 2017-03-06 08:03:11 -06:00
tcl twopass,bugfix: support all ini var substitutions 2016-09-25 12:06:19 -07:00
tests tests: add a test of stat.queued_mdi_commands 2017-02-10 15:02:14 -07:00
.gitattributes request special merge driver for l10n files 2012-03-11 15:38:52 -05:00
.gitignore Added gitignore entries 2014-06-11 14:43:54 -05:00
.travis.yml travis-ci: Disable e-mail notifications 2016-08-14 14:02:38 -05:00
COPYING refer to LinuxCNC and Enhanced Machine Controller 2012-01-21 12:06:13 -06:00
linuxcnc-wizard.gif Rename many user visible parts to "linuxcnc" 2012-01-18 11:25:09 -06:00
linuxcnc.gif Rename many user visible parts to "linuxcnc" 2012-01-18 11:25:09 -06:00
linuxcnc.xcf rebranding 2012-01-20 14:47:49 -06:00
linuxcncicon.png linuxcncmkdesktop: use right command to invoke linuxcnc 2012-01-18 11:32:37 -06:00
README docs: tidy up the top-level README a bit 2014-12-31 08:52:10 -07:00
TODO Docs: update TODO files as best as I can 2012-02-27 19:13:26 -06:00
VERSION LinuxCNC 2.7.8 2016-11-08 21:47:09 -07:00

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