Part Number: CCSTUDIO-C2000
It seems that Code Composer will not initialize a global struct with the following format:
struct mystruct mystruct_var = {0};
Why is that and using CC, how is the best way to initialize global structs or arrays...?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Part Number: CCSTUDIO-C2000
It seems that Code Composer will not initialize a global struct with the following format:
struct mystruct mystruct_var = {0};
Why is that and using CC, how is the best way to initialize global structs or arrays...?
Please search the C28x compiler manual for the sub-chapter titled Initializing Static and Global Variables in COFF ABI Mode.
Thanks and regards,
-George