微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 无线和射频 > TI Zigbee设计交流 > CC2650工程编译Variable expansion failed解决方法

CC2650工程编译Variable expansion failed解决方法

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

本人在开发环境搭建好后,就打开一个工程编译,结果出现以下问题:
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 

建议您在IAR编译器菜单栏,找到Tools->Configure Custom Argument Variables,打开后import工程路径的对应文件

另外您也可以参考 http://e2e.ti.com/support/wireless_connectivity/bluetooth_low_energy/f/538/p/411517/1459789#1459789

不知道怎么解决,后来发现说明的这句话: 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了,重新编译,没有错误出现。

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

网站地图

Top