打印

CC2640官方程序编译报错

[复制链接]
3935|10
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
flyzyf|  楼主 | 2015-12-5 21:12 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
论坛有人遇到过这种情况吗,在用IAR编译TI CC2640官方例程是不断的遇到这种情况,希望论坛大神能够帮帮忙,万分感谢:)
Building configuration: CC2640App - FlashROM
Updating build tree...
Performing Pre-Build Action
Error while running "C:\ti\xdctools_3_31_01_33_core/xs" --xdcpath="C:\ti\tirtos_simplelink_2_13_00_06\products\bios_6_42_00_08\packages" iar.tools.configuro -c "C:\Program Files (x86)\IAR  
Systems\Embedded Workbench 7.2\arm" --cc "C:\Program Files (x86)\IAR Systems\Embedded Workbench 7.2\arm\bin\iccarm.exe" --device "CC2640F128" --compileOptions "-D USE_ICALL  
-D xPOWER_SAVING -D HEAPMGR_SIZE=2672 -D TI_DRIVERS_SPI_DMA_INCLUDED -D TI_DRIVERS_LCD_INCLUDED -D ICALL_MAX_NUM_TASKS=4 -D  
ICALL_MAX_NUM_ENTITIES=6 -D xdc_runtime_Assert_DISABLE_ALL -D xdc_runtime_Log_DISABLE_ALL -D CC26XXWARE -D CC26XX -D NPI_USE_UART -D LCD_TO_UART  
--diag_suppress Pa050 -o E:\AmoMcu-CC26xx开发套件资料-2015\例程资料\2,实践例程\【实践4】手机对开发板串口透传\源代码\SimpleBLEPeripheral-phone2uart\CC26xx\IAR\Application\CC2640\
FlashROM\Obj\ --debug --endian=little --cpu=Cortex-M3 -f E:\AmoMcu-CC26xx开发套件资料-2015\例程资料\2,实践例程\【实践4】手机对开发板串口透传\源代码\SimpleBLEPeripheral-phone2uart\
CC26xx\IAR\Application\CC2640\..\..\..\..\..\..\..\Projects\ble\config\buildComponents.opt -f E:\AmoMcu-CC26xx开发套件资料-2015\例程资料\2,实践例程\【实践4】手机对开发板串口透传\源代码\
SimpleBLEPeripheral-phone2uart\CC26xx\IAR\Application\CC2640\configPkg\compiler.opt.defs -f E:\AmoMcu-CC26xx开发套件资料-2015\例程资料\2,实践例程\【实践4】手机对开发板串口透传\
源代码\SimpleBLEPeripheral-phone2uart\CC26xx\IAR\Application\CC2640\..\..\Config\IAR-Boundary.bdef -e --fpu=None --dlib_config \"C:\Program Files (x86)\IAR Systems\Embedded  
Workbench 7.2\arm\INC\c\DLib_Config_Normal.h\" -I E:\AmoMcu-CC26xx开发套件资料-2015\例程资料\2,实践例程\【实践4】手机对开发板串口透传\源代码\SimpleBLEPeripheral-phone2uart\CC26xx\
IAR\Application\CC2640\ -I E:\AmoMcu-CC26xx开发套件资料-2015\例程资料\2,实践例程\【实践4】手机对开发板串口透传\源代码\SimpleBLEPeripheral-phone2uart\CC26xx\IAR\Application\
CC2640/../../../Source/Application\ -I E:\AmoMcu-CC26xx开发套件资料-2015\例程资料\2,实践例程\【实践4】手机对开发板串口透传\源代码\SimpleBLEPeripheral-phone2uart\CC26xx\IAR\Application\
CC2640/../../../../../../../Projects/ble/Include\ -I E:\AmoMcu-CC26xx开发套件资料-2015\例程资料\2,实践例程\【实践4】手机对开发板串口透传\源代码\SimpleBLEPeripheral-phone2uart\CC26xx\IAR\
Application\CC2640/../../../../../../../Projects/ble/ICall/Include\ -I E:\AmoMcu-CC26xx开发套件资料-2015\例程资料\2,实践例程\【实践4】手机对开发板串口透传\源代码\SimpleBLEPeripheral-phone2uart\
CC26xx\IAR\Application\CC2640/../../../../../../../Projects/ble/Profiles/Roles/CC26xx\ -I E:\AmoMcu-CC26xx开发套件资料-2015\例程资料\2,实践例程\【实践4】手机对开发板串口透传\源代码\
SimpleBLEPeripheral-phone2uart\CC26xx\IAR\Application\CC2640/../../../../../../../Projects/ble/Profiles/Roles\ -I E:\AmoMcu-CC26xx开发套件资料-2015\例程资料\2,实践例程\
【实践4】手机对开发板串口透传\源代码\SimpleBLEPeripheral-phone2uart\CC26xx\IAR\Application\CC2640/../../../../../../../Projects/ble/Profiles/DevInfo\ -I E:\AmoMcu-CC26xx开发套件资料-2015\
例程资料\2,实践例程\【实践4】手机对开发板串口透传\源代码\SimpleBLEPeripheral-phone2uart\CC26xx\IAR\Application\CC2640/../../../../../../../Projects/ble/Profiles/SimpleProfile/CC26xx\ -I E:\
AmoMcu-CC26xx开发套件资料-2015\例程资料\2,实践例程\【实践4】手机对开发板串口透传\源代码\SimpleBLEPeripheral-phone2uart\CC26xx\IAR\Application\
CC2640/../../../../../../../Projects/ble/Profiles/SimpleProfile\ -I E:\AmoMcu-CC26xx开发套件资料-2015\例程资料\2,实践例程\【实践4】手机对开发板串口透传\源代码\SimpleBLEPeripheral-phone2uart\
CC26xx\IAR\Application\CC2640/../../../../../../../Projects/ble/common/cc26xx\ -I E:\AmoMcu-CC26xx开发套件资料-2015\例程资料\2,实践例程\【实践4】手机对开发板串口透传\源代码\
SimpleBLEPeripheral-phone2uart\CC26xx\IAR\Application\CC2640/../../../../../../../Components/applib/heap\ -I E:\AmoMcu-CC26xx开发套件资料-2015\例程资料\2,实践例程\
【实践4】手机对开发板串口透传\源代码\SimpleBLEPeripheral-phone2uart\CC26xx\IAR\Application\CC2640/../../../../../../../Components/ble/hci\ -I E:\AmoMcu-CC26xx开发套件资料-2015\例程资料\
2,实践例程\【实践4】手机对开发板串口透传\源代码\SimpleBLEPeripheral-phone2uart\CC26xx\IAR\Application\CC2640/../../../../../../../Components/ble/controller/CC26xx/include\ -I E:\
AmoMcu-CC26xx开发套件资料-2015\例程资料\2,实践例程\【实践4】手机对开发板串口透传\源代码\SimpleBLEPeripheral-phone2uart\CC26xx\IAR\Application\
CC2640/../../../../../../../Components/ble/host\ -I E:\AmoMcu-CC26xx开发套件资料-2015\例程资料\2,实践例程\【实践4】手机对开发板串口透传\源代码\SimpleBLEPeripheral-phone2uart\CC26xx\IAR\
Application\CC2640/../../../../../../../Components/hal/target/CC2650/rom\ -I E:\AmoMcu-CC26xx开发套件资料-2015\例程资料\2,实践例程\【实践4】手机对开发板串口透传\源代码\
SimpleBLEPeripheral-phone2uart\CC26xx\IAR\Application\CC2640/../../../../../../../Components/hal/target/CC2650TIRTOS\ -I E:\AmoMcu-CC26xx开发套件资料-2015\例程资料\2,实践例程\
【实践4】手机对开发板串口透传\源代码\SimpleBLEPeripheral-phone2uart\CC26xx\IAR\Application\CC2640/../../../../../../../Components/hal/target/_common/cc26xx\ -I E:\
AmoMcu-CC26xx开发套件资料-2015\例程资料\2,实践例程\【实践4】手机对开发板串口透传\源代码\SimpleBLEPeripheral-phone2uart\CC26xx\IAR\Application\
CC2640/../../../../../../../Components/hal/include\ -I E:\AmoMcu-CC26xx开发套件资料-2015\例程资料\2,实践例程\【实践4】手机对开发板串口透传\源代码\SimpleBLEPeripheral-phone2uart\CC26xx\IAR\
Application\CC2640/../../../../../../../Components/osal/include\ -I E:\AmoMcu-CC26xx开发套件资料-2015\例程资料\2,实践例程\【实践4】手机对开发板串口透传\源代码\SimpleBLEPeripheral-phone2uart\
CC26xx\IAR\Application\CC2640/../../../../../../../Components/services/sdata\ -I E:\AmoMcu-CC26xx开发套件资料-2015\例程资料\2,实践例程\【实践4】手机对开发板串口透传\源代码\
SimpleBLEPeripheral-phone2uart\CC26xx\IAR\Application\CC2640/../../../../../../../Components/services/saddr\ -I E:\AmoMcu-CC26xx开发套件资料-2015\例程资料\2,实践例程\
【实践4】手机对开发板串口透传\源代码\SimpleBLEPeripheral-phone2uart\CC26xx\IAR\Application\CC2640/../../../../../../../Components/icall/include\ -I E:\AmoMcu-CC26xx开发套件资料-2015\例程资料\
2,实践例程\【实践4】手机对开发板串口透传\源代码\SimpleBLEPeripheral-phone2uart\CC26xx\IAR\Application\CC2640/../../../../../../../Components/ble/include\ -I C:\ti\tirtos_simplelink_2_13_00_06\
products\cc26xxware_2_21_01_15600\ -I C:\ti\tirtos_simplelink_2_13_00_06\packages\ -I C:\ti\tirtos_simplelink_2_13_00_06\packages\ti\boards\SRF06EB\CC2650EM_7ID\ -I C:\ti\
tirtos_simplelink_2_13_00_06\packages\ti\drivers\ -I C:\ti\tirtos_simplelink_2_13_00_06\packages\ti\drivers\pin\ -Ohz" --linkOptions "-o E:\AmoMcu-CC26xx开发套件资料-2015\例程资料\
2,实践例程\【实践4】手机对开发板串口透传\源代码\SimpleBLEPeripheral-phone2uart\CC26xx\IAR\Application\CC2640\FlashROM\Exe\SimpleBLEPeripheralAppFlashROM.out --map E:\
AmoMcu-CC26xx开发套件资料-2015\例程资料\2,实践例程\【实践4】手机对开发板串口透传\源代码\SimpleBLEPeripheral-phone2uart\CC26xx\IAR\Application\CC2640\FlashROM\List\
SimpleBLEPeripheralAppFlashROM.map --config E:\AmoMcu-CC26xx开发套件资料-2015\例程资料\2,实践例程\【实践4】手机对开发板串口透传\源代码\SimpleBLEPeripheral-phone2uart\CC26xx\
IAR\Application\CC2640\..\..\..\..\..\common\cc26xx\IAR\cc26xx_ble_app.icf --keep __vector_table -f E:\AmoMcu-CC26xx开发套件资料-2015\例程资料\2,实践例程\【实践4】手机对开发板串口透传\
源代码\SimpleBLEPeripheral-phone2uart\CC26xx\IAR\Application\CC2640\configPkg\linker.cmd -f E:\AmoMcu-CC26xx开发套件资料-2015\例程资料\2,实践例程\【实践4】手机对开发板串口透传\
源代码\SimpleBLEPeripheral-phone2uart\CC26xx\IAR\Application\CC2640\..\..\Config\IAR-Boundary.xcl C:\ti\tirtos_simplelink_2_13_00_06\products\cc26xxware_2_21_01_15600\driverlib\bin\iar\
driverlib.lib C:\ti\tirtos_simplelink_2_13_00_06\packages\ti\drivers\lib\drivers_cc26xxware.arm3 --entry __iar_program_start --vfe" --profile release --projFile "E:\
AmoMcu-CC26xx开发套件资料-2015\例程资料\2,实践例程\【实践4】手机对开发板串口透传\源代码\SimpleBLEPeripheral-phone2uart\CC26xx\IAR\Application\CC2640\CC2640App.ewp"

