Hello everyone,
I’m using the TMS320F28016 DSP and CCS3.3 compiler. My programme is near to finish, but I have a few loose ends. For example, I would like to save the software version into the .out file . For all this to happen, I have two files:
- Version.h. In this file I have declared some defines with the important information, and a long vector:
#define _DESCRIPCION "(xxxxxxxx)--------------"
#define DEVICE_CODE 22
#define MANUFACT_CODE 0
…
…
…
#define SW_VERSION 1
#define SW_REVISION 1
#define SW_COMPILATION 0
…
…
extern const unsigned char informacion[96];
- Version.c. With the initialization for informacion
So, after the compilation, I hope to find into the .out file a long string with the value of information, but this doesn’t appear in this file. Any idea? Maybe the CCS is optimizing the code and like information is never used after the initialization, the compiler not write the value in the .out file?
Thanks in advance.