Florian Pose
cef602586c
Applied 0017-Master-locks-to-avoid-corrupted-datagram-queue.patch
2022-06-23 11:26:20 +02:00
Florian Pose
d1e3d2e0a3
Removed duplicate pre-commit rule.
2022-06-23 11:22:08 +02:00
Florian Pose
9955855f7e
Applied 0016-If-enable-rtmutex-use-rtmutexes-instead-of-semaphore.patch
2022-06-23 11:21:51 +02:00
Florian Pose
667e93284d
Applied 0015-Clear-configuration-on-deactivate-even-if-not-activa.patch
2022-06-23 11:00:45 +02:00
Florian Pose
a3fa7cecaf
Applied 0014-Fix-NOHZ-local_softirq_pending-08-warning.patch
2022-06-23 10:59:45 +02:00
Florian Pose
d09daadfbb
Applied 0013-Do-not-reuse-the-index-of-a-pending-datagram.patch
2022-06-23 10:58:57 +02:00
Florian Pose
8db3e5abf4
Applied 0012-Added-newline-to-syslog-message-MAC-address-derived.patch
2022-06-23 10:56:33 +02:00
Florian Pose
57342c99ca
Applied 0011-Reduced-printing-to-avoid-syslog-spam.patch
2022-06-23 10:55:57 +02:00
Florian Pose
d1dc6795f3
Applied 0010-Make-busy-logging-a-little-less-irritating.patch
2022-06-23 10:55:03 +02:00
Florian Pose
90f3f7e841
Applied 0009-Avoid-changing-running-slaves-DC-offset.patch
2022-06-23 10:53:56 +02:00
Florian Pose
225af9f787
Applied 0008-read-reference-slave-clock-64bit-time.patch
2022-06-23 10:45:16 +02:00
Florian Pose
6cac716122
Applied 0007-replace-fprintf-calls-with-EC_PRINT_ERR.patch
2022-06-23 10:31:41 +02:00
Florian Pose
234695fe44
Applied 0006-avoid-ssize_t.patch
2022-06-23 10:26:43 +02:00
Florian Pose
405c88f6d6
Applied 0005-disable-eoe.patch
2022-06-23 10:25:36 +02:00
Florian Pose
efcd95ed9c
Applied 0004-fix-eoe-clear.patch
2022-06-23 10:13:49 +02:00
Florian Pose
d0d4535df0
Applied 0003-print-sync-signed.patch
2022-06-23 10:13:00 +02:00
Florian Pose
17eddce68d
Applied 0002-Distributed-Clock-fixes-from-Jun-Yuan.patch
2022-06-23 10:12:12 +02:00
Florian Pose
b4f8c0e750
Added 0001-Distributed-Clock-fixes-and-helpers.patch
2022-06-23 10:07:34 +02:00
Florian Pose
c9c43ac439
Added pre-commit configuration.
2022-06-23 10:06:04 +02:00
Florian Pose
ffbb1eed9f
Define set_normal_priority() inside #ifdef EC_EOE. Fixes #12 .
2021-08-31 13:09:09 +02:00
Florian Pose
7e71d03fda
Merge branch 'fix-make-clean' into 'stable-1.5'
...
Fix make clean
See merge request etherlab.org/ethercat!29
(cherry picked from commit dde91be4be )
89f81d63 Fix make clean
2021-08-31 13:09:09 +02:00
Florian Pose
a5a30f7dbf
Avoided warning about unreasonable use of strncpy().
2021-08-25 11:58:22 +02:00
Florian Pose
b22a70977e
Avoided warning.
2021-08-25 11:10:35 +02:00
Florian Pose
0e8ee10933
Avoided unused variables.
2021-08-24 18:12:27 +02:00
Florian Pose
db12765645
Fixed duplicate ioctl labels.
2021-08-24 18:12:00 +02:00
Florian Pose
a87ce3bd08
Documentation for interface names.
2021-08-24 17:49:43 +02:00
Florian Pose
0a0117d4b6
Broke long lines.
2021-08-24 17:49:32 +02:00
Florian Pose
e480ffbe8b
Removed tabs.
2021-08-24 17:49:22 +02:00
Matthias Schoepfer
e78bf31962
ethercatctl: allow to use the network device name instead of mac address
...
In the /etc/ethercat.conf file, the MASTERX_DEVICE string is given as a
mac address or a wildcard. When we want to deploy the (same) software (image)
to a bunch of different hardware, and these computers do have more than one
interface that matches the driver, we need a way to define the device by
network interface name. This allows to also define the network device by name
(e.g. eth0, eno1, ...)
Signed-off-by: Matthias Schoepfer <m.schoepfer@rethinkrobotics.com>
2021-08-24 17:49:09 +02:00
Florian Pose
7facae8e3b
First feature flag: AssignToPdi.
2021-08-24 17:48:46 +02:00
Florian Pose
980c8d3025
Find flag method with const char * parameter; added method to header.
2021-08-24 17:48:09 +02:00
Florian Pose
2ee65b6387
Added feature flags to API.
2021-08-24 17:47:15 +02:00
Florian Pose
f2e838a664
Also changed license of gloabl headers to LGPL.
...
Moved definition of EC_SDO_INJECTION_TIMEOUT to master.c.
2021-08-24 17:40:06 +02:00
Florian Pose
ab0d009bcc
Added export for ecrt_slave_config_reg_pdo_entry_pos(). Fixes #11 .
2021-08-24 17:39:54 +02:00
Florian Pose
8e1dc9f593
Corrected license text of master/ioctl.h, because it is included in the userspace library.
2021-08-24 17:39:43 +02:00
Nicola Fontana
fd772c310c
Do not hardcode paths in scripts
...
Try to reuse the configured paths as much as possible. Unfortunately, to
be able to fully expand some variable (e.g. `bindir`), these files must
be expanded by make, not by configure. This adds some complexity:
https://www.gnu.org/software/automake/manual/html_node/Scripts.html
2021-08-24 17:39:19 +02:00
Florian Pose
9384cc7010
Fixed problems with shell quotes introduced in 66329e1f.
2021-08-24 17:39:06 +02:00
Florian Pose
d479f28ccc
Added 4.19 files to Makefile.
2021-08-24 17:38:22 +02:00
Vincenzo Ferraro
9e2dc1b002
igb-4.19 kernel driver
2021-08-24 17:38:14 +02:00
Matthias Schoepfer
1bb6d56fa7
script: run shellcheck on bash / sh scripts
...
Mostly fixed omitted double quotes, some conversion of $(eval ..) to $(()).
Left the echo -n untouched, shellcheck complains about not being standard in
/bin/sh. Also, seems like some code is dublicated in ethercatctl.in and
init.d/ethercat.in.
Signed-off-by: Matthias Schoepfer <m.schoepfer@rethinkrobotics.com>
2021-08-24 17:37:53 +02:00
Florian Pose
35ed166813
Added some options to widen test coverage.
2021-08-24 17:37:39 +02:00
Kale Yuzik
2b39a6321b
Implement fix for kernel error when opening TTY device file on kernel 3.7.0 or greater
...
Error message: "tty_init_dev: ttyEC driver does not set tty->port. This would crash the kernel. Fix the driver!"
2021-08-24 17:37:21 +02:00
Nicola Fontana
4e6ac827c1
Revive 'make distcheck'
2021-08-24 17:37:01 +02:00
Bjarne von Horn
961fa9edd6
switch to prebuilt container
2021-08-24 17:36:41 +02:00
Florian Pose
cf42dd1316
Ignore cmake output.
2021-08-24 17:36:15 +02:00
Bjarne von Horn
d755f4a26d
Add cmake config module
2021-08-24 17:35:55 +02:00
Nicola Fontana
246fed4d83
Remove empty m4/Makefile.am
2021-08-24 17:35:36 +02:00
Nicola Fontana
802a4fc57b
Fix #5 : call Kbuild clean only where needed
...
The problem is both automake and kbuild recurse into subdirectories. In
`make distcheck`, automake cleans its `SUBDIRS` and only then tries to
clean the toplevel one. This in turn will trigger a kbuild clean that
will try to recurse into its own (now empty) subdirectories.
Avoid this issue by removing Kbuild clean from the toplevel.
2021-08-24 17:35:12 +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
9c69f5d6dc
Disable 8139too in distcheck
...
The 8139too native driver was enabled by default for historical reasons.
Disable it in `make distcheck` to avoid needing to have a specific linux
source tree ready available.
2021-08-24 17:34:20 +02:00