本人在开发环境搭建好后,就打开一个工程编译,结果出现以下问题:
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了,重新编译,没有错误出现。
阅读(7634) | 评论(1) | 转发(0) |