IgH EtherCAT Master for Linux
Go to file
Per Noergaard Christensen 3678a69c38 tty: fixups for kernels 5.14 and 5.15
alloc_tty_driver was deprecated by tty_alloc_driver in commit 7f0bc6a68ed9
(TTY: pass flags to alloc_tty_driver) in 2012 but first in kernel
v5.15 it has been dropped (56ec5880a28e). Switch to tty_alloc_driver
when using kernels >= v5.15

As of v5.15, the put_tty_driver alias has been dropped in favor of
directly calling tty_driver_kref_put (9f90a4ddef4e).  Switch to
tty_driver_kref_put when using kernels >= v5.15

As from v5.14 the write_room (03b3b1a2405c) and
chars_in_buffer (fff4ef17a940) methods' return type changed from int
to unsigned int in struct tty_operations. This has impact on
ec_tty_write_room() and ec_tty_chars_in_buffer().
2023-07-17 17:56:25 +02:00
devices Fix class_create on kernel 6.4 2023-07-05 12:13:32 +02:00
documentation Use git revision for documentation. 2023-02-02 11:08:30 +01:00
doxygen-layout@fa4893ab56 Use IgH doxygen theme 2022-11-16 10:31:01 +01:00
examples Minor line length change. 2022-09-21 09:10:25 +02:00
include Mention registers in watchdog configuration. 2022-12-11 15:44:30 +01:00
lib Fix cmake config module 2022-01-01 23:41:23 +01:00
master Fix class_create on kernel 6.4 2023-07-05 12:13:32 +02:00
script Fixed distribution of bash completions file. 2022-05-16 10:38:42 +02:00
tool Improved help on ioctl() version magic mismatch. 2023-06-26 11:44:22 +02:00
tty tty: fixups for kernels 5.14 and 5.15 2023-07-17 17:56:25 +02:00
.gitignore build user example with cmake and test it 2022-02-22 23:28:42 +01:00
.gitlab-ci.yml Trigger docs server 2023-04-08 18:31:44 +02:00
.gitmodules Use IgH doxygen theme 2022-11-16 10:31:01 +01:00
.hgignore update ccat driver to v0.14 2015-11-05 16:54:49 +01:00
AUTHORS Changed email and postal address. 2023-01-09 09:59:08 +01:00
COPYING Removed --foreign switch for autotools. 2006-11-06 09:43:36 +00:00
COPYING.LESSER Fixed COPYING.LESSER to be LGPL 2.1 (like in file headers). 2012-07-13 11:18:52 +02:00
CodingStyle.md Coding style in markdown. 2023-01-30 11:00:53 +01:00
Doxyfile.in Use IgH doxygen theme 2022-11-16 10:31:01 +01:00
FEATURES.md Markdown fixes. 2023-01-30 10:45:31 +01:00
INSTALL.md Markdown fixes. 2023-01-30 10:45:31 +01:00
Kbuild.in Removed trailing spaces. 2012-09-06 20:22:24 +02:00
Makefile.am Put md files in EXTRA_DIST. 2023-01-30 11:32:58 +01:00
Makefile.kbuild igb for 5.15 2023-05-02 12:17:37 +00:00
NEWS Fixed FoE timeout calculation bug. 2013-02-14 11:17:33 +01:00
README.EoE merge -c1609 branches/stable-1.4: INSTALL, README. 2009-01-26 11:51:53 +00:00
README.md Fixed TOC. 2023-01-30 11:05:28 +01:00
TODO Updated TODOs. 2021-04-06 13:02:53 +02:00
bootstrap Remove empty m4/Makefile.am 2021-06-07 14:42:43 +02:00
configure.ac Added 'foreign' to AM_INIT_AUTOMAKE(), cause README was renamed to README.md. 2023-01-30 11:32:42 +01:00
ethercat.spec.in Removed trailing spaces. 2012-09-06 20:22:24 +02:00
globals.h Also changed license of gloabl headers to LGPL. 2021-07-23 13:33:54 +02:00

README.md

This is the README file of the IgH EtherCAT Master.

vim: spelllang=en spell tw=78

Contents:

General Information

This is an open-source EtherCAT master implementation for Linux 2.6 or newer.

See the features file for a list of features. For more
information, see http://etherlab.org/en/ethercat.

or contact

Dipl.-Ing. (FH) Florian Pose fp@igh.de
Ingenieurgemeinschaft IgH
Nordsternstraße 66
D-45329 Essen
http://igh.de

Documentation

Handbook

The PDF documentation is generated via LaTeX and can be build with the
following steps:

cd documentation
make

The PDF is automatically held up-to-date and can be downloaded from
GitLab
.

Doxygen

To generate the Doxygen documentation, the following commands can be used.
Therefore, the configure script must have run (see the install
file
).

git submodule update --init
make doc

An up-to-date Doxygen output can be found on
docs.etherlab.org.

Requirements

Software requirements

Configured sources for the Linux 2.6 (or newer) kernel are required to build
the EtherCAT master.

Hardware requirements

A table of supported hardware can be found at
http://etherlab.org/en/ethercat/hardware.php.

Building and installing

See the install file.

Realtime and Tuning

Realtime patches for the Linux kernel are supported, but not required. The
realtime processing has to be done by the calling module (see API
documentation). The EtherCAT master code itself is passive (except for the
idle mode and EoE).

To avoid frame timeouts, deactivating DMA access for hard drives is
recommended (hdparm -d0 <DEV>).

License

Copyright (C) 2006-2023 Florian Pose, Ingenieurgemeinschaft IgH

This file is part of the IgH EtherCAT Master.

The IgH EtherCAT Master is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License version 2, as
published by the Free Software Foundation.

The IgH EtherCAT Master is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
details.

You should have received a copy of the GNU General Public License along with
the IgH EtherCAT Master; if not, write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA


The license mentioned above concerns the source code only. Using the EtherCAT
technology and brand is only permitted in compliance with the industrial
property and similar rights of Beckhoff Automation GmbH.

Coding Style

Developers shall use the coding style rules in the coding style
file
.