12 Commits

Author SHA1 Message Date
Hans-Erik Floryd
bd9f7b86c4 Update headers
Fix some headers that were missed in previous commits.

Change-Id: Ifa08fedf9199ba8c8a0766293bc7933e7f7475f2
2025-07-11 14:13:56 +02:00
Hans-Erik Floryd
573cf4aadf Fix spelling
Change-Id: I1dc05f26dfb32ca1584aeb3a31fbd525cafb55cb
2025-07-10 11:59:03 +02:00
Hans-Erik Floryd
5827f10baa Inline ecx_contextt
Simplify user applications by allocating space for exc_contextt
members in the struct directly.

Change-Id: If53062539e265326c420020188621887435681f3
2025-07-10 11:38:59 +02:00
Hans-Erik Floryd
ed3ce755f2 Rename PACKED to OSAL_PACKED
Use a less generic name to avoid namespace conflicts.

Fixes #835.

Change-Id: I222878742ed7d02d19ad50ff732adabfe4f0729a
2025-07-10 11:38:57 +02:00
Hans-Erik Floryd
3377d1d8ae Remove ecx_config_init usetable argument
The usetable argument was a leftover from the legacy API which was
removed in a previous commit.

Change-Id: I2fe5fdf9ed2e2c0b118dff43bf5d50b5809adbd7
2025-07-10 11:38:42 +02:00
Hans-Erik Floryd
3188367ef6 Add overlap and align modes to context
Simplify the API by adding overlap and byte alignment modes to the
context. SOEM can then call the correct functions internally. As a
consequence the following functions are removed from the public API:

   ecx_config_overlap_map_group
   ecx_config_map_group_aligned
   ecx_send_overlap_processdata_group
   ecx_send_overlap_processdata

Change-Id: I0404c4fbaa6be68be4c584af0cc9d62e780c7aaa
2025-07-10 11:38:42 +02:00
Hans-Erik Floryd
b0a1d6e56f Fix group type in mailbox handling api
Use uint8 consistently.

Change-Id: I18c98a461e620235a9208545a3cfa5da317ec919
2025-07-10 10:23:07 +02:00
Mattias Nilsson
2eec21727e Add basic ENI support
Change-Id: I6abcb3b4a1248acadbbe2ed93fcd901304320d02
2025-07-09 17:21:28 +02:00
Hans-Erik Floryd
7b71cf8aa4 Add options header file
Add an options header file containing build-time configurable
settings.

Change-Id: Icfd71571ea6a3033416106cd114e6d464a47ecdc
2025-07-09 17:20:48 +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