This commit adds osal_get_monotonic_time() and
osal_monotonic_sleep(). These functions are designed to facilitate
synchronization with DC time, which can achieve nanosecond precision.
To support this functionality, the ec_timet structure has been
refactored to hold time values in nanoseconds, eliminating the need to
maintain separate time representations.
Change-Id: I039a006ccdb21ba35c437ab76e44e5153c711998
This commit includes extensive changes across multiple files to
refactor the mailbox handling system and improve performance and
reliability in EtherCAT communication.
Update from Arthur Ketels 20240911.
Change-Id: I1177aea8b71156671a465473b7393af76be19c1c
* 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 aed0f81724
* fix spelling as for linux / win32
See 7beba91c62
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>
* cleanup CMakeLists.txt
* build with more warnings, warnings as errors
* fix expression has no effect warning
* fix unused parameter warnings
* fix loss of precision warning
* remove obsolete files
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>