Commit Graph

31 Commits (447d184d7e8032758ca8fb70300909a7a6d84806)

Author SHA1 Message Date
Andreas Karlsson 447d184d7e Fix llvm compiler implicit-int-conversion warnings
* use uint8 for idx
* make config Isize/Osize uint32
* generally, align sizes in functions to HW objects
* Fix non-standard [0] size data array in EoE struct
2020-10-12 16:24:42 +02:00
Arthur Ketels 92ff466357 Fix ecx_pushindex, remove DCtO and DCl from ecx_context 2019-11-13 21:03:56 +01:00
Arthur Ketels 9ec8635943 Fix tx/rx processdata functions 2019-11-12 17:03:48 +01:00
nakarlsson abbf0d42e3
Fix doxygen build warnings for SOEM 1.4.0 (#312)
Trvial non-code changes
2019-06-13 08:06:41 +02:00
Andreas Karlsson 817435066f Add support to choose if manual or automatic state change is done by config functions, fixes #189 2019-06-10 11:48:41 +02:00
Andreas Karlsson 8c1e83ee8e Add extra ERROR on mailbox receive timeout to improv diagnostics possibilities 2019-05-24 14:28:29 +02:00
Claudio Scordino 7beba91c62 Fix typos in comments.
No functional changes.
2019-02-04 13:56:11 +01:00
nakarlsson 86a2584e47
Impelmented EoE filter function in mailbox receive (#244) 2019-01-31 14:57:16 +01:00
Schlumpf 8f2b233837 Endian fixes (#222)
This patch fixes some bugs on big-endian systems.
  - Use temp variables for etohs() and etohl() at function calls to avoid
    multiple function calls for one value.
  - Fix and add use of etohs(), etohl(), htoes() and htoel().
  - Fix use of 32bit values in 64bit variables.
2018-11-14 11:56:57 +01:00
rtlaka 2b339a135b When broadcast read the state,it is OK if the WKC is higher 2018-02-02 08:27:19 +01:00
rtlaka 28d82fa8fd Add functions to configure and send an overlapping IOmap 2018-02-01 13:01:35 +01:00
rtlaka f329d2fc3a Add check that all slaves are present 2018-01-31 10:18:56 +01:00
Mikael Heden 15e7748198 Move license information to LICENSE file (#95)
OK
2017-03-29 07:16:44 +02:00
MagnaboscoL c97e92e4ec revert ecx_statecheck() to original 2016-10-25 20:25:10 +02:00
MagnaboscoAndrea 298397bcc3 improve both ecx_statecheck and ecx_readstate
- in ecx_statecheck only one iteration is done through the slave list if needed
- in ecx_readstate only one datagram is used if possible
2016-10-23 13:18:34 +02:00
Luca 3be652a0e0 Bug fix 2016-10-20 15:21:29 +02:00
Luca 47d2845861 tabs removes 2016-10-18 18:00:31 +02:00
Luca 74b76da668 fixed for pr 2016-10-18 17:54:58 +02:00
Luca 28927aab87 minor_improvement/ ecx_statecheck() improved
ecx_statecheck() when called with the first argument set to 0 automatically updates the state of all the slaves in the slavelist structure when possible,
2016-10-18 00:35:54 +02:00
nakarlsson 03601959b6 Make PDO CA access thread safe (#51) 2016-08-18 17:28:02 +02:00
stefan.poeter@cloud-automation.de 9cc335ef33 Refactored stack reset to ecx_clearindex. 2016-05-25 09:27:47 +02:00
stefan.poeter@cloud-automation.de e4d625bf5a Fixed grouping problem. 2016-05-23 11:50:19 +02:00
Hans-Erik Floryd 07f4cd108d Merge pull request #25 from mheden/master
Minor fixes
2016-02-17 14:28:59 +01:00
Mikael Heden 59e2164410 Fix return value of ecx_writestate 2016-02-17 10:54:48 +01:00
Mikael Heden d5fa11630d Lowest state should not contain error flag 2016-02-17 10:54:48 +01: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
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
Jimmy Assarsson eab964ca82 ecx_receive_processdata_group: return EC_NOFRAME when no frames are received 2015-10-15 10:23:11 +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