Florian Pose
|
240080f110
|
Implemented new timer interface for mini example since kernel 6.15.
|
2025-06-10 11:53:59 +02:00 |
|
Bjarne von Horn
|
d06a18f934
|
Fix -Wold-style-declaration.
|
2025-02-05 12:58:56 +01:00 |
|
Bjarne von Horn
|
60dd4f94ec
|
Fix -Wmissing-prototypes
|
2025-02-05 12:58:56 +01:00 |
|
Florian Pose
|
4fe6b87f89
|
Added missing prototypes.
|
2024-05-22 11:00:25 +02:00 |
|
Florian Pose
|
5830c42e12
|
Added missing line breaks in output.
|
2024-05-14 18:21:48 +02:00 |
|
Bjarne von Horn
|
e8213ea7e8
|
allow non-standard RTAI include dir
|
2024-02-16 14:05:58 +01:00 |
|
Bjarne von Horn
|
db0d120e2e
|
Fix Xenomai Posix setschedparam
|
2024-02-05 09:58:04 +01:00 |
|
Bjarne von Horn
|
64adc0ce16
|
Port examples to Xenomai3
|
2024-02-05 09:58:04 +01:00 |
|
Bjarne von Horn
|
3ba71d5702
|
use sig_atomic_t for run flag in examples
Otherwise the loop may run forever.
|
2024-02-05 09:58:04 +01:00 |
|
Bjarne von Horn
|
13cef2b981
|
Add const to pointers to pdo and pdo_entry infos
Fixes #85
|
2024-02-02 08:48:39 +01:00 |
|
Florian Pose
|
cbc1c22eaa
|
Merge branch 'prepare-1.6' into 'devel-1.6'
Prepare release 1.6
See merge request etherlab.org/ethercat!113
|
2024-02-01 14:22:15 +00:00 |
|
Florian Pose
|
ee55c20e28
|
Fixed mail address; limited lines to 78 characters; removed $Id$.
|
2024-02-01 15:15:41 +01:00 |
|
Bjarne von Horn
|
7727ac725d
|
Use spinlocks in ec_mini.ko examples
down() must not be used in softirq context:
```
[ 613.686994] BUG: sleeping function called from invalid context at ../kernel/locking/semaphore.c:58
[ 613.687003] in_atomic(): 0, irqs_disabled(): 0, non_block: 0, pid: 29, name: ktimers/1
[ 613.687007] preempt_count: 0, expected: 0
[ 613.687009] RCU nest depth: 3, expected: 0
[ 613.687013] CPU: 1 PID: 29 Comm: ktimers/1 Tainted: G W OE 6.1.38-lp154.12-0601rt #1 1ef8e7f7e45a6388beff51e7b17265074b1375d6
[ 613.687020] Hardware name: ICP / iEi IMBA-9454ISA/IMBA-9454ISA(E168), BIOS 080014 02/20/2009
[ 613.687023] Call Trace:
[ 613.687029] <TASK>
[ 613.687034] dump_stack_lvl+0x44/0x5c
[ 613.687046] __might_resched+0x171/0x1c0
[ 613.687055] ? check_slave_config_states+0x100/0x100 [ec_mini 7f93b9d1541d0037eab9400e73ee29f252250780]
[ 613.687070] down+0x1e/0x70
[ 613.687076] cyclic_task+0x11/0xdc [ec_mini 7f93b9d1541d0037eab9400e73ee29f252250780]
[ 613.687088] call_timer_fn+0x29/0x190
[ 613.687096] run_timer_softirq+0x4d5/0x570
[ 613.687104] ? __schedule+0x32b/0x1330
[ 613.687110] __do_softirq+0xd5/0x2ec
[ 613.687117] ? smpboot_thread_fn+0x23/0x300
[ 613.687127] run_timersd+0x60/0xb0
[ 613.687130] smpboot_thread_fn+0x24c/0x300
[ 613.687133] ? smpboot_unregister_percpu_thread+0x70/0x70
[ 613.687135] kthread+0x129/0x140
[ 613.687138] ? kthread_complete_and_exit+0x20/0x20
[ 613.687141] ret_from_fork+0x22/0x30
[ 613.687146] </TASK>
```
|
2024-02-01 14:09:00 +01:00 |
|
Bjarne von Horn
|
2e071ad680
|
Remove EtherCAT copyright notice.
|
2024-02-01 09:18:26 +01:00 |
|
Bjarne von Horn
|
52247cfc14
|
Remove 2.6 conditionals in example
|
2024-02-01 09:12:55 +01:00 |
|
Bjarne von Horn
|
73e6ea9ce6
|
support out-of-tree build
by replacing `src` variable in Kbuild files.
|
2023-09-11 11:43:39 +02:00 |
|
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 |
|