Hello,
I need to separate two versions of code for different CCS versions. I'd like to make it by predefine/define preprocessor symbols.
Is there an embedded preprocessor define symbol of current Code Composer Studio version?
Anatoly.
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.
Hello,
I need to separate two versions of code for different CCS versions. I'd like to make it by predefine/define preprocessor symbols.
Is there an embedded preprocessor define symbol of current Code Composer Studio version?
Anatoly.
Hi Anatoly,
First of all you should check the compiler documentation for the platform you are using.
The directive you are looking for should be __TI_COMPILER_VERSION__ ... there is a discussion on this on the following wiki page.
http://processors.wiki.ti.com/index.php/Pragmas_You_Can_Understand
Please keep me informed whether this helps!
Best regards,
Lisa