mirror of
https://github.com/OpenEtherCATsociety/SOEM.git
synced 2026-09-27 22:46:25 +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
|
* This software is dual-licensed under GPLv3 and a commercial
|
||||||
*
|
* license. See the file LICENSE.md distributed with this software for
|
||||||
* Usage : eepromtool ifname slave OPTION fname|alias
|
* full license information.
|
||||||
* 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
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|||||||
@@ -1,13 +1,7 @@
|
|||||||
/** \file
|
/*
|
||||||
* \brief Example code for Simple Open EtherCAT master EoE
|
* This software is dual-licensed under GPLv3 and a commercial
|
||||||
*
|
* license. See the file LICENSE.md distributed with this software for
|
||||||
* This example creates a TAP device to send and receive Ethernet
|
* full license information.
|
||||||
* packets over an EtherCAT network. It has been tested with an EL6601
|
|
||||||
* Ethernet switch.
|
|
||||||
*
|
|
||||||
* This is a minimal test.
|
|
||||||
*
|
|
||||||
* (c)Arthur Ketels 2010 - 2011
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|||||||
@@ -1,15 +1,7 @@
|
|||||||
/** \file
|
/*
|
||||||
* \brief Example code for Simple Open EtherCAT master
|
* This software is dual-licensed under GPLv3 and a commercial
|
||||||
*
|
* license. See the file LICENSE.md distributed with this software for
|
||||||
* Usage: firm_update ifname1 slave fname
|
* full license information.
|
||||||
* 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
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|||||||
@@ -1,14 +1,7 @@
|
|||||||
/** \file
|
/*
|
||||||
* \brief Example code for Simple Open EtherCAT master
|
* This software is dual-licensed under GPLv3 and a commercial
|
||||||
*
|
* license. See the file LICENSE.md distributed with this software for
|
||||||
* Usage : slaveinfo [ifname] [-sdo] [-map]
|
* full license information.
|
||||||
* 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
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|||||||
Reference in New Issue
Block a user