Commit Graph

7 Commits

Author SHA1 Message Date
Hans-Erik Floryd
d5124435f0 Let coetest/redtest build on other platforms
Use the new osal functions to let tests build on all supported
platforms.

Change-Id: I6519ee55588e7bf0dff8d412679db268abbe86ce
2025-07-10 10:23:07 +02:00
Hans-Erik Floryd
7c2da72988 Add OSAL functions for monotonic time
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
2025-07-10 10:23:07 +02:00
Hans-Erik Floryd
d1c95dfb7d Add eni_test sample
Add a simple test showing how to use the ENI parser.

Change-Id: I23755d29b10a40fc3ddb21b0780f7e000d9fbdfe
2025-07-10 10:23:07 +02:00
Hans-Erik Floryd
08064ae3fa Add more samples
Change-Id: I6bf219887efd88a69a257815f1974759d56fd3c3
2025-07-09 17:21:26 +02:00
Hans-Erik Floryd
0ae3d2f056 Run clang-format on sources
Change-Id: Ide59897b87104bfb71e953b7f8dace00e441e245
2025-07-09 17:20:48 +02:00
Hans-Erik Floryd
9582886c2c Refactor repository layout (step 2 of 2)
Rename files ethercat to ec_

Change-Id: If79f133fa37147bf509a3a75b0f4e14de860fea3
2025-07-09 17:20:48 +02:00
Hans-Erik Floryd
78b757b2bf Refactor repository layout (step 1 of 2)
Create include,src and test folders and move files accordingly.

Change-Id: I3caf7a8de2ba1a9ad5a9cedbaad3942657a3753d
2025-07-09 17:20:48 +02:00