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.

CCS/CCSTUDIO: XDCTools configuration in CCS

Part Number: CCSTUDIO

Tool/software: Code Composer Studio

How to change the compiler path in CCS XDCTools configuration? I installed the compiler under c:/ti, how does XDC set it in c:/Program Files/Texas Instruments/ directory?

  • Tony,

    That path should be adjusted based on the compiler version selected at the project level.

    If you click on the "more" button beside your compiler selection what does it show for the location of the compiler? This is the button beside where you have 6.1.13 specified.  What version of CCS are you running?

    Regards,

    John

  • John,

    The CCS discovered CGT directory is right, but generate error in the bottom of below picture.

    It is CCSV5.3, we have a software package using this specific version CCS.

  • Tony,

    If you open the .cproject file for the project in a text editor can you find that path in it?

    There should be a section something like this:


    <tool id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.1752461781" name="XDCtools" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool">
    <option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.XDC_PATH.2022207118" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.XDC_PATH" valueType="stringList">
    <listOptionValue builtIn="false" value="${COM_TI_SIMPLELINK_MSP432_SDK_INSTALL_DIR_REPOS}"/>
    <listOptionValue builtIn="false" value="${TARGET_CONTENT_BASE}"/>
    </option>
    <option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.TARGET.1333273748" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.TARGET" value="ti.targets.arm.elf.M4F" valueType="string"/>
    <option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.PLATFORM.1250903259" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.PLATFORM" value="ti.platforms.msp432:MSP432P401R" valueType="string"/>
    <option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.PLATFORM_RAW.744107019" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.PLATFORM_RAW" value="ti.platforms.msp432:MSP432P401R" valueType="string"/>
    <option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.BUILD_PROFILE.7127975" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.BUILD_PROFILE" value="release" valueType="string"/>
    <option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.CODEGEN_TOOL_DIR.725765584" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.CODEGEN_TOOL_DIR" value="&quot;${CG_TOOL_ROOT}&quot;" valueType="string"/>
    </tool>


    The path to the compiler is supposed to be represented by ${CG_TOOL_ROOT} however in your case it may be an absolute path. Try editing the path to the correct location.

    John