micander / atrias

Automatically exported from code.google.com/p/atrias
0 stars 0 forks source link

ECat Struct Padding Controls #70

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Currently, the structs for ECat comms are kept consistent between the master 
and medullas by ordering the fields from largest to smallest and hoping the 
compilers pad them the same.

We should look into directives (such as the #pragma directives shown on the 
Data Structure Alignment Wikipedia page) that direct the compilers not to add 
padding to the structs.

Original issue reported on code.google.com by jrvanwhy on 27 Apr 2012 at 5:23

GoogleCodeExporter commented 9 years ago
Instead, we are implementing stuff properly (turns out we weren't doing it 
right), so all this will be fixed with the EtherCAT Master rewrite.

Original comment by jrvanwhy on 4 Jul 2012 at 4:50

GoogleCodeExporter commented 9 years ago
This is out of date. Everything's done properly now.

Original comment by jrvanwhy on 24 Aug 2012 at 7:09