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

BLE-STACK 协议编译出错

1:默认路径安装BLE-STACK:

2:  编译环境  IAR ARM 8.32.1

Building configuration: CC2640Stack – FlashROMUpdating build tree…Performing Pre-Build ActionCommonROM_Init.c[Su010]: Comment unclosed at end of command file C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\config\buildComponents.opt 1Error while running C/C++ CompilerbleDispatch.c[Su010]: Comment unclosed at end of command file C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\config\buildComponents.opt 1Error while running C/C++ CompilerbleUserConfig.c[Su010]: Comment unclosed at end of command file C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\config\buildComponents.opt 1Error while running C/C++ Compilergattservapp_util.c[Su010]: Comment unclosed at end of command file C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\config\buildComponents.opt 1Error while running C/C++ Compilergapbondmgr.c[Su010]: Comment unclosed at end of command file C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\config\buildComponents.opt 1Error while running C/C++ Compilergap.c[Su010]: Comment unclosed at end of command file C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\config\buildComponents.opt 1Error while running C/C++ Compilerhal_assert.c[Su010]: Comment unclosed at end of command file C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\config\buildComponents.opt 1Error while running C/C++ Compilerhal_flash_wrapper.c[Su010]: Comment unclosed at end of command file C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\config\buildComponents.opt 1Error while running C/C++ Compilerhal_trng_wrapper.c[Su010]: Comment unclosed at end of command file C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\config\buildComponents.opt 1Error while running C/C++ Compilermb_PATCH.c[Su010]: Comment unclosed at end of command file C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\config\buildComponents.opt 1Error while running C/C++ Compilernpi.c[Su010]: Comment unclosed at end of command file C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\config\buildComponents.opt 1Error while running C/C++ CompilerICall_startup.c[Su010]: Comment unclosed at end of command file C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\config\buildComponents.opt 1Error while running C/C++ CompilerOnBoard.c[Su010]: Comment unclosed at end of command file C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\config\buildComponents.opt 1Error while running C/C++ Compilerosal_bufmgr.c[Su010]: Comment unclosed at end of command file C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\config\buildComponents.opt 1Error while running C/C++ CompilerOSAL.c[Su010]: Comment unclosed at end of command file C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\config\buildComponents.opt 1Error while running C/C++ CompilerOSAL_ICallBle.c[Su010]: Comment unclosed at end of command file C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\config\buildComponents.opt 1Error while running C/C++ Compilerosal_cbtimer.c[Su010]: Comment unclosed at end of command file C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\config\buildComponents.opt 1Error while running C/C++ CompilerOSAL_Clock.c[Su010]: Comment unclosed at end of command file C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\config\buildComponents.opt 1Error while running C/C++ Compilerosal_snv_wrapper.c[Su010]: Comment unclosed at end of command file C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\config\buildComponents.opt 1Error while running C/C++ CompilerOSAL_PwrMgr.c[Su010]: Comment unclosed at end of command file C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\config\buildComponents.opt 1Error while running C/C++ CompilerOSAL_MemoryICall.c[Su010]: Comment unclosed at end of command file C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\config\buildComponents.opt 1Error while running C/C++ CompilerOSAL_Timers.c[Su010]: Comment unclosed at end of command file C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\config\buildComponents.opt 1Error while running C/C++ CompilerROM_Init.c[Su010]: Comment unclosed at end of command file C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\config\buildComponents.opt 1Error while running C/C++ Compiler

Kevin Qiu1:

你用的是CC2640还是CC2640r2f,参考这里的步骤试一下:dev.ti.com/…/node

yekun kun:

回复 Kevin Qiu1:

 simplelink_cc2640r2_sdk_4_10_00_10可以把例程编译成功,但是BLE-STACK-2-2-0:

BLE-STACK V2.2.0 (Support for CC2640/CC2650)   编译出错

Kevin Qiu1:

回复 yekun kun:

下载这里的BLE-STACK-2-2-4试一下:www.ti.com.cn/…/BLE-STACK
如果是CC2640r2f需要使用 simplelink_cc2640r2_sdk_4_10_00_10

yekun kun:

回复 Kevin Qiu1:

我使用过的CC2640R2F,我想使用BLE-STACK-2-1需要什么东西?对应的simplelink_cc2640r2_sdk需要吗?

教程上写:
Importing TI Drivers IAR Projects
IAR projects for TI Drivers must be imported rather than opened. All TI Drivers project are created from the original sources in <SDK_INSTALL_DIR>/source/ti/drivers. Because of this difference, you must not open TI Drivers .eww IAR projects directly from within the SDK.

表示IAR 只能导入不能从文件夹打开?

yekun kun:

回复 yekun kun:

我现在使用 simplelink_cc2640r2_sdk_4_10_00_10可以正常使用,但是想使用BLE-STACK-2-1版本CC2640R2F的例程,直接将BLE-STACK-2-1版本下载,编译就可以吗?

Kevin Qiu1:

回复 yekun kun:

是的,只能导入,不能直接打开,BLE-STACK-2-2-4中的例程也是需要导入的,不能直接编译

yekun kun:

回复 Kevin Qiu1:

请教一下我导入出现问题:是需要安装其他版本的IAR 吗

我是按照这个链接以及对比你们的教程出现这个错误:blog.csdn.net/…/77482716

Kevin Qiu1:

回复 yekun kun:

在SDK安装目录下release_note文件中有关于版本的说明

赞(0)
未经允许不得转载:TI中文支持网 » BLE-STACK 协议编译出错
分享到: 更多 (0)