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/SIMPLELINK-CC2640R2-SDK:v4.10:使用 CCSv10.1时的简单外设栈库构建错误

Guru**** 3004740 points

Other Parts Discussed in Thread: CC2640R2F

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

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/920024/ccs-simplelink-cc2640r2-sdk-v4-10-simple-peripheral-stack-library-build-errors-using-ccsv10-1

器件型号:SIMPLELINK-CC2640R2-SDK
主题中讨论的其他器件:CC2640R2F

工具/软件:Code Composer Studio

您好!

我安装了最新的 CCSv10.1并从最新的 CC2640R2F SDKv4.10导入了简单外设。 我在下面得到这些堆栈库构建错误。 如何解决这些错误?

说明资源路径位置类型
gmake[1]:不会由于错误而重做目标'main-build'。 simple_peripheral_cc2640r2lp_stack_library C/C++问题
gmake[1]:***[OSAL/osal.obj]错误1 simple_peripheral_cc2640r2lp_stack_library C/C++问题
gmake:***[All]错误2 simple_peripheral_cc2640r2lp_stack_library C/C++问题
#167函数调用 osal.c /simple_peripheral_cc2640r2lp_stack_library/OSAL 第413行 C/C++问题中的参数太少

在控制台上出现此错误。

编译文件:"c:/ti/simplelink_cc2640r2_sdk_4_10_00_10/examples/rtos/CC2640R2_LAUNCHXL/blestack/simple_peripheral/src/stack/osal_icall_ble.c
调用:ARM 编译器
"c:/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/armcl "-cmd_file="C:/ti/simplelink_cc2640r2_sdk_4_10_00_10/source/ti/blestack/config/build_components.opt "--cmd_file="C:/ti/simplelink_cc2640r2_sdk_4_10_00_10/source/ti/blestack/config/factory_config.opt "-cmd_file="C:/ti/ccsv101workspace/CC2640R2Fv410_Launchpad/simple_peripheral_cc2640r2lp_stack_library/TOOLS/build_config.opt /ti/simplelink_cc2640r2_sdk_4_10_00_10/source/ti/blestack/inc /ti/simplelink_cc2640r2_sdk_4_10_00_10/source/ti/blestack/common/cc26xx/npi/stack /ti/simplelink_cc2640r2_sdk_4_10_00_10/source/ti/blestack/profiles/roles /ti/simplelink_cc2640r2_sdk_4_10_00_10/source/ti/blestack/hal/src/target /ti/simplelink_cc2640r2_sdk_4_10_00_10/source/ti/blestack/npi/src "-mv7M3 "-code_state=16 -me -O4 -opt_for_speed=0 -include_path="ce_path=/ti/ccsv101workspace/CC2640R2Fv410_Launchpad/simple_peripheral_cc2640r2lp_stack_library /ti/simplelink_cc2640r2_sdk_4_10_00_10/source/ti/blestack/rom /ti/simplelink_cc2640r2_sdk_4_10_00_10/examples/rtos/CC2640R2_LAUNCHXL/blestack/simple_peripheral/src/stack /ti/simplelink_cc2640r2_sdk_4_10_00_10/source/ti/blestack/hal/src/target/_common /ti/simplelink_cc2640r2_sdk_4_10_00_10/source/ti/blestack/hal/src/inc /ti/simplelink_cc2640r2_sdk_4_10_00_10/source/ti/blestack/osal/src/inc -include_ctrine-.com.cn"/ti/simplelink_cc2640r2_sdk_4_10_00_10/source/ti/blestack/controller/cc26xx_r2/inc -include_path=/ti/simplelink_cc2640r2_sdk_4_10_00_10/source/ti/blestack/common/cc26xx -cn"/ti/simplelink_cc2640r2_sdk_4_10_00_10/source/ti/blestack/icall/inc:c.com.cn".com.cn_path=/ti/simplelink_cc2640r2_sdk_4_10_00_10/source/ti/blestack/hal/src/target/_common/cc26xx /ti/simplelink_cc2640r2_sdk_4_10_00_10/source/ti/blestack/icall/src/inc /ti/simplelink_cc2640r2_sdk_4_10_00_10/source/ti/blestack/services/src/aes/cc26xx include_path="C:/ti/simplelink_cc2640r2_sdk_4_10_00_10/source/ti/blestack/services/src/nv/cc26xx --include_path="C:/ti/simplelink_cc2640r2_sdk_4_10_00_10/source/ti/blestack/services/src/nv --include_path="C:/ti/simplelink_cc2640r2_sdk_4_10_00_10/source/ti/blestack/services/src/saddr --include_path="C:/ti/simplelink_cc2640r2_sdk_4_10_00_10/source/ti/devices/cc26x0r2 /ti/simplelink_cc2640r2_sdk_4_10_00_10/source /ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/include --include_path="C:/ti/simplelink_cc2640r2_sdk_4_10_00_10/source/ti/devices/cc26x0r2/rf_patches --include_path="C:/ti/simplelink_cc2640r2_sdk_4_10_00_10/kernel/tirtos/packages --include_path="C:/ti/simplelink_cc2640r2_sdk_4_10_00_10/source/ti/devices/cc26x0r2/inc --include_eval=ctrack_define -define = CCLA_define -ctrack_define -define = CCLA_define -ctrack_define -define = CCLA_define -ctrack_define -define = CCLA_ctrack_define -define -ctrack_define -cul_define = CCRAM=C:/ti/xdctools_3_51_03_28_core/packages c99 --gcc -diag_warning=225 -diag_wrap=off -display_error_number -gen_func_subsections=on -abi=eabi -preproc_with_compile -preproc_Dependency="Startup/osal_iCall_ble.d_ray"-obj_directory="Startup""C:/ti/simplelink_cc2640r2_sdk_4_10_00_10/examples/rtos/CC2640R2_LAUNCHXL/blestack/simple_peripheral/src/stack/osal_icall_ble.c
gmake[1]:不会由于错误而重做目标'main-build'。
gmake:***[全部]错误2.
完工:"c:/ti/simplelink_cc2640r2_sdk_4_10_00_10/examples/rtos/CC2640R2_LAUNCHXL/blestack/simple_peripheral/src/stack/osal_icall_ble.c

-kel

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

    [引用 user="Markel Robregado]I 安装了最新的 CCSv10.1并从最新 的 CC2640R2F SDKv4.10导入了简单外设。 输出显示正在使用 TI 编译器 v20.2.1.LTS。

    根据 CCS/LAUNCHXL-CC2640R2:代码构建错误 :

    [引用]问题是 SDK 的4.10版需要较旧版本的编译器。  最新版本的 C 运行时库中有一个变化、导致您看到的错误。

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

    谢谢。 我更新了 CCS 工程以使用编译器18.12.3、并且编译过程没有错误。

    -kel