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.

CCSv4 Variables like ${CG_TOOL_ROOT}

I tried and failed to find any documentation for CCSV4 IDE variables that you con use in places like the include options. I can see ${CG_TOOL_ROOT} and "${PROJECT_BUILD_DIR} (because they exist in the project CCSv4 created for me) but I'm guessing that there are more.

Is there any CCSv4 documentation and if so where?

I ask because I wondering where is the best place to install things like the CSL and FastRTS.

Today I've installed them in the Texas Instruments folder and I was wondering if I could specify the include options relatively (rather than "D:\Program Files\Texas Instruments\03.00.10.02\default_package\csl_c6455\inc").

Thanks,

Matt

  • Matt,

    Most accurate information related to this is contained in projects themselves. e.g CG_TOOL_ROOT changes with each project depending on which target family was selected. 

    Right click on project, then select properties, C/C++ build and then go to Macros tab. There should be pane with two more tabs that are called Configuration and Project. Configuration tab has few more macros that can be used. These panes also show what the path a macro is resolved to. 

    Show parent context macros will display more options, including OS environment variables. 

    Additional note: search paths in compiler/linker options can have relative path information. This is not true for project linked files. Thus you could have something like ${PROJECT_ROOT}/../../CSL or ${CCE_INSTALL_ROOT}/../../CSL/include. 

    Martin

  • MartinS said:
    Right click on project, then select properties, C/C++ build and then go to Macros tab. There should be pane with two more tabs that are called Configuration and Project. Configuration tab has few more macros that can be used. These panes also show what the path a macro is resolved to.

    Thanks, this is exactly what I was looking for!

    MartinS said:
    Additional note: search paths in compiler/linker options can have relative path information. This is not true for project linked files. Thus you could have something like ${PROJECT_ROOT}/../../CSL or ${CCE_INSTALL_ROOT}/../../CSL/include. 

    Yeah, this is what I'm going to do now!

    Thanks again,

    Matt