编译项目的时候一直出现这个问题,就算我再工程目录下自己新建一个configPkg文件夹也没用。
Performing Custom Build : Ex_Event_Create.cfgWARNING: A custom build rule listed the following files as output, but they were not created: C:\ti\simplelink\ble_sdk_2_02_03_08\examples\cc2650iot\3.10_tirtos_event_create_andmode/configPkg/package.makiotboard_key.c[Su007]: Unable to open the command file "C:\ti\simplelink\ble_sdk_2_02_03_08\examples\cc2650iot\3.10_tirtos_event_create_andmode/configPkg/compiler.opt.defs"Error while running C/C++ CompilerCC2650_LAUNCHIOT_RGZ.c[Su007]: Unable to open the command file "C:\ti\simplelink\ble_sdk_2_02_03_08\examples\cc2650iot\3.10_tirtos_event_create_andmode/configPkg/compiler.opt.defs"Error while running C/C++ Compilerccfg.c[Su007]: Unable to open the command file "C:\ti\simplelink\ble_sdk_2_02_03_08\examples\cc2650iot\3.10_tirtos_event_create_andmode/configPkg/compiler.opt.defs"Error while running C/C++ Compilerempty.c[Su007]: Unable to open the command file "C:\ti\simplelink\ble_sdk_2_02_03_08\examples\cc2650iot\3.10_tirtos_event_create_andmode/configPkg/compiler.opt.defs"Error while running C/C++ CompilerUserTask.c[Su007]: Unable to open the command file "C:\ti\simplelink\ble_sdk_2_02_03_08\examples\cc2650iot\3.10_tirtos_event_create_andmode/configPkg/compiler.opt.defs"Error while running C/C++ CompilerDone. 5 error(s), 1 warning(s)
Viki Shi:
1、你的IAR版本是什么?请根据BLE 协议栈里release note的要求选择版本。
2、将IAR的workspace放在SDK的根目录中,并且目录中不要使用空格
user4575545:
回复 Viki Shi:
1.我用的IAR版本是7.80.4,我该如何查看release note?
2.我IAR工程的workspace是放在SDK的根目录中,目录中并没有使用空格
Viki Shi:
回复 user4575545:
TI的每个协议栈的安装文件里,都有一个release note文件。release_notes_BLE_Stack_2_2_3,路径: C:\ti\simplelink\ble_sdk_2_02_03_08
你的IAR版本是符合要求的。
请问你是直接用原例程出现的问题吗?
user4575545:
回复 Viki Shi:
不是原例程
Viki Shi:
回复 user4575545:
你是不是没有编译stack文件?先编译stack,然后再编译app
user4575545:
回复 Viki Shi:
他那个例程里面没有使用蓝牙协议,只用了TI-RTOS,没有stack文件
Viki Shi:
回复 user4575545:
想不到原因了,查查导入project的时候是否有文件丢失及路径错误
user4575545:
回复 Viki Shi:
好的,感谢你的回答,我再找找原因。
TI中文支持网


