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
Andreas Karlsson
093311561c
Limit expected working counter per ESC
...
Add one to the expected working counter per
ESC/Slave, not for every syncmanager/fmmu.
Use case, if the slave define more input/output
syncmanager/fmmus it still only generate maximum
working counter of 3 for a RW command.
fixes 374
2020-03-03 11:30:55 +01: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
cc417d4c0c
Add PO2SO hook including context, fixes #230
2019-06-10 09:23:02 +02:00
Andreas Karlsson
9c921d8d4e
Make ERROR slave count exceeded unique
2019-05-24 14:05:53 +02:00
jopado1
537145f6bf
Fixes for big-endian hosts
2019-05-10 10:17:46 +02:00
andreas karlsson
a37a8c733e
Fix to enable building the SOEM library VER 2 with -werror
2019-04-08 10:02:03 +02:00
Andreas Karlsson
930d6e07c8
improve groups, make memory usage more efficient, fix erroneous byte calculations and dc frame handling
2019-03-11 10:34:21 +01:00
Claudio Scordino
e0d880d7bd
Avoid OSAL_THREAD usage when EC_MAX_MAPT=1
...
Rationale : allow SOEM to be used in a OS that does not support threads.
2019-02-14 10:56:50 +01:00
Claudio Scordino
7beba91c62
Fix typos in comments.
...
No functional changes.
2019-02-04 13:56:11 +01:00
Claudio Scordino
26cde1dc94
Introduce platform-specific EC_PRINT
...
Rationale: not all operating systems use function printf for printing
console messages. This commits allows to define platform-specific
functions.
2019-02-04 13:56:00 +01:00
ArthurKetels
4427684cc5
ethercatconfig : Set SM enable flag if SM length > 0
2019-01-31 10:07:18 +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
Zihan Chen
462464ee37
Fixed windows x64 warning C4267 conversion from size_t to uint16
2018-02-22 15:01:44 -08:00
rtlaka
28d82fa8fd
Add functions to configure and send an overlapping IOmap
2018-02-01 13:01:35 +01:00
Mikael Heden
15e7748198
Move license information to LICENSE file ( #95 )
...
OK
2017-03-29 07:16:44 +02:00
Apollo3zehn
d7a3b608b3
- reset activation register in ecx_set_slaves_to_default
2016-12-19 12:05:55 +01:00
nakarlsson
03601959b6
Make PDO CA access thread safe ( #51 )
2016-08-18 17:28:02 +02:00
Mikael Heden
82edc9a033
Fix type mismatches
2016-02-17 10:54:49 +01:00
Mikael Heden
eac0acd809
Fix potential bug when the number of slaves is too large
2016-02-17 10:54:47 +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
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