Commit graph

117 commits

Author SHA1 Message Date
Frank Mori Hess
2a720182e4 added comedi_dio_get_config() 2005-03-06 17:42:56 +00:00
Frank Mori Hess
5d4729b9ec mmap works for output waveforms now. 2005-01-23 03:11:30 +00:00
Frank Mori Hess
9f6b16e004 added comedi_mark_buffer_written() (untested) 2005-01-10 00:46:28 +00:00
Frank Mori Hess
9dd97c6470 fix strict aliasing warning 2004-06-20 01:45:16 +00:00
Frank Mori Hess
3d426c3cac fixes for srcdir != biulddir 2004-06-19 15:25:30 +00:00
Frank Mori Hess
0e94ca5098 fix compiler warnings about strict aliasing 2004-06-19 15:24:24 +00:00
Frank Mori Hess
c5028f9699 fix possibility of incorrect bison invocation, when make tries to
make calib_yacc.h before calib_yacc.c
2003-12-24 15:40:31 +00:00
Frank Mori Hess
29b0c0b5eb added a -release option for libtool, so it names the library with
the version instead of libcomedi-0.0.0.so
2003-09-03 02:59:00 +00:00
David Schleef
3602f4abab localstatedir should be /var, thus we need append a lib/ here 2003-08-30 04:21:50 +00:00
Frank Mori Hess
366e3a2613 add calib_yacc.h to BUILT_SOURCES 2003-08-21 16:10:56 +00:00
David Schleef
0a70a2f231 calibrations is installed in $localstatedir 2003-08-16 00:18:46 +00:00
David Schleef
cd7cab9458 dist generated lex and yacc sources 2003-08-16 00:18:04 +00:00
Frank Mori Hess
8e33ed9c6e added detection of flex/bison to configure 2003-07-06 00:11:13 +00:00
Frank Mori Hess
9825b8a1af be a little more careful about fixing up calibration file path, although
it doesn't make any practical difference
2003-05-31 16:58:45 +00:00
Frank Mori Hess
9b78a41963 fix default calibration file path for boards with '/' in name 2003-05-28 21:18:34 +00:00
Frank Mori Hess
aa47373687 replace return with YYABORT 2003-05-28 18:55:36 +00:00
Frank Mori Hess
6ad2b6c950 trying to fix undefined symbol problems people are having 2003-05-18 00:26:59 +00:00
Frank Mori Hess
4cfdf12baa added -D_REENTRANT to library cflags 2003-05-16 21:15:17 +00:00
Frank Mori Hess
4c95630d22 added driver name to default calibration file path 2003-05-09 00:00:51 +00:00
Frank Mori Hess
8a9e9861f1 made default comedi_calibrate behaviour a little smarter, shared more
code between comedilib and comedi_calibrate
2003-05-06 23:37:45 +00:00
Frank Mori Hess
0d0bfe17b9 exposed some lower-level calibration functions for more flexibility 2003-05-06 18:26:21 +00:00
Frank Mori Hess
d5ea98f55b changed convention for default calibration file naming to something
more transparent and robust (since I figured out how to get minor number
from code for ls)
2003-05-06 00:36:18 +00:00
Frank Mori Hess
9799051d65 fixed comedi_apply_calibration so it applies all matching calibrations
instead of just the first one
2003-05-05 03:18:19 +00:00
Frank Mori Hess
4db55f5044 moved COMEDI_VERSION_CODE() macro to comedilib.h, added some version
checks to comedi_calibrate so it complains if it's using a driver
with known bugs.  Converted 6071 calibration to ad8804 addressing.
2003-05-03 14:59:26 +00:00
Frank Mori Hess
e75f09dcf9 i shouldn't have made comedi_internal_data_read() inline, it's too long,
and it causes gcc 2.9 to produce a bogus warning
2003-05-03 14:57:15 +00:00
David Schleef
8ab858452b autoconfiscate 2003-05-02 07:53:44 +00:00
David Schleef
151b9dbf2b clean up warning 2003-05-02 07:37:03 +00:00
David Schleef
c2557b6b01 Fix yacc and lex building 2003-05-02 07:33:20 +00:00
David Schleef
b28c52a42f autoconfiscation 2003-05-02 07:19:00 +00:00
Frank Mori Hess
0710248b23 tweaked include directives so gcc -MM generates better dependency files 2003-04-25 01:58:34 +00:00
Frank Mori Hess
2e0f10fe44 added some dependency file generation 2003-04-25 01:44:21 +00:00
Frank Mori Hess
e31f607b2e added some white space to fix preprocessor weirdness, ## was causing
__FUNCTION__ to disappear instead of the comma?
2003-04-25 01:43:52 +00:00
Frank Mori Hess
ddba729d0e fix deprecation warning with gcc3.2 2003-04-19 20:32:47 +00:00
Frank Mori Hess
28b69b8a05 fix initialization of line counter, some yytext -> calib_yytext changes 2003-04-19 01:40:32 +00:00
Frank Mori Hess
163c004ada make flex stuff as reentrant as i can 2003-03-19 20:08:26 +00:00
Frank Mori Hess
02062c63ac comedi_apply_calibration() almost reentrant now 2003-03-19 18:56:19 +00:00
Frank Mori Hess
4bae28d80c added -D_REENTRANT to library CFLAGS 2003-03-19 16:26:37 +00:00
Frank Mori Hess
1a67e3d7af made parsing slightly more forgiving with respect to commas, in case user
hand-edits calibration file
2003-03-06 19:07:33 +00:00
Frank Mori Hess
83a410a7b8 stopped comments from getting printed 2003-03-06 19:06:06 +00:00
Frank Mori Hess
b27a2340a2 moved stderr output to use COMEDILIB_DEBUG() 2003-03-06 19:05:16 +00:00
Frank Mori Hess
6dcb08e06b a couple not so important tweaks to calibration file parsing, before
I leave it
2003-03-05 16:55:14 +00:00
Frank Mori Hess
fac040f462 got rid of unneccessary yyrestart() 2003-03-05 00:46:36 +00:00
Frank Mori Hess
b950e1c63c removed libperl dependency by switching to bison/flex to parse calibration
file.
2003-03-05 00:30:00 +00:00
Frank Mori Hess
fb2bf948b2 Changed comedi_set_calibration() to comedi_apply_calibration(), and
made it much faster, it takes <100msec to run instead of >1sec.
It requires linking to libperl now (hope that's
okay).  Renamed DEBUG() and _() in libinternal.h to COMEDILIB_DEBUG()
and GETTEXT() in order to avoid conflicts with perl headers.
2003-03-04 00:41:10 +00:00
Frank Mori Hess
afaad08b77 catch errors from find_calibration() 2003-03-01 01:03:39 +00:00
Frank Mori Hess
0a9abb8446 fixed missing dollar signs, and "subdev" should have been "subdevices" 2003-02-28 22:40:52 +00:00
Frank Mori Hess
c63d33ed23 finished implementing comedi_set_calibration() (for real this time),
untested
2003-02-28 20:51:04 +00:00
Frank Mori Hess
518159f129 fixed finding calibration based on subdevice. Ignore previous log
message about finishing implementation of comedi_set_calibration(), as
it's only half done.
2003-02-26 19:36:56 +00:00
Frank Mori Hess
e36d2e5b3a finished implementing comedi_set_calibration() (untested) 2003-02-26 19:19:57 +00:00
Frank Mori Hess
723db82ce5 beginnings of comedi_set_calibration() 2003-02-24 22:30:43 +00:00