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/CC2640R2F:工程未正确编译|出现构建错误、如"[build-1140347135]错误2 "进入 Micro BLE 工程

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

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/892468/ccs-cc2640r2f-project-does-not-build-properly-coming-build-error-like-build-1140347135-error-2-coming-in-micro-ble-project

器件型号:CC2640R2F

工具/软件:Code Composer Studio

您好,  

CC2640R2系列中的工作微型 BLE 项目。 在以前的版本(即 CCS 9.3)中,它运行正常。 我想升级到 CCS 10.0、我这么做了。 现在、项目未按预期构建。  

关于系统、Windows 10 64位

软件、CCS 10.0最新版本  

使用的 SDK:SDK 3.40.00.10和来自卢布示例 SDK 2.20的示例

XDC 工具、现在使用、3.61.00  

SUS/BIOS:6.53

有人能解释如何解决这个问题吗? 更新 CCS IDE 的正确步骤是什么? 是否有必要在更新 CCS 时重新安装所有 SDK 和 XDC 工具(但听起来很糟糕)?  

以下是项目构建日志:


****为项目 uble_bcast_scan_cc2640r2lp_app 构建配置 multimple_FlashOnly ****

"C:\\ti\\ccs1000\\ccs\\utils\bin\\gmake"-k -j 4 all -O

编译文件:"../TOOLS/app_ble.cfg
调用:XDCtools
"c:/ti/xdctools_3_51_03_28_core/xs "--xdcpath="C:/ti/simplelink_cc2640r2_sdk_3_40_00_10/source/ti/blestack /ti/simplelink_cc2640r2_sdk_3_40_00_10;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M3 -p ti.platforms.simplelink:CC2640R2F -r release -c "C:/ti/ccs1000/ccs/tools/compiler -compileOptions "-mv7M3 -code_state=16 -me -op_for_speed\"\ccs_40v4/rtran_tran\-ccs_40p_tran_tran\-trap_tran_tran\-p_40p_trap_tran_tranu_projects -ccs_40p_40p_tran_tran_tran_tran\_tran\-p_trap_tran_emp_tran_emp_ccs_40p_40p_tran\_tran\_tran\_tran\_tran_tran_tranu.com_emp_tran\-p_projects/r40p_ccs_tran\_projects/r40p_ccs_tran_exp_tran_tran_ex_/ti/simplelink_cc2640r2_sdk_3_40_00_10/source/ti/blestack/icall/inc /ti/simplelink_cc2640r2_sdk_3_40_00_10/source/ti/blestack/common/cc26xx /ti/simplelink_cc2640r2_sdk_3_40_00_10/source/ti/blestack/boards /ti/simplelink_cc2640r2_sdk_3_40_00_10/source/ti/blestack/rom /ti/simplelink_cc2640r2_sdk_3_40_00_10/source/ti/blestack/inc /ti/simplelink_cc2640r2_sdk_3_40_00_10/source/ti/blestack/controller/cc26xx_r2/inc include_path="C:/ti/simplelink_cc2640r2_sdk_3_40_00_10/source/ti/blestack/profiles/roles/cc26xx -"--include_path="C:/ti/simplelink_cc2640r2_sdk_3_40_00_10/source/ti/blestack/profiles/roles /ti/simplelink_cc2640r2_sdk_3_40_00_10/source/ti/blestack/hal/src/target/_common/cc26xx /ti/simplelink_cc2640r2_sdk_3_40_00_10/source/ti/blestack/icall/src/inc /ti/simplelink_cc2640r2_sdk_3_40_00_10/source/ti/blestack/services/src/sdata --include_path="C:/ti/simplelink_cc2640r2_sdk_3_40_00_10/source/ti/blestack/target --include_path="C:/ti/simplelink_cc2640r2_sdk_3_40_00_10/source/ti/blestack/hal/src/target/_common --include_path="C:/ti/simplelink_cc2640r2_sdk_3_40_00_10/source/ti/blestack/heapmgr /ti/simplelink_cc2640r2_sdk_3_40_00_10/source/ti/blestack/services/src/saddr --include_nter=cand_define-censor=ce-cand_define_cy=/ti/simplelink_cc2640r2_sdk_3_40_00_10/source/ti/blestack/hal/src/inc /ti/simplelink_cc2640r2_sdk_3_40_00_10/source/ti/blestack/osal/src/inc /ti/simplelink_cc2640r2_sdk_3_40_00_10/source/ti/devices/cc26x0r2 --cand_define_cy=ble_tran=cand_define-cy=ble_cy=ble_path=ble_ble_c=cand_define-cy=ble_ble_cy=ble_ble_ble=100 -cy=ble_ble_ble_ble_ble=100 -cand=-cy=ble_ble_ble_ble_ble_ble_ble_ble_ble=-cand=-cand=-cy=-cand=-cy=-cand=cy=ble_ble_ble_ble_ble_ble_ble_ble_ble_ble_ble_ define=CC2640R2_LAUNCHXL --define=CC26XX --define=CC26XX_R2 --define=feature_advertiser --define=feature_static_ADDR --define=feature_scanner --define=feature=feature_observer --define=g_subs=gcapi_size_s=0-define=xrulation_de=en_off-define=us=xrulation_de=us=rulation_diag=blue_display-us-for_en_en_en_eny=blem-for_en_ag=us-ex-us-us-us-us=blem-for_en_ag=xrs-cepage=us_en_ag=us-for_en_enable-us-us-us_en_enable-us-us_ag=us-fordic-us_en_en_en_enchines=us-us /TOOLS/app_ble.cfg
tools/subdir_rules.mk:12:目标'Build-1140347135-InProc '的配方失败
JS:"c:/ti/xdctools_3_51_03_28_core/packages/xdc/tools/Cmdr.xs、第52行:错误:xdc.tools.configuro:错误:找不到平台包'ti.platforms.simplelink'。 TI 平台不再作为 XDCtools (C:\ti\xdctools_3_51_03_28_core)的一部分提供。 请确保您使用的是3.30之前版本的 XDCtools、或者您已添加一个包含您在路径'C:/ti/simplelink_cc2640r2_sdk_3_40_00_10/source/ti/blestack;C:\ti\xdctools_3_51_03_28_core/packets'上的平台支持的产品。 检查此路径是否为包含必要平台支持的目录命名,以及平台名称是否拼写正确。
gmake[1]:***[Build-1140347135-InProC]错误1.
Gmake:***[build-1140347135]错误2.
tools/subdir_rules.mk:9:目标'build-1140347135"的配方失败
gmake:目标"全部"不会由于错误而重新生成。

