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

CC2640R2F: IAR环境,ble5_central编译正确,ble5_peripheral编译错误,如何解决?

Part Number:CC2640R2FOther Parts Discussed in Thread:CC2650,

第一次尝试ble5程序。

sdk版本:5.30,新安装,默认路径

IAR版本:9.30.1,新安装,路径无空格

操作系统:win10 64bit 企业版

使用样例程序,全默认。

ble5_central工程正常编译通过(尚未测试功能)

ble5_peripheral 协议栈编译通过,app编译错误,提示pre-build 错误

信息如下(是的,最后还有一行@):

FAILED: Pre-build command

cmd.exe /C "cd C:\ti\simplelink_cc2640r2_sdk_5_30_00_03\examples\rtos\CC2640R2_LAUNCHXL\ble5stack\simple_peripheral\tirtos\iar\app && "C:\ti\simplelink_cc2640r2_sdk_5_30_00_03\examples\rtos\CC2640R2_LAUNCHXL\ble5stack\simple_peripheral\tirtos\iar\app\..\..\..\..\..\..\..\..\..\xdctools_3_51_03_28_core\xs" –xdcpath="C:\ti\simplelink_cc2640r2_sdk_5_30_00_03\examples\rtos\CC2640R2_LAUNCHXL\ble5stack\simple_peripheral\tirtos\iar\app\..\..\..\..\..\..\..\..\kernel\tirtos\packages;C:\ti\simplelink_cc2640r2_sdk_5_30_00_03\examples\rtos\CC2640R2_LAUNCHXL\ble5stack\simple_peripheral\tirtos\iar\app\..\..\..\..\..\..\..\..\source;C:\ti\simplelink_cc2640r2_sdk_5_30_00_03\examples\rtos\CC2640R2_LAUNCHXL\ble5stack\simple_peripheral\tirtos\iar\app\..\..\..\..\..\..\..\..\source\ti\ble5stack" iar.tools.configuro -c "C:\IAR\EmbeddedWorkbench9.1\arm" –cc "C:\IAR\EmbeddedWorkbench9.1\arm\bin\iccarm.exe" –device "CC2640R2F" –compileOptions "-D DeviceFamily_CC26X0R2 –diag_suppress Pa050 -o C:\ti\simplelink_cc2640r2_sdk_5_30_00_03\examples\rtos\CC2640R2_LAUNCHXL\ble5stack\simple_peripheral\tirtos\iar\app\FlashROM_StackLibrary\Obj\ –debug –endian=little –cpu=Cortex-M3 -f C:\ti\simplelink_cc2640r2_sdk_5_30_00_03\examples\rtos\CC2640R2_LAUNCHXL\ble5stack\simple_peripheral\tirtos\iar\app\defines\cc2640r2lp_app_FlashROM_StackLibrary.opt -f C:\ti\simplelink_cc2640r2_sdk_5_30_00_03\examples\rtos\CC2640R2_LAUNCHXL\ble5stack\simple_peripheral\tirtos\iar\app\..\..\..\..\..\..\..\..\source\ti\ble5stack\config\build_components.opt -f C:\ti\simplelink_cc2640r2_sdk_5_30_00_03\examples\rtos\CC2640R2_LAUNCHXL\ble5stack\simple_peripheral\tirtos\iar\app\..\..\..\..\..\..\..\..\source\ti\ble5stack\config\factory_config.opt -f C:\ti\simplelink_cc2640r2_sdk_5_30_00_03\examples\rtos\CC2640R2_LAUNCHXL\ble5stack\simple_peripheral\tirtos\iar\app\..\..\..\tirtos\build_config.opt -f C:\ti\simplelink_cc2640r2_sdk_5_30_00_03\examples\rtos\CC2640R2_LAUNCHXL\ble5stack\simple_peripheral\tirtos\iar\app\..\config\configPkg\compiler.opt.defs -e –fpu=None –dlib_config C:\IAR\EmbeddedWorkbench9.1\arm\inc\c\DLib_Config_Normal.h -I C:\ti\simplelink_cc2640r2_sdk_5_30_00_03\examples\rtos\CC2640R2_LAUNCHXL\ble5stack\simple_peripheral\tirtos\iar\app\..\..\..\..\..\..\..\..\source\ti\ble5stack\controller\cc26xx\inc\ -I C:\ti\simplelink_cc2640r2_sdk_5_30_00_03\examples\rtos\CC2640R2_LAUNCHXL\ble5stack\simple_peripheral\tirtos\iar\app\..\..\..\..\..\..\..\..\source\ti\ble5stack\inc\ -I C:\ti\simplelink_cc2640r2_sdk_5_30_00_03\examples\rtos\CC2640R2_LAUNCHXL\ble5stack\simple_peripheral\tirtos\iar\app\..\..\..\..\..\..\..\..\source\ti\ble5stack\common\cc26xx\ -I C:\ti\simplelink_cc2640r2_sdk_5_30_00_03\examples\rtos\CC2640R2_LAUNCHXL\ble5stack\simple_peripheral\tirtos\iar\app\..\..\..\src\app\ -I C:\ti\simplelink_cc2640r2_sdk_5_30_00_03\examples\rtos\CC2640R2_LAUNCHXL\ble5stack\simple_peripheral\tirtos\iar\app\..\..\..\..\..\..\..\..\source\ti\ble5stack\icall\inc\ -I C:\ti\simplelink_cc2640r2_sdk_5_30_00_03\examples\rtos\CC2640R2_LAUNCHXL\ble5stack\simple_peripheral\tirtos\iar\app\..\..\..\..\..\..\..\..\source\ti\ble5stack\inc\ -I C:\ti\simplelink_cc2640r2_sdk_5_30_00_03\examples\rtos\CC2640R2_LAUNCHXL\ble5stack\simple_peripheral\tirtos\iar\app\..\..\..\..\..\..\..\..\source\ti\ble5stack\profiles\dev_info\ -I C:\ti\simplelink_cc2640r2_sdk_5_30_00_03\examples\rtos\CC2640R2_LAUNCHXL\ble5stack\simple_peripheral\tirtos\iar\app\..\..\..\..\..\..\..\..\source\ti\ble5stack\profiles\simple_profile\ -I C:\ti\simplelink_cc2640r2_sdk_5_30_00_03\examples\rtos\CC2640R2_LAUNCHXL\ble5stack\simple_peripheral\tirtos\iar\app\..\..\..\..\..\..\..\..\source\ti\ble5stack\profiles\simple_profile\cc26xx\ -I C:\ti\simplelink_cc2640r2_sdk_5_30_00_03\examples\rtos\CC2640R2_LAUNCHXL\ble5stack\simple_peripheral\tirtos\iar\app\..\..\..\..\..\..\..\..\source\ti\ble5stack\target\ -I C:\ti\simplelink_cc2640r2_sdk_5_30_00_03\examples\rtos\CC2640R2_LAUNCHXL\ble5stack\simple_peripheral\tirtos\iar\app\..\..\..\..\..\..\..\..\source\ti\ble5stack\hal\src\inc\ -I C:\ti\simplelink_cc2640r2_sdk_5_30_00_03\examples\rtos\CC2640R2_LAUNCHXL\ble5stack\simple_peripheral\tirtos\iar\app\..\..\..\..\..\..\..\..\source\ti\ble5stack\hal\src\target\_common\ -I C:\ti\simplelink_cc2640r2_sdk_5_30_00_03\examples\rtos\CC2640R2_LAUNCHXL\ble5stack\simple_peripheral\tirtos\iar\app\..\..\..\..\..\..\..\..\source\ti\ble5stack\hal\src\target\_common\cc26xx\ -I C:\ti\simplelink_cc2640r2_sdk_5_30_00_03\examples\rtos\CC2640R2_LAUNCHXL\ble5stack\simple_peripheral\tirtos\iar\app\..\..\..\..\..\..\..\..\source\ti\ble5stack\hal\src\target\cc2650\rom\ -I C:\ti\simplelink_cc2640r2_sdk_5_30_00_03\examples\rtos\CC2640R2_LAUNCHXL\ble5stack\simple_peripheral\tirtos\iar\app\..\..\..\..\..\..\..\..\source\ti\ble5stack\heapmgr\ -I C:\ti\simplelink_cc2640r2_sdk_5_30_00_03\examples\rtos\CC2640R2_LAUNCHXL\ble5stack\simple_peripheral\tirtos\iar\app\..\..\..\..\..\..\..\..\source\ti\ble5stack\icall\src\inc\ -I C:\ti\simplelink_cc2640r2_sdk_5_30_00_03\examples\rtos\CC2640R2_LAUNCHXL\ble5stack\simple_peripheral\tirtos\iar\app\..\..\..\..\..\..\..\..\source\ti\ble5stack\osal\src\inc\ -I C:\ti\simplelink_cc2640r2_sdk_5_30_00_03\examples\rtos\CC2640R2_LAUNCHXL\ble5stack\simple_peripheral\tirtos\iar\app\..\..\..\..\..\..\..\..\source\ti\ble5stack\services\src\saddr\ -I C:\ti\simplelink_cc2640r2_sdk_5_30_00_03\examples\rtos\CC2640R2_LAUNCHXL\ble5stack\simple_peripheral\tirtos\iar\app\..\..\..\..\..\..\..\..\source\ti\ble5stack\services\src\sdata\ -I C:\ti\simplelink_cc2640r2_sdk_5_30_00_03\examples\rtos\CC2640R2_LAUNCHXL\ble5stack\simple_peripheral\tirtos\iar\app\..\..\..\..\..\..\..\..\source\ti\devices\cc26x0r2\ -I C:\ti\simplelink_cc2640r2_sdk_5_30_00_03\examples\rtos\CC2640R2_LAUNCHXL\ble5stack\simple_peripheral\tirtos\iar\app\..\..\..\..\..\..\..\..\source\ -Ohz" –linkOptions "–no_out_extension -o C:\ti\simplelink_cc2640r2_sdk_5_30_00_03\examples\rtos\CC2640R2_LAUNCHXL\ble5stack\simple_peripheral\tirtos\iar\app\FlashROM_StackLibrary\Exe\ble5_simple_peripheral_cc2640r2lp_app_FlashROM_StackLibrary.out –config_def CC2650=2 –config_def FLASH_ROM_BUILD=2 –map C:\ti\simplelink_cc2640r2_sdk_5_30_00_03\examples\rtos\CC2640R2_LAUNCHXL\ble5stack\simple_peripheral\tirtos\iar\app\FlashROM_StackLibrary\List\ble5_simple_peripheral_cc2640r2lp_app_FlashROM_StackLibrary.map –config C:\ti\simplelink_cc2640r2_sdk_5_30_00_03\examples\rtos\CC2640R2_LAUNCHXL\ble5stack\simple_peripheral\tirtos\iar\app\..\..\..\..\..\..\..\..\source\ti\ble5stack\common\cc26xx\iar\cc26xx_app_and_stack.icf –keep __vector_table -f C:\ti\simplelink_cc2640r2_sdk_5_30_00_03\examples\rtos\CC2640R2_LAUNCHXL\ble5stack\simple_peripheral\tirtos\iar\app\..\config\configPkg\linker.cmd -f C:\ti\simplelink_cc2640r2_sdk_5_30_00_03\examples\rtos\CC2640R2_LAUNCHXL\ble5stack\simple_peripheral\tirtos\iar\app\..\config\lib_linker.cmd C:\ti\simplelink_cc2640r2_sdk_5_30_00_03\examples\rtos\CC2640R2_LAUNCHXL\ble5stack\simple_peripheral\tirtos\iar\app\..\config\ble_r2.symbols C:\ti\simplelink_cc2640r2_sdk_5_30_00_03\examples\rtos\CC2640R2_LAUNCHXL\ble5stack\simple_peripheral\tirtos\iar\app\..\..\..\..\..\..\..\..\source\ti\devices\cc26x0r2\driverlib\bin\iar\driverlib.lib C:\ti\simplelink_cc2640r2_sdk_5_30_00_03\examples\rtos\CC2640R2_LAUNCHXL\ble5stack\simple_peripheral\tirtos\iar\app\..\..\..\..\..\..\..\..\kernel\tirtos\packages\ti\dpl\lib\dpl_cc26x0r2.arm3 C:\ti\simplelink_cc2640r2_sdk_5_30_00_03\examples\rtos\CC2640R2_LAUNCHXL\ble5stack\simple_peripheral\tirtos\iar\app\..\..\..\..\..\..\..\..\source\ti\drivers\lib\drivers_cc26x0r2.arm3 C:\ti\simplelink_cc2640r2_sdk_5_30_00_03\examples\rtos\CC2640R2_LAUNCHXL\ble5stack\simple_peripheral\tirtos\iar\app\..\..\..\..\..\..\..\..\source\ti\drivers\rf\lib\rf_singleMode_cc26x0r2.arm3 C:\ti\simplelink_cc2640r2_sdk_5_30_00_03\examples\rtos\CC2640R2_LAUNCHXL\ble5stack\simple_peripheral\tirtos\iar\app\..\..\..\..\..\..\..\..\source\ti\display\lib\display.arm3 C:\ti\simplelink_cc2640r2_sdk_5_30_00_03\examples\rtos\CC2640R2_LAUNCHXL\ble5stack\simple_peripheral\tirtos\iar\app\..\..\..\..\..\..\..\..\source\ti\grlib\lib\iar\m3\grlib.a –entry __iar_program_start –vfe –text_out locale –cpu=Cortex-M3 –fpu=None" –profile release –projFile "C:\ti\simplelink_cc2640r2_sdk_5_30_00_03\examples\rtos\CC2640R2_LAUNCHXL\ble5stack\simple_peripheral\tirtos\iar\app\cc2640r2lp_app.ewp" –cfgArgs NO_ROM=0 -o C:\ti\simplelink_cc2640r2_sdk_5_30_00_03\examples\rtos\CC2640R2_LAUNCHXL\ble5stack\simple_peripheral\tirtos\iar\app\..\config\configPkg C:\ti\simplelink_cc2640r2_sdk_5_30_00_03\examples\rtos\CC2640R2_LAUNCHXL\ble5stack\simple_peripheral\tirtos\iar\app\..\..\..\tirtos\app_ble.cfg" @@@@@@̫@@@@

求教会是啥问题?

另外测试了broadcast例程,也无法编译app

Kevin Qiu1:

SDK是基于EWARM-8.32.2版本构建的,其他版本可能会产生不兼容的情况,你用EWARM-8.32.2试一下,或者也可以使用CCS

SimpleLink CC2640R2 SDK 5_30_00_03 was built & tested on a Windows host platform using the following Integrated Development Environments (IDEs) and components. Using an IDE or toolchain version not listed below may result in compatibility issues with this SDK release.

IAR Embedded Workbench: EWARM-8.32.2
TI Code Composer Studio: CCS-9.0.0.00013
TI Code Generation Tools for Arm: 18.12.2.LTS
XDCTools: 3.51.03.28

赞(0)
未经允许不得转载:TI中文支持网 » CC2640R2F: IAR环境,ble5_central编译正确,ble5_peripheral编译错误,如何解决?
分享到: 更多 (0)

© 2024 TI中文支持网   网站地图 鲁ICP备2022002796号-1