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.

Obtain C2000Ware version in code / precompiler

Other Parts Discussed in Thread: C2000WARE

Hi,

1) How can I optain the C2000Ware version in code?

Just like:

#ifdef __TI_COMPILER_VERSION__
    #if __TI_COMPILER_VERSION__ != 22006000
        #error WRONG COMPILER VERSION
    #endif
#else
    #error WRONG COMPILER VERSION
#endif

2) How can I 'print' the above version in the Console Window of CCS (XXXXXX below)?

#error Download right compiler version, you are using XXXXXXX in stead of 22006000 (22.6.0)

3) Where do I find this kind of information? Searching Google for 2 hours didn't work for me.

BR,

Ruud