****构建完成****

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

    您好!

    [引用 user="Rahman Adam"]使用 NOW 的 XDC 工具,3.61.00 

    [引用 user="Rahman Adam"]生成文件:"../TOOLS/app_ble.cfg
    调用:XDCtools
    "C:/ti/xdctools_3_51_03_28_core/xs "--xdcpath="C:/ti/simplelink_cc2640r2_sdk_3_40_00_10/source/ti/blestack;" xdc.tools.configuro configPkg -t ti.targets.arm.elf.M3 -p ti.platforms.simplelink:CC2640R2F -r release -c "C:/ti/ccs1000/ccs/tools/compiler "--compileOptions "-mv7M3 --code_state=16 -me -O4 --opt_for_speed=/ti/simplelink_cc2640r2_sdk_3_40_00_10 -include\-mv7M3 --intrabout_path\-c\-ines\-inquote_status.\-e\-ine_trabout_trabout_speed\-e\-e\

    该项目正在使用 XDCtools 3.51。请尝试更改项目属性中使用的 xdctools 版本。

    谢谢

    Ki

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

    您好!  

    感谢您的回复。

    是的。 我已经尝试更改项目属性中的 XDC 工具。 构建错误日志未更改。 与上一个相同。

    谢谢

    拉赫曼

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

    请提供更新的 XDCtools 版本的编译输出。

    谢谢

    Ki