2 Star 1 Fork 0

cheni/ethercat-igh

Create your Gitee Account
Explore and code with more than 14 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
INSTALL 1.40 KB
Copy Edit Raw Blame History
This is the INSTALL file of the IgH EtherCAT Master.
vim: set spelllang=en spell tw=78
# Building and installing
The complete build and installation procedure is described in the respective
section of the
[https://gitlab.com/etherlab.org/ethercat/-/jobs/artifacts/stable-1.5/raw/pdf/ethercat_doc.pdf?job=pdf](documentation).
---
For the impatient, the procedure mainly consists of calling:
```bash
./bootstrap # to create the configure script, if downloaded from the repo
./configure --sysconfdir=/etc
make all modules
```
... and as root:
# make modules_install install
# depmod
... and then customizing the appropriate configuration file:
# vi /etc/ethercat.conf # For systemd based distro
# vi /etc/sysconfig/ethercat # For init.d based distro
Make sure, that the 'udev' package is installed, to automatically create the
EtherCAT character devices. The character devices will be created with mode
0660 and group root by default. If you want to give normal users reading
access, create a udev rule like this:
# echo KERNEL==\"EtherCAT[0-9]*\", MODE=\"0664\" > /etc/udev/rules.d/99-EtherCAT.rules
Now you can start the EtherCAT master:
# systemctl start ethercat # For systemd based distro
# /etc/init.d/ethercat start # For init.d based distro
Have a look at the examples/ subdirectory for some application examples.
Have fun!
-------------------------------------------------------------------------------
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/cheni/ethercat-igh.git
git@gitee.com:cheni/ethercat-igh.git
cheni
ethercat-igh
ethercat-igh
master

Search