1 Star 1 Fork 0

吕冬/etherlab

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
INSTALL 2.23 KB
一键复制 编辑 原始数据 按行查看 历史
-------------------------------------------------------------------------------
This is the INSTALL file of the IgH EtherCAT Master.
$Id$
vim: set spelllang=en spell tw=78
-------------------------------------------------------------------------------
Synapticon IgH EtherCAT master installation instructions
========================================================
Synapticon provides its own simplified installation script that enables the
users to completely build and install the IgH EtherCAT master and all its
dependencies using only one command on Debian based systems (incl. Ubuntu):
$ sudo sncn_installer/install.sh eth0
... where the "eth0" is the network adapter that will be used for EtherCAT.
-------------------------------------------------------------------------------
Original IgH EtherCAT master building and installing instructions
=================================================================
The complete build and installation procedure is described in the respective
section of the documentation available from http://etherlab.org/en/ethercat.
-------------------------------------------------------------------------------
For the impatient: The procedure mainly consists of calling
$ ./boostrap # to create the configure script, if downloaded from the repo
$ ./configure
$ make all modules
... and as root:
# make modules_install install
# depmod
... and linking the init script and copying the sysconfig file from $PREFIX/etc
to the appropriate locations and customizing the sysconfig file.
# ln -s ${PREFIX}/etc/init.d/ethercat /etc/init.d/ethercat
# cp ${PREFIX}/etc/sysconfig/ethercat /etc/sysconfig/ethercat
# vi /etc/sysconfig/ethercat
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:
# /etc/init.d/ethercat start
Have a look at the examples/ subdirectory for some application examples.
Have fun!
-------------------------------------------------------------------------------
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/flvd/etherlab.git
git@gitee.com:flvd/etherlab.git
flvd
etherlab
etherlab
master

搜索帮助