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:在我尝试为 cc2640编译零工程演示时遇到错误

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

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/940033/ccs-cc2640r2f-getting-errors-when-i-try-and-build-the-project-zero-demo-for-cc2640

器件型号:CC2640R2F

工具/软件:Code Composer Studio

调用:ARM 编译器

"/Applications/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/armcl --cmd_file="/Users/dev/workspace_v10/ble5_project_zero_cc2640r2lp_stack_library/TOOLS/defines/ble5_project_zero_cc2640r2lp_stack_library_FlashROM_Library.opt --cmd_file="/Users/dev/ti/simplelink_cc2640r2_sdk_4_20_00_04/source/ti/ble5stack/config/build_components.opt --cmd_file="/Users/dev/workspace_v10/ble5_project_zero_cc2640r2lp_stack_library --cmd_file="/Users/dev/ti/simplelink_cc2640r2_sdk_4_20_00_04/source/ti/ble5stack/config/factory_config.opt --cmd_file="/Users/dev/workspace_v10/ble5_project_zero_cc2640r2lp_stack_library/TOOLS/build_config.opt --mv7M3 --code_state=16 -me -O4 --opt_for_speed=0 --include_path="include_path="/Users/dev/ti/simplelink_cc2640r2_sdk_4_20_00_04/source/ti/ble5stack/inc --include_path="--include_path=/Users/dev/ti/simplelink_cc2640r2_sdk_4_20_00_04/source/ti/ble5stack/common/cc26xx/npi/stack --include_path=-include-path=/Users/dev/ti/simplelink_cc2640r2_sdk_4_20_00_04/source/ti/ble5stack/hal/src/target/_common/cc26xx /Users/dev/ti/simplelink_cc2640r2_sdk_4_20_00_04/source/ti/ble5stack/icall/src/inc /Users/dev/ti/simplelink_cc2640r2_sdk_4_20_00_04/source/ti/ble5stack/services/src/aes/cc26xx /Users/dev/ti/simplelink_cc2640r2_sdk_4_20_00_04/source/ti/ble5stack/services/src/saddr /Users/dev/ti/simplelink_cc2640r2_sdk_4_20_00_04/source/ti/devices/cc26x0r2/inc --include-path=/Users/dev/ti/simplelink_cc2640r2_sdk_4_20_00_04/source/ti/ble5stack/rom --include-path=-tr.com.tr.com.e-path=-include"--include_path=/Users/dev/ti/simplelink_cc2640r2_sdk_4_20_00_04/source/ti/ble5stack/controller/cc26xx/inc --include-path=/Users/dev/ti/simplelink_cc2640r2_sdk_4_20_00_04/source/ti/ble5stack/common/cc26xx /Users/dev/ti/simplelink_cc2640r2_sdk_4_20_00_04/source/ti/ble5stack/hal/src/target/_common /Users/dev/ti/simplelink_cc2640r2_sdk_4_20_00_04/source/ti/ble5stack/hal/src/inc /Users/dev/ti/simplelink_cc2640r2_sdk_4_20_00_04/source/ti/ble5stack/osal/src/inc /Users/dev/ti/simplelink_cc2640r2_sdk_4_20_00_04/source/ti/ble5stack/services/src/nv /Users/dev/ti/simplelink_cc2640r2_sdk_4_20_00_04/source/ti/devices/cc26x0r2/rf_patches --include-path=/Users/dev/ti/simplelink_cc2640r2_sdk_4_20_00_04/source/ti/ble5stack/icall/inc /Users/dev/ti/simplelink_cc2640r2_sdk_4_20_00_04/source/ti/ble5stack/hal/src/target /Users/dev/ti/simplelink_cc2640r2_sdk_4_20_00_04/source/ti/ble5stack/npi/src /Users/dev/ti/simplelink_cc2640r2_sdk_4_20_00_04/source/ti/ble5stack/services/src/nv/cc26xx /Users/dev/ti/simplelink_cc2640r2_sdk_4_20_00_04/source/ti/devices/cc26x0r2 --include-path= /Users/dev/ti/simplelink_cc2640r2_sdk_4_20_00_04/source/ti/ble5stack/osal/src/common/osal.c /Applications/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/include /Applications/ti/ccs1010/xdctools_3_61_02_27_core/packages /Users/dev/ti/simplelink_cc2640r2_sdk_4_20_00_04/kernel/tirtos/packages /Users/dev/ti/simplelink_cc2640r2_sdk_4_20_00_04/source

 

>>编译失败

OSAL/subdir_rules.mk:7:目标'OSAL/osal.obj'的配方失败

"/Users/dev/ti/simplelink_cc2640r2_sdk_4_20_00_04/source/ti/ble5stack/osal/src/common/osal.c、第413行:错误#167:函数调用中的参数太少

在编译"/Users/dev/ti/simplelink_cc2640r2_sdk_4_20_00_04/source/ti/ble5stack/osal/src/common/osal.c 时检测到1错误。

gmake.1]:***[OSAL/osal.obj]错误1.

gmake[1]:不会由于错误而重做目标'main-build'。

gmake:***[全部]错误2.

Makefile:176:目标'all'的配方失败

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

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

    [引用 user="Steven Pope"]/Users/dev/ti/simplelink_cc2640r2_sdk_4_20_00_04/source/ti/ble5stack/osal/src/common/osal.c 第413行:错误#167:函数调用中的参数太少我认为 CCS/LAUNCHXL-CC2640R2:代码构建错误 解释了该问题。