mirror of
https://github.com/OpenEtherCATsociety/SOEM.git
synced 2026-02-05 08:20:08 +08:00
Update sample headers
Use same header for all sources. Change-Id: Ie30f55f8fe64e6815482dd2662372e54791e833e
This commit is contained in:
@@ -1,17 +1,7 @@
|
||||
/** \file
|
||||
* \brief EEprom tool for Simple Open EtherCAT master
|
||||
*
|
||||
* Usage : eepromtool ifname slave OPTION fname|alias
|
||||
* ifname is NIC interface, f.e. eth0
|
||||
* slave = slave number in EtherCAT order 1..n
|
||||
* -r read EEPROM, output binary format
|
||||
* -ri read EEPROM, output Intel Hex format
|
||||
* -w write EEPROM, input binary format
|
||||
* -wi write EEPROM, input Intel Hex format
|
||||
* -i display EEPROM information
|
||||
* -walias write slave alias in EEPROM
|
||||
*
|
||||
* (c)Arthur Ketels 2010-2012
|
||||
/*
|
||||
* This software is dual-licensed under GPLv3 and a commercial
|
||||
* license. See the file LICENSE.md distributed with this software for
|
||||
* full license information.
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
@@ -1,13 +1,7 @@
|
||||
/** \file
|
||||
* \brief Example code for Simple Open EtherCAT master EoE
|
||||
*
|
||||
* This example creates a TAP device to send and receive Ethernet
|
||||
* packets over an EtherCAT network. It has been tested with an EL6601
|
||||
* Ethernet switch.
|
||||
*
|
||||
* This is a minimal test.
|
||||
*
|
||||
* (c)Arthur Ketels 2010 - 2011
|
||||
/*
|
||||
* This software is dual-licensed under GPLv3 and a commercial
|
||||
* license. See the file LICENSE.md distributed with this software for
|
||||
* full license information.
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
@@ -1,15 +1,7 @@
|
||||
/** \file
|
||||
* \brief Example code for Simple Open EtherCAT master
|
||||
*
|
||||
* Usage: firm_update ifname1 slave fname
|
||||
* ifname is NIC interface, f.e. eth0
|
||||
* slave = slave number in EtherCAT order 1..n
|
||||
* fname = binary file to store in slave
|
||||
* CAUTION! Using the wrong file can result in a bricked slave!
|
||||
*
|
||||
* This is a slave firmware update test.
|
||||
*
|
||||
* (c)Arthur Ketels 2011
|
||||
/*
|
||||
* This software is dual-licensed under GPLv3 and a commercial
|
||||
* license. See the file LICENSE.md distributed with this software for
|
||||
* full license information.
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
@@ -1,14 +1,7 @@
|
||||
/** \file
|
||||
* \brief Example code for Simple Open EtherCAT master
|
||||
*
|
||||
* Usage : slaveinfo [ifname] [-sdo] [-map]
|
||||
* Ifname is NIC interface, f.e. eth0.
|
||||
* Optional -sdo to display CoE object dictionary.
|
||||
* Optional -map to display slave PDO mapping
|
||||
*
|
||||
* This shows the configured slave data.
|
||||
*
|
||||
* (c)Arthur Ketels 2010 - 2011
|
||||
/*
|
||||
* This software is dual-licensed under GPLv3 and a commercial
|
||||
* license. See the file LICENSE.md distributed with this software for
|
||||
* full license information.
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
Reference in New Issue
Block a user