Ok Gurus,
I have an issue with putting packed structs in Shared Ram in the Concerto - the table data (up to 240 Bytes) is received via UART on the M3, processed by the M3, and then made available via shared ram to the C28 via a single structure.
However, According to this post, packed structures are not supported by the C2000 Compiler.
Question: If you have a struct containing elements of varying lengths (Uint16, float, Uint16 for example) how can you ensure that the data will be allocated identically?
In this example, the M3 with packing would allocate 6 bytes for this while the C28 will put a black space in between the first Uint16 and float...
How can I deterministically circumvent this issue?
Removing alignment would also eliminate this issue - but I can not find documentation to do this either.