微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 无线和射频 > TI蓝牙设计交流 > ccs编译cc2650官方stack时Error,请教大家

ccs编译cc2650官方stack时Error,请教大家

时间:10-02 整理:3721RD 点击:

大家好:

硬件:CC2650 LaunchPad

软件:Code Composer Studio Version:6.1.3.00034

安装及运行环境:win7 64位 (已关闭杀毒软件),默认安装在C盘

安装ccs后,再安官方的ble_sdk_2_02_00_31_setup.exe

按照文档CC2640_CC2650_SimpleLink-Software_Stack_2_2_0-Developers_Guide,进入ccs后,导入工程:

simple_peripheral_cc2650lp_app及

simple_peripheral_cc2650lp_stack

选项设置里,已将Compiler version调整为TI v15.12.1.LTS

编译simple_peripheral_cc2650lp_app无错误警告,仅有2个Optimization Advice:

current optimization/debug settings: --opt_level=4 --opt_for_speed=0 -g

#27010-D Not all availavle code size is being used.Recommend running Optimization Assistant to find best speed vs size setting

(--opt_for_speed).Double-click to start.

编译simple_peripheral_cc2650lp_stack出错:

Errors(3 items)

  gmake:***[all] Error 2

  gmake[1]:***[simple_peripheral_cc2650lp_stack.out] Error 1

  gmake[1]:Target 'main-build' not remade because of errors.

查找了很多资料找不到解决办法,请教TI工程师,谢谢!

选择v5.2.7 或 v15.12.3.LTS再运行 试试呢?

我使用iar,ble stack安装在默认的C盘路径,iar在D盘或者E盘。

v5时编译后错误更多,v15时错误少很多,但就如帖子里说的,stack的几个错误无法解决

v5.2.7和 v15.12.3.LTS都试过,不行,请问还有其他办法吗?

V5 和V15的完整log能提供下吗?另外,是否能重装下BLE stack?

Viki Shi,你好:

虽然有V5和V15两个可选,默认是选择的V5,但是V5有说明:没安装V5,默认用V15编译

而且一旦选择V15之后,V5选项就消失了。

BLE stack删除之前的,重新安装,再次编译stack,仍然是这些错误:

Errors(3 items)

  gmake:***[all] Error 2

  gmake[1]:***[simple_peripheral_cc2650lp_stack.out] Error 1

  gmake[1]:Target 'main-build' not remade because of errors.

log信息:

INTERNAL ERROR: C:\ti\ccsv6\tools\compiler\ti-cgt-arm_15.12.1.LTS\bin\armlnk.exe experienced an unhandled exception

This is caused by a defect in the compiler itself. TI Customer
Support may be able to suggest a workaround to avoid this.

Upgrading to the newest version of the compiler may fix this problem.

Contact TI in the E2E support forums at http://e2e.ti.com under
"Development Tools", "TI C/C++ Compiler". See the link titled
"Submitting an issue". Include this ENTIRE error message and a
copy of the .pp file created when option --preproc_with_comment
(-ppc) is used.

gmake[1]: *** [simple_peripheral_cc2650lp_stack.out] Error 1
gmake[1]: Target 'main-build' not remade because of errors.
gmake: *** [all] Error 2

>> Compilation failure
makefile:192: recipe for target 'simple_peripheral_cc2650lp_stack.out' failed
makefile:184: recipe for target 'all' failed

**** Build Finished ****

帮忙分析下,谢谢.

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top