Commit Graph

128 Commits (812403783c893f64b846a967bcaa5df9a51c71d8)

Author SHA1 Message Date
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
Hans-Erik Floryd 1654afc75f Merge pull request #19 from ShabbyX/master
Correct usage of ll in %d and %x
2015-12-17 17:53:17 +01:00
Hans-Erik Floryd b82ce4dfca Merge pull request #23 from ShabbyX/build-fixes
Allow proper installation on host system
2015-12-17 17:27:08 +01:00
Shahbaz Youssefi e7a7ef39da Allow proper installation on host system
This commit allows sane installation of SOEM on the host system, while
minimally affecting the current usage of cross-compilation.

The changes are:

- CMAKE_INSTALL_PREFIX is not overriden when installing on host,
- header files are installed in include/soem/ when installing on host,
- libsoem.a is installed in lib/ instead of bin/,
- simple_test is not installed on host.

Usage is:

    cmake -DHOST_INSTALL=1 .

Closes #21
Closes #22

Signed-off-by: Shahbaz Youssefi <syoussefi@kinova.ca>
2015-12-17 10:57:23 -05:00
Shahbaz Yousefi d54054f38e Correct usage printf with 64 bit numbers
Signed-off-by: Shahbaz Youssefi <shabbyx@gmail.com>
2015-12-10 11:38:23 -05:00
Mikael Heden a7358b19d7 Merge pull request #18 from mheden/master
Add link to CLA
2015-11-23 17:43:42 +01:00
Mikael Heden b4d02aa2b5 Add link to CLA 2015-11-23 17:42:20 +01:00
Mikael Heden 64d122c416 Merge pull request #15 from alberth/add_docs
Add docs, remove trailing whitespace
2015-11-18 10:48:15 +01: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
Mikael Heden d900f423ad Merge pull request #13 from jassarsson/fix_incorrect_wkc_when_no_frames_received
ecx_receive_processdata_group: return EC_NOFRAME when no frames are received
2015-10-26 11:45:45 +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 34670ceb90 Merge pull request #8 from mheden/master
Fix README documentation
2015-09-28 14:09:05 +02:00
Mikael Heden bed5047a2f Fix README documentation 2015-09-28 14:06:18 +02:00
Mikael Heden 903b521746 Merge pull request #7 from mheden/master
Cmake build system + minor test application cleanup
2015-09-28 13:55:58 +02:00
Mikael Heden d6dd3411d7 Minor cleanup in the test applications 2015-07-09 17:58:54 +02:00
Mikael Heden 77da52b89d Change to cmake build system 2015-07-09 17:57:59 +02:00
Mikael Heden 57c648ab7c Fix version number in doxygen 2015-03-24 18:19:27 +01:00
nakarlsson c9bbb90ed1 fixed linux warnings, removed unused/unsed and set variales. Moved fshort-wchar to machine .mk files 2015-03-17 22:21:20 +01:00
nakarlsson 6afd2f50cc SOEM 1.31 RC 2015-03-11 21:45:16 +01:00
nakarlsson f1404964e8 Added osal_task creation via task spwan, added fec driver for Freescale MAC FEC/ENET
Added osal_task creation via task spwan,
Added fec driver for Freescale MAC FEC/ENET
2015-03-08 17:27:00 +01:00
Mikael Heden 498ea631b9 Merge pull request #1 from mheden/master
Added SOEM 1.3 (hg: a02cedcbdca5)
2014-11-25 16:17:39 +01:00
Mikael Heden 7472dae1a2 Added SOEM 1.3 (hg: a02cedcbdca5) 2014-11-25 16:10:29 +01:00
rtl-johanna d2541d95e7 Update README.md 2014-10-08 12:52:46 +02:00
rtl-johanna 578fce4fa7 Initial commit 2014-09-16 09:06:00 +02:00