TI中文支持网
TI专业的中文技术问题咨询交流网站

ccs10.0 编译2640R2F SDK 出错

**** Build of configuration FlashROM_Library for project ble5_simple_peripheral_cc2640r2lp_stack_library ****

"C:\\ti\\ccs1000\\ccs\\utils\\bin\\gmake" -k -j 4 all -OC:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/ble5stack/../../../tools/ble5stack/lib_search/lib_search E:/CC2640R2F_PROJ/ble5_simple_peripheral_cc2640r2lp_stack_library/TOOLS/build_config.opt C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/ble5stack/blelib E:/CC2640R2F_PROJ/ble5_simple_peripheral_cc2640r2lp_stack_library/FlashROM_Library/lib_linker.cmd cc2640 C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/ble5stack/../../../tools/ble5stack/lib_search/lib_search.xml C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/ble5stack/symbols
<<< Using library: C:\ti\simplelink_cc2640r2_sdk_1_40_00_45\source\ti\ble5stack\blelib\ctrl\cc2640_hci_pxxx.a >>>
<<< Using library: C:\ti\simplelink_cc2640r2_sdk_1_40_00_45\source\ti\ble5stack\blelib\ctrl\cc2640_ll_pxxx.a >>>
<<< Using library: C:\ti\simplelink_cc2640r2_sdk_1_40_00_45\source\ti\ble5stack\blelib\hci_tl\cc26xx_hci_tl_none.a >>>
<<< Using library: C:\ti\simplelink_cc2640r2_sdk_1_40_00_45\source\ti\ble5stack\blelib\host\cc26xx_att_pxxx.a >>>
<<< Using library: C:\ti\simplelink_cc2640r2_sdk_1_40_00_45\source\ti\ble5stack\blelib\host\cc26xx_gap_pxxx.a >>>
<<< Using library: C:\ti\simplelink_cc2640r2_sdk_1_40_00_45\source\ti\ble5stack\blelib\host\cc26xx_gatt_pxxx.a >>>
<<< Using library: C:\ti\simplelink_cc2640r2_sdk_1_40_00_45\source\ti\ble5stack\blelib\host\cc26xx_l2cap_pxxx.a >>>
<<< Using library: C:\ti\simplelink_cc2640r2_sdk_1_40_00_45\source\ti\ble5stack\blelib\host\cc26xx_profiles_pxxx.a >>>
<<< Using library: C:\ti\simplelink_cc2640r2_sdk_1_40_00_45\source\ti\ble5stack\blelib\host\cc26xx_smp_pxxx.a >>>
<<< Using library: C:\ti\simplelink_cc2640r2_sdk_1_40_00_45\source\ti\ble5stack\blelib\host\cc26xx_sm_pxxx.a >>>
<<< Not modifying lib_linker.cmd. Stack configurations have not changed. >>>
<<< Using pxxx.symbols >>>
Building file: "C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/ble5stack/osal/src/common/osal.c"
Invoking: ARM Compiler
"C:/ti/ccs1000/ccs/tools/compiler/ti-cgt-arm_20.2.0.LTS/bin/armcl" –cmd_file="C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/ble5stack/config/build_components.opt" –cmd_file="C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/ble5stack/config/factory_config.opt" –cmd_file="E:/CC2640R2F_PROJ/ble5_simple_peripheral_cc2640r2lp_stack_library/TOOLS/build_config.opt" -mv7M3 –code_state=16 -me -O4 –opt_for_speed=0 –include_path="E:/CC2640R2F_PROJ/ble5_simple_peripheral_cc2640r2lp_stack_library" –include_path="C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/ble5stack/controller/cc26xx_r2/inc" –include_path="C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/ble5stack/inc" –include_path="C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/ble5stack/rom" –include_path="C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/ble5stack/common/cc26xx" –include_path="C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/ble5stack/common/cc26xx/npi/stack" –include_path="C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/ble5stack/icall/inc" –include_path="C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/ble5stack/profiles/roles" –include_path="C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/ble5stack/hal/src/target/_common" –include_path="C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/ble5stack/hal/src/target/_common/cc26xx" –include_path="C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/ble5stack/hal/src/target" –include_path="C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/ble5stack/hal/src/inc" –include_path="C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/ble5stack/icall/src/inc" –include_path="C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/ble5stack/npi/src" –include_path="C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/ble5stack/osal/src/inc" –include_path="C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/ble5stack/services/src/aes/cc26xx" –include_path="C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/ble5stack/services/src/nv/cc26xx" –include_path="C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/ble5stack/services/src/nv" –include_path="C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/ble5stack/services/src/saddr" –include_path="C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2" –include_path="C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/rf_patches" –include_path="C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/inc" –include_path="C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source" –include_path="C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/kernel/tirtos/packages" –include_path="C:/ti/ccs1000/xdctools_3_61_00_16_core/packages" –include_path="C:/ti/ccs1000/ccs/tools/compiler/ti-cgt-arm_20.2.0.LTS/include" –define=CC26XX –define=CC26XX_R2 –define=DeviceFamily_CC26X0R2 –define=EXT_HAL_ASSERT –define=FLASH_ROM_BUILD –define=ICALL_EVENTS –define=ICALL_JT –define=ICALL_LITE –define=OSAL_CBTIMER_NUM_TASKS=1 –define=OSAL_SNV=1 –define=POWER_SAVING –define=RF_SINGLEMODE –define=STACK_LIBRARY –define=USE_ICALL -g –c99 –gcc –diag_warning=225 –diag_wrap=off –display_error_number –gen_func_subsections=on –abi=eabi –preproc_with_compile –preproc_dependency="OSAL/osal.d_raw" –obj_directory="OSAL" "C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/ble5stack/osal/src/common/osal.c"
>> Compilation failure
OSAL/subdir_rules.mk:9: recipe for target 'OSAL/osal.obj' failed
"C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/ble5stack/osal/src/common/osal.c", line 413: error #167: too few arguments in function call
1 error detected in the compilation of "C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/ble5stack/osal/src/common/osal.c".
gmake[1]: *** [OSAL/osal.obj] Error 1
gmake[1]: Target 'main-build' not remade because of errors.
gmake: *** [all] Error 2
makefile:175: recipe for target 'all' failed

**** Build Finished ****

Kevin Qiu1:

编译器版本不对,编译器换成18,不要用20

Viki Shi:

怀疑是版本不匹配,你的SDK版本太低了,请根据release note的文件选择合适的版本

user1388075:

回复 Kevin Qiu1:

怎么换?是改设置还是重新装软件。

user1388075:

回复 Viki Shi:

不可能啊, sdk今年刚下的

Kevin Qiu1:

回复 user1388075:

SDK已经更新到4.20了,

编译器:Help->install code Generation  studio Complier tools

user1388075:

回复 Kevin Qiu1:

安装了后,在complier tools里面找不到了。编译还是报同样的错误。

Kevin Qiu1:

回复 user1388075:

更新后应该在C:\ti\ccs1010\ccs\tools\compiler文件下,实在找不到的话,直接下载CCS9版本:www.ti.com/…/9.2.0.00013

user1388075:

回复 Kevin Qiu1:

CCS 里面像 POWER_SAVING 这种宏定义是在软件的哪个配置界面里边?

Kevin Qiu1:

回复 user1388075:

ble5stack目录下的例程:

blestck目录下的例程:

user1388075:

回复 Kevin Qiu1:

怎样设置成黑色背景。

赞(0)
未经允许不得转载:TI中文支持网 » ccs10.0 编译2640R2F SDK 出错
分享到: 更多 (0)