Commit Graph

167 Commits

Author SHA1 Message Date
Nicola Fontana 4e6ac827c1 Revive 'make distcheck' 2021-08-24 17:37:01 +02:00
Nicola Fontana e94f3ec002 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-08-24 17:34:45 +02:00
Nicola Fontana 6e8c371c42 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-08-24 17:32:32 +02:00
Florian Pose 89a7263155 Fixed format string in tty example. 2021-08-24 17:22:43 +02:00
Florian Pose 4b12489286 Added kernel-specific handling for init_timer/setup_timer and
access_ok() for ec_tty module and example.
Closes #2.
2021-08-24 17:18:59 +02:00
Florian Pose a5d70bac04 Use ecrt_master_sync_reference_clock_to() in DC examples. 2021-08-24 16:58:42 +02:00
Florian Pose 869707b8ca Fixed scheduler settings in dc_user example; use CLOCK_MONOTONIC. 2021-08-24 16:36:10 +02:00
Florian Pose 199569b2d5 Use sched_setscheduler() to set priority in user example. 2021-08-24 16:35:45 +02:00
Florian Pose b284286747 Applied 0002-use-setup_timer-for-v4.15.patch from Beckhoff. 2021-08-24 16:35:10 +02:00
Florian Pose 075afaf626 Migrated user-space example to use clock_nanosleep(). 2016-06-09 13:52:22 +02:00
Florian Pose 99418519bd Reverted default branch to stable-1.5. 2014-11-03 15:20:05 +01:00
Florian Pose 605d25eec9 Replaced all mangled hg keywords. 2012-09-06 14:17:21 +02:00
Florian Pose c80bfce530 Removed whitespace. 2012-07-13 10:42:31 +02:00
Florian Pose a4e1fde5b4 Fixed semaphore bug introduced in 96e2ae6cce95. 2012-01-13 12:05:14 +01:00
Florian Pose 5eed69883d Removed unused variables. 2011-07-25 10:30:34 +02:00
Andreas Stewering-Bone f1e2f6d912 Merge 2011-04-13 22:06:28 +02:00
Andreas Stewering-Bone 9699c81876 Working RTAI LXRT example
Add README's for RTDM examples
2011-03-23 08:06:58 +01:00
Andreas Stewering-Bone ca28aa60e2 Working RTAI RTDM module
LXRT exmaple application to be tested
2011-03-22 09:15:19 +01:00
Andreas Stewering-Bone b8acd30da5 Working Xenomai Posix example 2011-03-21 21:07:38 +01:00
Andreas Stewering-Bone a69e1f8ae4 Work on Xenomai Posix interface, to be tested
Further work on RTAI rtdm interface needed
2011-03-21 08:06:49 +01:00
Andreas Stewering-Bone 37044968e9 Fix application time for RTDM interface 2011-03-17 21:13:36 +01:00
Andreas Stewering-Bone 76ff88c43c First working RTDM Version,
to be reviewed,
further testing and optimation needed

Thanks to Moehwald GmbH B.Benner for Basic Code
2011-03-16 22:12:23 +01:00
Martin Troxler 075dce4d7e ecrt_master_callbacks: replaced send/receive callback mechanism with locking mechanism; removed ecrt_master_send_ext 2010-12-16 15:47:28 +01: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
Florian Pose fb7f5b73a6 Added tty example. 2009-12-01 16:54:59 +01:00