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:CC2650STK 示例工程编译问题

Guru**** 2563960 points
Other Parts Discussed in Thread: CC2650, SYSBIOS

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

https://e2e.ti.com/support/wireless-connectivity/bluetooth-group/bluetooth/f/bluetooth-forum/568067/ccs-cc2650stk-example-project-build-problem

Thread 中讨论的其他器件:CC2650SYSBIOS

工具/软件:Code Composer Studio

我已根据 以下书面指导成功下载 Sensortag 项目并将其导入到 CCS 6.2中: processors.wiki.ti.com/.../Debug_DevPack_User_Guide


已安装 BLE 堆栈2.2.1、项目设置如下:

编译器版本 TIv15.12.3.LTS

XDCtools 版本3.32.1.22_core

适用于 SimpleLink 无线 MCU 2.13.0.06的 TI-RTOS

《使用 CC2650 SensorTag 构建 SensorTag 固件用户指南:

SensorTag 项目:$SDK_INSTALL_PATH$\projects\ble\SensorTag 确定!

BIM_extflash (适用于 CCS):$SDK_INSTALL_PATH$\projects\ble\util\BIM_extflash 确定!

其中、$SDK_INSTALL_PATH$是默认的 SDK 安装路径、例如 C:\ti\simplelink\ble_cc26xx_2_01_00_44423 确定!


在尝试编译工程时、我将遇到以下错误:

****为项目 SensorTag 构建配置调试****