Total number of errors: 1
Total number of warnings: 0


相关帖子

沙发
dirtwillfly| | 2015-12-6 08:04 | 只看该作者
这段信息好像直说运行时错误,没说具体什么错误。

建议楼主先不要用中文目录。很多软件用中文目录会出问题。
另外,建议把工程放到默认的工作空间,然后导入ccs或者其他软件。TI的软件包都安装在默认的目录。

使用特权

评论回复
板凳
liyang121316| | 2015-12-28 19:05 | 只看该作者
我也遇到相同的问题死活解决不了。网上搜到的方法都试了一遍还是不行。

使用特权

评论回复
地板
dirtwillfly| | 2015-12-28 19:52 | 只看该作者
楼主问题解决了吗?

使用特权

评论回复
5
51xlf| | 2015-12-29 20:58 | 只看该作者
工程文件在哪里

使用特权

评论回复
6
51xlf| | 2015-12-29 20:59 | 只看该作者
这个报错是不是编译器的问题

使用特权

评论回复
7
1988020566| | 2015-12-29 22:22 | 只看该作者
看上去有些乱

使用特权

评论回复
8
1988020566| | 2015-12-29 22:23 | 只看该作者
别使用中文目录。

使用特权

评论回复
9
cjp0318| | 2016-3-16 15:40 | 只看该作者
楼主你的问题解决了吗,救小弟一把吧 qq:381460514

使用特权

评论回复
10
cornrn| | 2016-8-16 10:01 | 只看该作者
我也这问题,重新安装降低版本改成IAR FOR ARM V7.3就好了以前我用的IAR FOR ARM V7.7

使用特权

评论回复
11
cornrn| | 2016-8-16 10:05 | 只看该作者
WINDOWS 下有些文件安装顺序不一样,会替换掉。重装的话,就是指认那个版本的。很正常的。

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

2

主题

3

帖子

1

粉丝