Hi SDO Experts,
For details see section 7.8.1 of the Compiler User's Guide (SPRU187O.pdf). Here is the note from that section:
"In ANSI/ISO C, global and static variables that are not explicitly initialized must be set to 0 before program execution. The C/C++ compiler does not perform any preinitialization of uninitialized variables. Explicitly initialize any variable that must have an initial value of 0. The easiest method is to set a fill value of 0 in the linker control map for the .bss section. You cannot use methods with code that is burned into ROM."
Is there any detail on how to fill value of 0 in the linker control map for the .bss section?
Thanks & Regards,
Yu Liu