Commit Graph

168 Commits

Author SHA1 Message Date
Florian Pose
1e133c4063 Minor line length change. 2022-09-21 09:10:25 +02:00
Bjarne von Horn
7e4aba9a6d build user example with cmake and test it 2022-02-22 23:28:42 +01:00
Nicola Fontana
82399a9239 Revive 'make distcheck' 2021-06-22 14:43:07 +00:00
Nicola Fontana
205337fed1 Do not define DIST_SUBDIRS when not needed
DIST_SUBDIRS is automatically populated with all possible values of
SUBDIRS in all conditions:

    https://www.gnu.org/software/automake/manual/html_node/SUBDIRS-vs-DIST_005fSUBDIRS.html

This means it is usually not needed to explicitely set it but in
examples/, where some dirs are never added to SUBDIRS.
2021-05-26 09:18:06 +02:00
Florian Pose
7dd06f87c1 Merge branch 'entidi/ethercat-fix-built-sources' into stable-1.5 2021-05-25 12:26:09 +02:00
Nicola Fontana
60dd78485c Do not include AC_CONFIG_FILES in BUILT_SOURCES
BUILT_SOURCES is used to trigger early generation of files in the `make`
process to workaround dependency problems:

    https://www.gnu.org/software/automake/manual/html_node/Sources.html

AC_CONFIG_FILES are generated by `configure`, so they are already
present in the file system even before `make` is called. Furthermore,
AC_CONFIG_FILES already properly handle dist and clean targets, so no
need to add them to EXTRA_DIST or DISTCLEANFILES:

    https://www.gnu.org/software/automake/manual/html_node/Requirements.html
2021-05-22 08:25:26 +02:00
Florian Pose
c6a4c99854 Fixed format string in tty example. 2021-05-06 12:00:35 +02:00
Florian Pose
6ad16e7e67 Added kernel-specific handling for init_timer/setup_timer and
access_ok() for ec_tty module and example.
Closes #2.
2021-04-09 12:26:08 +02:00
Florian Pose
ed3445558d Use ecrt_master_sync_reference_clock_to() in DC examples. 2018-11-28 18:24:05 +01:00
Florian Pose
93a7cd4c52 Fixed scheduler settings in dc_user example; use CLOCK_MONOTONIC. 2018-02-13 17:16:01 +01:00
Florian Pose
098dddb1e7 Use sched_setscheduler() to set priority in user example. 2018-02-06 14:58:14 +01:00
Florian Pose
2b2c7c9613 Applied 0002-use-setup_timer-for-v4.15.patch from Beckhoff. 2018-01-30 17:09:33 +01:00
Florian Pose
2da13023f4 Migrated user-space example to use clock_nanosleep(). 2016-06-09 13:52:22 +02:00
Patrick Bruenn
682b891bd0 - restored examples/user/
- removed /devices/ccat/COPYING
- replaced DRV_NAME with KBUILD_MODNAME
2014-05-06 17:23:33 +02:00
Florian Pose
c278a2de92 merge 2014-04-25 16:42:36 +02:00
Patrick Bruenn
59c3c53858 replace symlink in example with the real file 2014-04-23 17:06:15 +02:00
Patrick Bruenn
9aba2b3e15 Add ccat driver for Beckhoff CCAT communication controller in Beckhoff CX20xx device 2014-04-04 08:32:09 +02:00
Florian Pose
ecda31bb6a Improved API documentation. 2013-02-12 16:37:11 +01:00
Florian Pose
becf05dbd6 Added interface to select the reference clock and to sync to it.
Added rtai_rtdm_dc example, thanks to Graeme Foot.
2012-11-20 14:35:53 +01:00
Florian Pose
9faaa83212 Re-worked and seamlessly integrated RTDM interface. 2012-09-20 15:28:25 +02:00
Florian Pose
a10c91764e Avoided use of AM_CFLAGS, which is not used in some situations; fixed warning. 2012-09-19 19:46:58 +02:00
Florian Pose
b0b7e6fde4 Removed trailing spaces. 2012-09-06 20:22:24 +02:00
Florian Pose
8677f298c0 Fixed all mangled hg keywords. 2012-09-06 14:40:10 +02:00
Florian Pose
bd56747e3e Removed whitespace. 2012-07-13 10:42:31 +02:00
Florian Pose
f739694670 Improved compiling on 2.6.34 (thanks to Malcolm Lewis). 2010-10-25 16:45:33 +02:00
Florian Pose
90419f4b31 Fixed TIMESPEC2NS() macro use. 2010-10-25 15:56:19 +02:00
Florian Pose
6118dbd7e4 Improved dc_user example. 2010-10-25 15:46:23 +02:00
Florian Pose
e764fd788b merge 2010-06-06 21:15:17 +02:00
Florian Pose
d975ec2586 Minor change. 2010-06-06 21:07:36 +02:00
Florian Pose
db3b881e6b Fixed NULL pointer dereference on request error in RTAI example. 2010-06-01 22:51:51 +02:00
Florian Pose
6e06798fb2 Use kernel's modules_install target, instead of building our own. Attention:
Module installation directories have changed!
2010-02-23 17:37:02 +01:00
Florian Pose
69da1f1cb2 Improved handling and installation of the modules' symbol versions. 2010-02-16 15:08:54 +01:00
Florian Pose
fc97788495 Added missing serial.c to dist. 2010-02-16 11:08:05 +01:00
Florian Pose
a144042657 Removed tabulators. 2010-02-05 10:29:47 +01:00
Florian Pose
1177892a84 Fixed segfault if creation of TTY devices fails. 2010-01-25 18:31:27 +01:00
Florian Pose
d910657cf8 Callback set via own structure. 2010-01-25 17:42:07 +01:00
Florian Pose
7ff6b58427 Named serial ports. 2010-01-22 17:25:36 +01:00
Florian Pose
e4ec1cf42f Implemented all 2 ports of EL6002. 2010-01-22 17:01:00 +01:00
Florian Pose
4777f5fb89 Also accept ids 2-port serial slave. 2010-01-22 14:22:48 +01:00
Florian Pose
018507a22e Implemented setting of baud rate, data frame and RTS/CTS. 2010-01-22 14:10:18 +01:00
Florian Pose
f2feb90956 Check EL600x frame data configuration. 2010-01-22 10:36:36 +01:00
Florian Pose
a98da94149 Passing tty cflag to serial implementation. 2010-01-21 17:53:40 +01:00
Florian Pose
e70346e090 TTY example: Auto-create multiple handlers. 2010-01-08 14:03:04 +01:00
Florian Pose
0b5a38767a Fixed function call. 2010-01-08 13:13:50 +01:00
Florian Pose
59853156ca TTY: Sourced serial device functions out into serial.c/serial.h. 2010-01-08 13:10:12 +01:00
Florian Pose
699b184f6f Merged changes from Martin Troxler. 2009-12-14 13:11:36 +01:00
Florian Pose
06bad71e6b Implemented reading direction of tty driver. 2009-12-09 12:42:28 +01:00
Florian Pose
3b37ee4b79 Fixed distribution of TTY example. 2009-12-02 15:46:00 +01:00
Florian Pose
6dbc77cd62 Send direction works! 2009-12-02 15:38:10 +01:00
Florian Pose
3e5dc394f6 Create tty. 2009-12-01 22:29:25 +01:00