TI中文支持网
TI专业的中文技术问题搜集分享网站

CC2652R: 大家好,ccs升级后项目不能编译了,求教~

Part Number:CC2652R

错误信息如下:
**** Build of configuration Release for project multi_role_instrument_CC26X2R1_tirtos_ccs ****

"C:\\ti\\ccs1040\\ccs\\utils\\bin\\gmake" -k -j 8 all -OBuilding file: "../multi_role_app.cfg"
Invoking: XDCtools
"C:/ti/ccs1030/xdctools_3_62_00_08_core/xs" –xdcpath= xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M4F -p ti.platforms.simplelink:CC2642R1F -r release -c "C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-arm_20.2.5.LTS" –compileOptions "-mv7M4 –code_state=16 –float_support=FPv4SPD16 -me -O4 –opt_for_speed=0 –include_path=\"C:/Users/46041/workspace_v10/multi_role_instrument_CC26X2R1_tirtos_ccs\" –include_path=\"C:/Users/46041/workspace_v10/multi_role_instrument_CC26X2R1_tirtos_ccs/Release\" –include_path=\"C:/Users/46041/workspace_v10/multi_role_instrument_CC26X2R1_tirtos_ccs/Application\" –include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_5_10_00_48/source\" –include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_5_10_00_48/kernel/tirtos/packages\" –include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_5_10_00_48/source/ti/ble5stack/controller/cc26xx/inc\" –include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_5_10_00_48/source/ti/ble5stack/inc\" –include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_5_10_00_48/source/ti/ble5stack/rom\" –include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_5_10_00_48/source/ti/ble5stack/common/cc26xx\" –include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_5_10_00_48/source/ti/ble5stack/icall/inc\" –include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_5_10_00_48/source/ti/ble5stack/hal/src/target/_common\" –include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_5_10_00_48/source/ti/ble5stack/hal/src/target/_common/cc26xx\" –include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_5_10_00_48/source/ti/ble5stack/hal/src/inc\" –include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_5_10_00_48/source/ti/ble5stack/heapmgr\" –include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_5_10_00_48/source/ti/ble5stack/profiles/dev_info\" –include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_5_10_00_48/source/ti/ble5stack/profiles/simple_profile\" –include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_5_10_00_48/source/ti/ble5stack/icall/src/inc\" –include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_5_10_00_48/source/ti/ble5stack/osal/src/inc\" –include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_5_10_00_48/source/ti/ble5stack/services/src/saddr\" –include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_5_10_00_48/source/ti/ble5stack/services/src/sdata\" –include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_5_10_00_48/source/ti/common/nv\" –include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_5_10_00_48/source/ti/common/cc26xx\" –include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_5_10_00_48/source/ti/devices/cc13x2_cc26x2\" –include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_5_10_00_48/source/ti/posix/ccs\" –include_path=\"C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-arm_20.2.5.LTS/include\" –define=FLASH_ROM_BUILD –define=DeviceFamily_CC26X2 –define=NVOCMP_NWSAMEITEM=1 -g –c99 –gcc –diag_warning=225 –diag_warning=255 –diag_wrap=off –display_error_number –gen_func_subsections=on –abi=eabi " "../multi_role_app.cfg"
subdir_rules.mk:41: recipe for target 'build-273144977-inproc' failed
js: "C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/tools/Cmdr.xs", line 52: Error: xdc.tools.configuro: Error: Can't find the platform package 'ti.platforms.simplelink'. TI platforms are no longer shipped as part of XDCtools (C:\ti\ccs1030\xdctools_3_62_00_08_core). Please ensure you are either using a pre-3.30 version of XDCtools or you have added a product that includes your platform support along the path ';C:\ti\ccs1030\xdctools_3_62_00_08_core/packages'. Check that this path names a directory containing the necessary platform support and that the platform name is properly spelled.
gmake[1]: *** [build-273144977-inproc] Error 1
gmake: *** No rule to make target 'build-273144977', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-273144977', needed by 'configPkg/linker.cmd'.
gmake: *** No rule to make target 'build-273144977', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-273144977', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-273144977', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-273144977', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-273144977', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-273144977', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-273144977', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-273144977', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-273144977', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-273144977', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-273144977', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-273144977', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-273144977', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-273144977', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-273144977', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-273144977', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-273144977', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-273144977', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-273144977', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-273144977', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-273144977', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-273144977', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-273144977', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-273144977', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-273144977', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-273144977', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-273144977', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-273144977', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-273144977', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-273144977', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-273144977', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-273144977', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-273144977', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-273144977', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-273144977', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-273144977', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-273144977', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-273144977', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-273144977', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-273144977', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-273144977', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-273144977', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-273144977', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-273144977', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-273144977', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-273144977', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-273144977', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-273144977', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-273144977', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-273144977', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-273144977', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-273144977', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-273144977', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-273144977', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-273144977', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-273144977', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-273144977', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-273144977', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-273144977', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-273144977', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-273144977', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-273144977', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-273144977', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-273144977', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-273144977', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-273144977', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-273144977', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-273144977', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-273144977', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-273144977', needed by 'configPkg/compiler.opt'.
gmake: Target 'all' not remade because of errors.

**** Build Finished ****

希望有人能指出问题~

Kevin Qiu1:

user6467140 说:C:/ti/ccs1030/xdctools_3_62_00_08_core

将这里的路径改为CCS10.4的路径,类似:

另外注意将原来的工程导入到CCS10.4 workspace后,点击rebuild重新编译

,

user6467140:

谢谢,已解决

赞(0)
未经允许不得转载:TI中文支持网 » CC2652R: 大家好,ccs升级后项目不能编译了,求教~
分享到: 更多 (0)