"C:\\ti\\ccsv6\\utils\\bin\\gmake"-k all
'生成文件:C:/ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Projects/ble/SensorTag/CC26xx/CCS/Config/appBLE.cfg '
'调用:XDCtools '
"c:/ti/xdctools_3_32_01_22_core/xs "--xdcpath="C:/ti/tirex-content/tirtos_simplelink_2_13_00_06/packages;C:/ti/tirex-content/tirtos_simplelink_2_13_00_06/products/bios_6_42_00_08/packages;C:/ti/tirex-content/tirtos_simplelink_2_13_00_06/products/uia_2_00_02_39/packages;C:/ti/ccsv6/ccs_base /Users/Laci/workspace_v6_2/SensorTag/Board/Devices /Users/Laci/workspace_v6_2/SensorTag/Application /ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Projects/ble/SensorTag/CC26xx/Source/Application/Board_patch/CC26XXST_0120 /ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Components/icall/ports/tirtos;" xdc.tools.configuro -configPkg -t ti.targets.arm.elf.M3 -p ti.platforms.simplelink:CC2650F128 /Users/Laci/workspace_v6_2/SensorTag/Board/Interfaces /Users/Laci/workspace_v6_2/SensorTag/ICallBLE /ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Projects/ble/SensorTag/CC26xx/Source/Application/Board_patch/Devices /ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Projects/ble/Profiles/Keys -r debug -c "C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS -compileOptions "-mv7M3\-code_state=t ti.target.arm.elf.elf.c -cn-trine-cn"-cn-cn-cn-cn-cn-cn-cn-cn-cn-cn-cn-cn-cn-cn-cn-cn-cn-cn-cn-cn-cn-cn-cn-cn-cn-cn-cn-cn-cn-cn-cn-cn-cn-cn-cn/texctrine-path=/Users/Laci/workspace_v6_2/SensorTag/PROFILES /Users/Laci/workspace_v6_2/SensorTag/Startup /ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Projects/ble/SensorTag/CC26xx/Source/Application/Board_patch/Interfaces /ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Projects/ble/Profiles/OAD/CC26xxST -cn-cn-.com.cn-cn-cn-cn-cn-cn-cn-cn-cn-cn-cn-cn-cn-cn-cn-cn-cn-cn-cn-cn-cn-cn-cn-cn-cn-cn-cn-cn-cn-cn-cn-cn-cn-cn-cn-/ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Projects/ble/Profiles/SensorProfile/CC26xx include_path="C:/ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Projects/ble/Profiles/DevInfo -"--include_path="C:/ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Projects/ble/SensorTag/CC26xx/Source/Application --include_path="C:/ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Projects/ble/Profiles/Roles/CC26xx --include_path="C:/ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Components/applib/heap --include_path="C:/ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Components/services/sdata /ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Components/ble/controller/CC26xx/include /ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Components/ble/include /ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Components/hal/target/_common/cc26xx /ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Components/services/saddr /ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Projects/ble/Profiles/Roles --include_path=/ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Components/ble/hci /ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Components/hal/include /ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Components/icall/include /ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Projects/ble/ICall/Include --include_path=/ti/tirex-content/tirtos_simplelink_2_13_00_06/products/cc26xxware_2_21_01_15600 --include_path=/ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Components/ble/host --include_path:c:/ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Components/hal/target/CC2650TIRTOS --include_path =/ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Components/osal/include --include_include:/ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Projects/ble/Include /ti/ccsv6/tools/compiler/arm_15.12.3.LTS/include /ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Projects/ble/common/cc26xx define=use_ICALL --define=xdc_runtime_assert_disable_all --define=xdc_runtime_Log_disable_all --define=factory_image --define=feature_oAD --define=feature_register_service --define=gap_task_stack_size=-define=max_drivers=0x2000_define=max_subs=max_define=max_define=max_define=max_subs=max_define=max_define=x128_define_define=max_defineer=max_defineer=max_defineer=125-ag=max_define=max_define=max_defineer=max_defineer=ines=max_defineer=max_ag-defineer=u_define=ines=u_ag-define=max_ag-define=max_ag-defineer=ines=0x2000_ag=ines=max_ag_ag=ines=ines=in /ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Projects/ble/SensorTag/CC26xx/CCS/Config/appBLE.cfg
正在制作 package.mak (由于 package.bld)...
正在为软件包 configPkg 生成接口(因为 package/package.xdc.inc 比 package.XDC 旧)...
从 package/cfg/appBLE_pem3.cfg 配置 appBLE.xem3 ...
正在生成自定义 ROM 库 makefile ...
正在开始构建库源...
制作 C:/ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Projects/ble/SensorTag/CC26xx/CCS/Config/src/sysbios/sysbios.aem3 ...
gmake[1]:输入目录`C:/ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Projects/ble/SensorTag/CC26xx/CCS/Config/src/sysbios
预处理库源文件...
gmake[1]:离开目录`C:/ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Projects/ble/SensorTag/CC26xx/CCS/Config/src/sysbios
库构建失败。
tools/subdir_rules.mk:7:目标'build-14737343'的配方失败
gmake[1]:`m没有规则使目标`C:/Users/Laci/workspace_v6_2/SensorTag/Debug/configPkg/package/cfg/ti.sysbios.BIOS_config.c、anged_ti.sysbios.BIOS_config_lib.pp 需要。 停止。
gmaking[1]:***正在等待未完成的作业...
gmake:***[C:/ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Projects/ble/SensorTag/CC26xx/CCS/Config/src/sysbios/sysbios.aem3 ]错误2.
错误:xdc.cfg.SourceDir:"c:/ti/xdctools_3_32_01_22_core/packages/xdc/cfg/SourceDir.xs,第209行:xdc.cfg.SourceDir:生成的源库生成失败:退出状态= 2:

JS:"c:/ti/xdctools_3_32_01_22_core/packages/xdc/cfg/Main.xs、第160行:错误:配置失败!
gmake.exe:***[package/cfg/appBLE_pem3.xdl]错误1
gmake.exe:***删除文件`package/cfg/appBLE_pem3.xdl'
gmake.exe:***[package/cfg/appBLE_pem3.xdl]删除文件`package/cfg/appBLE_pem3.h'
gmake.exe:***[package/cfg/appBLE_pem3.xdl]删除文件`package/cfg/appBLE_pem3.c'
JS:"c:/ti/xdctools_3_32_01_22_core/packages/xdc/tools/Cmdr.xs、第52行:错误:xdc.tools.configuro:由于先前的错误(状态= 2)、配置失败;已删除'linker.cmd'。
gmake:***[build-14737343]错误1.
gmake:目标"全部"不会由于错误而重新生成。


控制台中可见的这些路径都存在,我已经尝试了所有操作来修复这些配置错误,但没有成功。

我的问题是、您是否可以帮助我消除这些错误、从而最终能够编译和构建此 sampel 项目?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    如何将 SensorTag 示例导入 CCS 以及使用哪个 CCS 版本? 顺便说一下、您应该使用 TI ARM 编译器 v5.2.6而不是 TIv15.12.3.LTS