c-preprocessorcode-composer

How do I add preprocessor defines in Code Composer Studio 4?


I have an external text file with some preprocessor defines. How can I integrate them in my CCS project?


Solution

  • For CCSv5

    Project -> properties -> C/C++ General -> Path and Symbols

    Under the tap Symbols you can put your defines

    One thing to note: remember to press the "Show advanced setting" in the bottom left corner, or else the C/C++ General does not show up