Tool/software: Code Composer Studio
hi,
The problem as follows:
#pragma PERSISTENT(firststartflg)
#pragma location = 0x20002144
char firststartflg = 0 ;At this point, Why is the generated bin file 512M ?
However,
#pragma PERSISTENT(firststartflg)
#pragma location = 0x2005
char firststartflg = 0 ;
or
#pragma PERSISTENT(firststartflg)
#pragma location = 0x20002144
char firststartflg ;At this point,the generated bin file 512M;
My requirement is to define a variable in memory that will not change at every startup, and the generated bin file should be 128K;
Thank you very much!