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.

Where are the "System Macros" defined for CCSv4?

I am new to CCSv4.

In the project Properties dialog box, under C/C++ Build, there is a tab named Macros. This tab in the dialog box provides a facility for defining and editing "User macros". It also displays "System Macros", but these are not editable.

On my system, one of these "System Macros" is incorrect, specifically C5500_CSL_CG_ROOT. However, I have not yet been able to determine where this "System Macro" is defined, so that I can correct it.

What - or where - is the source of definition for "System Macros"?

Thanks in advance for any advice...

 

 

  • I believe the system macros are CCS built-in defined macros. You can redefine the macro by defining a new macro of the same name. This will override the system generated macro.

    Thanks

    ki

  • thanks Ki

  • Hi

    FYI

    There are also some other macros to be aware of. They are found in Windows -> Preferences -> expand C/C++ -> managed Build -> Macros tab.

    You can set these like "system macros" for your workspace. (correct me if I'm wrong Ki)

    You can see these macros via right click on your project, select Build Properties -> Macros (tab) -> check box "Show parent context macros"

    Cheers