SOES/soes
Hans-Erik Floryd 097477035d Fix address-of-packed-member warnings
GCC9 introduced an address-of-packed-member warning that triggers in
esc_coe.c. The issue is that a packed struct has an overall alignment
of 1, and taking the address of a member in a packed struct is not
guaranteed to have any particular alignment. However, in esc_coe these
structs are always overlayed on aligned memory so in practice there is
no problem.

Fix the problem by explicitly setting the minimum alignment for the
structs used in this manner. Also fix an instance where an unaligned
pointer was used but never dereferenced (by changing the type of the
pointer from uint32_t* to void*).
2021-10-26 09:36:04 +02:00
..
doc Cleanup of ALevent update stuff in HAL, update ALevent var directly. 2016-09-15 14:19:11 +02:00
hal Add HAL for Raspberry Pi / LAN9252 2021-08-31 13:40:21 +02:00
include/sys/gcc Fix address-of-packed-member warnings 2021-10-26 09:36:04 +02:00
CMakeLists.txt add options.h 2019-05-09 15:43:07 +02:00
Doxyfile Imported Arthur Ketels' SOES (hg: ea7f05102d58) 2014-09-12 16:01:33 +02:00
ecat_slv.c Allow the pre_object_upload_hook to modify size 2020-10-19 14:21:09 +02:00
ecat_slv.h Add/extend support for upload and download callbacks 2020-06-22 15:01:06 +02:00
esc.c Add option to skip default initialization 2020-09-09 15:44:29 +02:00
esc.h Fix address-of-packed-member warnings 2021-10-26 09:36:04 +02:00
esc_coe.c Fix address-of-packed-member warnings 2021-10-26 09:36:04 +02:00
esc_coe.h Fix for very large objects (with Complete Access) 2020-10-26 10:57:51 +01:00
esc_eep.c Put a brief license info in source files and bump version 2017-10-25 13:39:20 +02:00
esc_eep.h add eeprom pdi SII Configuration area struct 2017-10-25 14:43:17 +02:00
esc_eoe.c Fix inconsistent function name 2021-05-06 17:05:46 +02:00
esc_eoe.h EoE updates 2019-05-09 15:43:07 +02:00
esc_foe.c Simplify foe 2020-09-09 15:44:39 +02:00
esc_foe.h Simplify foe 2020-09-09 15:44:39 +02:00
options.h Fix handling of large objects in SDO Upload with Complete Access 2020-10-19 14:22:02 +02:00