Chinaunix首页 | 论坛 | 博客
  • 博客访问: 177178
  • 博文数量: 33
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 305
  • 用 户 组: 普通用户
  • 注册时间: 2014-10-07 15:33
文章存档

2015年(23)

2014年(10)

分类: 嵌入式

2015-01-05 16:03:36

    本人在开发环境搭建好后,就打开一个工程编译,结果出现以下问题:
Building configuration: CC2650App - FlashROM 
Updating build tree... 
 
0  file(s) deleted. 
Updating build tree... 
Variable expansion failed. 
  Offending text: "$TI_RTOS_BUNDLE$\compiler_iar_gui.opt" 
  Partial command line: ""E:\Texas Instruments\BLE-2.0-PG2-40009-A-0.6


\Projects\ble\common\cc26xx\board_key.c" "-D" "ewarm" "-D" "USE_ICALL" "-D"  
"xPOWER_SAVING" "-D" "ICALL_STACK0_ADDR=0x9000" "-D" "TI_DRIVERS_GPIO_INCLUDED" "-D" 


"TI_DRIVERS_SPI_INCLUDED" "-D"  
........

"$PROJ_DIR$/../../../../../../../Components/hal/include"\ "-I" 


"$PROJ_DIR$/../../../../../../../Components/osal/include"\ "-I" 


"$PROJ_DIR$/../../../../../../../Components/services/sdata"\  
"-I" "$PROJ_DIR$/../../../../../../../Components/services/saddr"\ "-I" 


"$PROJ_DIR$/../../../../../../../Components/icall/include"\ "-I"  
"$PROJ_DIR$/../../../../../../../Components/ble/include"\ "-I" 


"$PROJ_DIR$/../../../../../../../Components\ti-rtos\drivers\cc2650"\ "-I"  
"$PROJ_DIR$/../../../../../../../Components/ti-rtos/boards/srf06eb_cc26xx\resources"\ "-I" 


"$DRIVERLIB_DIR$\cc26xx"\ "-I" "$DRIVERLIB_DIR$\cc26xx\inc"\ "-I"  
"$DRIVERLIB_DIR$\cc26xx\source"\ "-I" "$TI_RTOS_BUNDLE$"\ "-Ohz" " 
Error while running C/C++ Compiler 
 
Total number of errors: 0 
Total number of warnings: 0 

    不知道怎么解决,后来发现说明的这句话:
Error while compile “Variable expansion failed”. The solution is to go to Tools->Configure
Custom Argument Variables and click import in order to select
C:\Texas Instruments\BLE-CC26xx-2.0.0-38847-Alpha-
0.4\Projects\ble\SimpleBLEPeripheral\CC26xx_RTOS\IAR
ProjectsSimpleBLEPeripheral.custom_argvars
在IAR编译器菜单栏,找到Tools->Configure Custom Argument Variables,打开后import工程路径的对应文件就OK了,重新编译,没有错误出现。
阅读(7615) | 评论(1) | 转发(0) |
给主人留下些什么吧!~~

bb50132015-05-14 21:46:50

我也遇到这个问题了,按照你说的解决了。但是编译还是有别的错。你最近还在做CC2650吗