* 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
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
* Replaced CMAKE_SOURCE_DIR with CMAKE_CURRENT_LIST_DIR to make SOEM CMakeLists.txt more relocatable.
* Installed SOEM CMake config files to a more universal location to search.
this patch adds building on ubuntu bionic that has a newer gcc while
keeping ubuntu xenial (default on travis-ci)
it also adds macosx since it was very easy to add and it's a platform we can build for
strncpy should not be called with a "length" parameter which is based on
the source string since it negates the benefits of using strncpy. this
patch fixes the warning for linux, macosx and rtems
Fixes#346
Change-Id: Ib2fb7637e9845545e4c15045e6be7c7ce8e0672b
* Port to macOS
This port to macOS is an amalgam of the existing Linux and Win32
ports. Consequently code is duplicated from each in this port:
primarily from win32 in oshw, and Linux is osal.
Synthesizing a shared common posix port, did not seem warranted given
the modest amount of code, and stable api.
This port uses the default pcap interface provided in the development
libraries shipped with XCode.
Limited testing on os releases: 10.13 and 10.14.
* fix possible race condition as for win32
See aed0f81724e5a2d482491bd6e5e9932a83a42646
* fix spelling as for linux / win32
See 7beba91c6286900f07c8831afe1e1468b665815f
Now it is possible to set a EC_LITTLE_ENDIAN or EC_BIG_ENDIAN in the
osal_defs.h file or by compile option. If no endian is defined, the default
EC_LITTLE_ENDIAN is used.
This patch adds support to SOEM for the ERIKA Enterprise RTOS
(erika-enterprise.com).
Current requirements for running SOEM on ERIKA RTOS:
- x86-64 platform with 2+ cores
- Xen hypervisor
- Intel i210 PCIe Ethernet controller
Signed-off-by: Claudio Scordino <claudio@evidence.eu.com>
Signed-off-by: Luca Cuomo <l.cuomo@evidence.eu.com>