Other Parts Discussed in Thread: C2000WARE
Tool/software:
Hi,
Could you provide any manual about a variable in struct and memory usage?
When declare 8 float variables in struct, CLA1_MSGRAMHIGH memory usage is 100%
when declare 6 float variables in struct1, 2 float variables in struct2, it's decreased to 87%
With separating them to 3 struct, it's decreased to 75%.
Could you let me know why it's different?
Does it due to struct padding? if yes, is there any issue in compiling?
Thanks.