I have some Windows code (Visual Studio 2013) that uses byte aligned structures:
#pragma pack(push, 1)
// Some structures
#pragma pack(pop)
They are then copied directly into a byte array using memcpy and sent over the network to the rabbit board. I want to use these same structures on the rabbit board so that I don’t have to duplicate code.
Is there any way to force byte alignment in the Rabbit Board using Dynamic C?
What is the natural alignment on the Rabbit?