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.

[参考译文] LAUNCHXL-CC3235SF:由于当前未安装编译器、重新编译 ota.a 失败

Guru**** 2481465 points
Other Parts Discussed in Thread: SYSCONFIG, UNIFLASH

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

https://e2e.ti.com/support/wireless-connectivity/wi-fi-group/wifi/f/wi-fi-forum/1357276/launchxl-cc3235sf-rebuild-ota-a-fail-due-to-compiler-that-is-not-currently-installed

器件型号:LAUNCHXL-CC3235SF
主题中讨论的其他器件:SysConfigUNIFLASHCCStudio

我尝试将 OTA 工程导入 CCS、但收到错误消息、指出未安装编译器。

SDK 版本7.10.0.13
CCS 12.4.0.00007  
ARM Clang 编译器工具2.1.3.LTS  
ARM 编译器工具20.2.7  

****构建完成****
发生构建文件生成错误。
此项目使用当前未安装的编译器版本创建- null [Arm]:
-请参阅"帮助>安装新软件"并选择"代码生成工具更新"以检查此编译器是否可通过 CCS 更新获得。
-访问 CCS App Center 获取最新的编译器支持。
-或者下载并安装编译器[http://software-dl.ti.com/codegen/non-esd/downloads]、然后通过"Preferences > CCS > Build > Compilers"将其注册到 CCS。
构建已停止..

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

    我不确定原因是什么。 我将尝试向 CCS 专家咨询。

    同时,您可以访问" /source/ti/net/ota /"并使用 makefile 来构建库:

    " /gmake"(例如、在 git bash /c/ti/xdctools_3_62_01_16_core/gmake.exe 中-您可能有不同的版本)。  

      

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

    当我执行 gmake 时、我已安装 CCS 12.40。 gmake 正在查找 c:\ti\ccs1220中的编译器。

    有什么简单的解决方法吗?

    --------------------------------------------------------------------------------------------------------------------------------

    C:\ti\simplelink_cc32xx_sdk_7_10_00_13\source\ti\net\ota>C:\ti\xdctools_3_62_01_15_core\gmake
    gmake[1]:输入目录"C:/ti/simplelink_cc32xx_sdk_7_10_00_13/source/ti/net/ota/ticlang/Release "
    CC CdnClient.obj……
    Process_BEGIN:CreateProcess (NULL、C:/ti/ccs1220/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/bin/tiarmclang -c -Wunused-pragma -ffunction-SECTIONS -Fdata-SECTIONS -mcpu=cortex-M4 -mthum-mabi=aapcs -I-ABO:/ti/simplelink_cc32xx_sdk_7_10_00_13/source/ti/net/ota/source/CdnClient.c IC IC:/ti/simplelink_cc32xx_sdk_7_10_00_13/source/ti/net/ota/source /ti/simplelink_cc32xx_sdk_7_10_00_13/source/ti/net/ota/../../drivers/net/wifi IC:/ti/ccs1220/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS IC IC:/ti/simplelink_cc32xx_sdk_7_10_00_13/source/ti/net/ota/../../.. IC:/ti/simplelink_cc32xx_sdk_7_10_00_13/source/ti/net/ota/source/CdnVendors -c99 -mfloate-c99 -c99 -cabi=cobj、/ti/simplelink_cc32xx_sdk_7_10_00_13/source/ti/net/ota 失败)。
    make (e=2):系统找不到指定的文件。
    gmak[1]:***[makefile.defs:56: CdnClient.obj]错误2
    gmake[1]:正在离开目录"C:/ti/simplelink_cc32xx_sdk_7_10_00_13/source/ti/net/ota/ticlang/Release "
    gmake:***[Makefiles:32: Ticlang/Release/.] 错误2

    C:\ti\simplelink_cc32xx_sdk_7_10_00_13\source\ti\net\ota>C:\ti\ccs1240\xdctools_3_62_01_16_core\gmake
    gmake[1]:输入目录"C:/ti/simplelink_cc32xx_sdk_7_10_00_13/source/ti/net/ota/ticlang/Release "
    CC CdnClient.obj……
    Process_BEGIN:CreateProcess (NULL、C:/ti/ccs1220/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/bin/tiarmclang -c -Wunused-pragma -ffunction-SECTIONS -Fdata-SECTIONS -mcpu=cortex-M4 -mthum-mabi=aapcs -I-ABO:/ti/simplelink_cc32xx_sdk_7_10_00_13/source/ti/net/ota/source/CdnClient.c IC IC:/ti/simplelink_cc32xx_sdk_7_10_00_13/source/ti/net/ota/source /ti/simplelink_cc32xx_sdk_7_10_00_13/source/ti/net/ota/../../drivers/net/wifi IC:/ti/ccs1220/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS IC IC:/ti/simplelink_cc32xx_sdk_7_10_00_13/source/ti/net/ota/../../.. IC:/ti/simplelink_cc32xx_sdk_7_10_00_13/source/ti/net/ota/source/CdnVendors -c99 -mfloate-c99 -c99 -cabi=cobj、/ti/simplelink_cc32xx_sdk_7_10_00_13/source/ti/net/ota 失败)。
    make (e=2):系统找不到指定的文件。
    gmak[1]:***[makefile.defs:56: CdnClient.obj]错误2
    gmake[1]:正在离开目录"C:/ti/simplelink_cc32xx_sdk_7_10_00_13/source/ti/net/ota/ticlang/Release "
    gmake:***[Makefiles:32: Ticlang/Release/.] 错误2

    C:\ti\simplelink_cc32xx_sdk_7_10_00_13\source\ti\net\ota>cd \ti

    C:\ti>目录

    目录 C:\ti

    2024年03月11日09:17 PM


    2023年08月25日12:09 PM CC3xxx_RadioTool_1.0.3.19
    2023年09月19日03:14 PM CC3xxx_RadioTool_1.0.3.19_
    2023年08月15日01:06 AM ccs1030
    2023年08月15日01:19 AM ccs1240
    2023年07月18日03:51 PM simplelink_cc13xx_cc26xx_sdk_7_10_01_24
    2023年07月01日06:21 PM simplelink_cc32xx_sdk_5_10_00_02
    2024年03月11日09:22 PM simplelink_cc32xx_sdk_5_20_00_06
    2024年03月11日08:52 PM simplelink_cc32xx_sdk_5_30_00_08
    2023年08月09日04:12 PM simplelink_cc32xx_sdk_7_10_00_13
    2023年07月18日03:21 PM simplelink_lowpower_f3_sdk_7_10_00_35
    2023年07月18日03:47 PM SysConfig _1.16.2
    2023年07月18日03:20 PM SysConfig _1_16_1
    2023年11月17日03:16 PM tirtos_tivac_2_16_01_14
    2023年09月06日11:44 AM uniflash_7.1.0
    2023年09月06日11:42 AM uniflash_8.4.0
    2024年03月11日06:01 PM uniflash_8.6.0
    2023年11月17日 下午03:11 xdctools_3_32_00_06_core
    2023年07月01日05:48 PM xdctools_3_62_00_08_CORE
    2023年07月21日03:50 PM xdctools_3_62_01_15_core

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    [QUOTE USERID="466584" URL="~/support/wireless-connectivity/wi-fi-group/wifi/f/wi-fi-forum/1357276/launchxl-cc3235sf-rebuild-ota-a-fail-due-to-compiler-that-is-not-currently-installed ****构建完成****
    发生构建文件生成错误。
    此项目使用当前未安装的编译器版本创建- null [Arm]:
    -请参阅"帮助>安装新软件"并选择"代码生成工具更新"以检查此编译器是否可通过 CCS 更新获得。
    -访问 CCS App Center 获取最新的编译器支持。
    -或者下载并安装编译器[http://software-dl.ti.com/codegen/non-esd/downloads]、然后通过"Preferences > CCS > Build > Compilers"将其注册到 CCS。
    构建已停止..

    我可以重现此错误。 当我检查项目元数据文件时、某些东西会消失。 我需要跟进 CCS 构建专家。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    我可以重现此错误。 当我检查项目元数据文件时、某些东西会消失。 我需要跟进 CCS 构建专家。

    问题是、在.cproject 文件中、编译器版本为空。 CCS 始终等待某个值、如果该值为空、则会导致内部异常。

    我提交了一个内部错误。 即使该字段为空、CCS 也应该能够处理而不会导致异常:

    https://sir.ext.ti.com/jira/browse/EXT_EP-11748

    这个 SDK 示例为什么一开始就使用空值这一个问题。 这通常不应该发生。 生成示例的方式可能存在一些错误。

    权变措施是手动填充.cproject 中的值。 对于此示例、请修改项目文件夹内.cproject 文件中的第29行。 看起来此项目使用了编译器版本18.12、因此您可以指定"18.12"、CCS 将尝试找到最接近的匹配项:

    "="">18.12 " ValueType="string"/>

    谢谢

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

    感谢您提供解决方法。 不管用。