Commit graph

62 commits

Author SHA1 Message Date
AversanJeff 8e8f5997d9 fixing ec_ALstatuscodelist enumeration
Fixing 'DC invalid syncX cycle time' enumerations, and adding missing
'MBX_AOE' enumeration to ec_ALstatuscodelist[].
2016-02-15 15:46:14 -05:00
Shahbaz Youssefi 469dd9623a Be able to take string literal as ifname
`ifname` as the argument of `ec_init` and related functions is not
changed, and therefore can be safely retyped to `const char *`.  This
allows using string literals. For example:

    ec_init(argc > 1 ? argv[1] : "eth0");

Signed-off-by: Shahbaz Youssefi <syoussefi@kinova.ca>
2015-12-21 10:56:49 -05:00
Shahbaz Youssefi 529ffbe0cd Add a single header for all ethercat headers
This way, applications don't need to know the details of every header
file that exists in the API. With a simple:

    #include <ethercat.h>

they would get everything.  This is specially important because the
order of including the header files is important!

Signed-off-by: Shahbaz Youssefi <syoussefi@kinova.ca>
2015-12-18 09:56:33 -05:00
Shahbaz Youssefi 5c2955139e Include relative to file
This allows the header files to be installed, say in /usr/include/soem
and then included with:

    #include <soem/ethercattype.h>

without having to add -I/usr/include/soem.

Signed-off-by: Shahbaz Youssefi <syoussefi@kinova.ca>
2015-12-18 09:38:09 -05:00
Albert Hofkamp 5239968d0d Remove trailing whitespace. 2015-11-04 13:02:33 +01:00
Albert Hofkamp 0b677f832b Add documentation for the ec_* functions. 2015-11-04 12:54:22 +01:00
Mikael Heden 6501580d9e Merge pull request #14 from jassarsson/fix_propagate_foe_error_notfound
ecx_FOEwrite: Propagate foe error not found
2015-10-26 11:46:21 +01:00
Jimmy Assarsson 4b7263eb08 ecx_FOEwrite: Propagate foe error not found 2015-10-15 13:18:30 +02:00
Jimmy Assarsson eab964ca82 ecx_receive_processdata_group: return EC_NOFRAME when no frames are received 2015-10-15 10:23:11 +02:00
Mikael Heden 77da52b89d Change to cmake build system 2015-07-09 17:57:59 +02:00
nakarlsson 6afd2f50cc SOEM 1.31 RC 2015-03-11 21:45:16 +01:00
Mikael Heden 7472dae1a2 Added SOEM 1.3 (hg: a02cedcbdca5) 2014-11-25 16:10:29 +01:00