Structures are overlapping | Cypress Semiconductor
Structures are overlapping
Hi. I'm using PSoC Creator 3.3 SP2 and the supplied arm gcc compiler.
I have some structures which are defined to hold global data. The structures overlap........ When I clear the memory in
Session->Receive->Data[ .... ]. I wipe out a significant portion of
Anybody have any advice? Can't find out about any maximum structure sizes. All optimization settings are turned off.
// this is the main structure for runtime values
// bunches of stuff
struct RingBufferStr Transmit;
struct RingBufferStr Receive;
extern struct SourceStr Source;
extern struct SessionStr Sessions;