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:CCS中的XDCTools配置

Guru**** 2540720 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/578957/ccs-ccstudio-xdctools-configuration-in-ccs

部件号:CCStudio
主题中讨论的其他部件:MSP432P401R

工具/软件:Code Composer Studio

如何在CCS XDCTools配置中更改编译器路径? 我在c:/ti下安装了编译器,XDC如何在c:/Program Files/Texas Instruments目录中设置它?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    托尼

    该路径应根据在项目级别选择的编译器版本进行调整。

    如果单击编译器选择旁边的“更多”按钮,它会对编译器的位置显示什么信息? 这是指定了6.1 13的位置旁边的按钮。  您正在运行什么版本的CCS?

    此致,

    John

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    John,

    CCS发现CGT目录正确,但在下图底部生成错误。

    它是CCCCS的,我们有一个使用此特定版本5.3 的软件包。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    托尼

    如果在文本编辑器中打开项目的.cproject文件,是否可以在其中找到该路径?

    应该有一个类似如下的部分:


    <tool id="com.ti.rtsc.buildDefinitions.XDC_XDC_TON.1752461781" 3.16 name="XDCtools" 3.16 .tool">
    <option id="com.ti.rtsc.buildDefinitions.XDC_SDC.tool.XDC_path.2022207118" 3.16 superCLASS="com.ti.rtsc.buildDefinitions.XDC_SDC.tool.XDC_path" 3.16 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_Value.target.1333273748" 3.16 superclass="com.ti.rtsc.buildDefinitions.XDC_Value.tool.target" 3.16 valueType="string"/>
    <option id="com.ti.rtsc.buildDefinitions.XDC_ValueType.tool.platform.1250903259" 3.16 superclass="com.ti.rtsc.buildDefinitions.XDC_ValueType.tool.platform" 3.16 value="string"/> ti.platforms.msp432:MSP432P401R"
    <option id="com.ti.rtsc.buildDefinitions.XDC_Value.tool.platform_raw 3.16 .7.44107019亿" superCLASS="com.ti.rtsc.buildDefinitions.XDC_Value_Value.tool.platform_ray" 3.16 value="string"/> ti.platforms.msp432:MSP432P401R"
    <option id="com.ti.rtsc.buildDefinitions.XDC_Value.build_profile.712.7975万" superCLASS="com.ti.rtsc.buildDefinitions.XDC_Value_String.tool.build_profile" 3.16 value="release" 3.16 type="string"/>
    <option id="com.ti.rtsc.buildDefinitions.XDC_DIR.tool.CodeGen_tool_DIR.7.25765584亿" 3.16 superCLASS="com.ti.rtsc.buildDefinitions.XDC_CodeGen_tool_DIR" 3.16 value="&quot;${CG_tool_root}&quot;"Value=
    </tool>


    编译器的路径应该由${cG_tool_root}表示,但在您的情况下,它可能是绝对路径。 尝试编辑正确位置的路径。

    John