编译CC2650 TI time_app出错
Building configuration: cc2650em_app - FlashROM
Updating build tree...
Performing Pre-Build Action
Error while running "C:\ti\xdctools_3_32_00_06_core/xs" --xdcpath="C:\ti\tirtos_cc13xx_cc26xx_2_20_01_08\products\
tidrivers_cc13xx_cc26xx_2_20_01_10\packages;C:\ti\tirtos_cc13xx_cc26xx_2_20_01_08\products\bios_6_46_01_38\
packages" iar.tools.configuro -c "F:\IAR Systems\Embedded Workbench 7.0\arm" --cc "F:\IAR Systems\Embedded
Workbench 7.0\arm\bin\iccarm.exe" --device "Default" --compileOptions "-D BOARD_DISPLAY_EXCLUDE_UART -D
CC2650DK_7ID -D CC26XX -D HEAPMGR_SIZE=0 -D ICALL_MAX_NUM_ENTITIES=6 -D
ICALL_MAX_NUM_TASKS=3 -D POWER_SAVING -D USE_ICALL -D xBOARD_DISPLAY_EXCLUDE_LCD -D
xDisplay_DISABLE_ALL -D xdc_runtime_Assert_DISABLE_ALL -D xdc_runtime_Log_DISABLE_ALL --diag_suppress
Pa050 -o C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\time_app\iar\app\FlashROM\Obj\ --debug
--endian=little --cpu=ARM7TDMI -f C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\time_app\iar\app\..\..\..\..\
..\src/config/build_components.opt -f C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\time_app\iar\app\..\
stack\build_config.opt -f C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\time_app\iar\app\..\config\
configPkg\compiler.opt.defs -f C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\time_app\iar\app\..\config\
iar_boundary.bdef -e --fpu=None --dlib_config \"F:\IAR Systems\Embedded Workbench 7.0\arm\INC\c\
DLib_Config_Normal.h\" -I C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\time_app\iar\app\..\..\..\..\..\
src/controller/cc26xx/inc\ -I C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\time_app\iar\app\..\..\..\..\..\
src/inc\ -I C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\time_app\iar\app\..\..\..\..\..\src/common/cc26xx\ -I
C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\time_app\iar\app\..\..\..\..\..\src/common/cc26xx/time\ -I C:\ti\
simplelink\ble_sdk_2_02_01_18\examples\cc2650em\time_app\iar\app\..\..\..\..\..\src/icall/inc\ -I C:\ti\simplelink\
ble_sdk_2_02_01_18\examples\cc2650em\time_app\iar\app\..\..\..\..\..\src/inc\ -I C:\ti\simplelink\ble_sdk_2_02_01_18\
examples\cc2650em\time_app\iar\app\..\..\..\..\..\src/profiles/roles\ -I C:\ti\simplelink\ble_sdk_2_02_01_18\examples\
cc2650em\time_app\iar\app\..\..\..\..\..\src/profiles/roles/cc26xx\ -I C:\ti\simplelink\ble_sdk_2_02_01_18\examples\
cc2650em\time_app\iar\app\..\..\..\..\..\src/target\ -I C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\
time_app\iar\app\..\..\..\..\..\src\components/hal/src/inc\ -I C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\
time_app\iar\app\..\..\..\..\..\src\components/hal/src/target/_common\ -I C:\ti\simplelink\ble_sdk_2_02_01_18\examples\
cc2650em\time_app\iar\app\..\..\..\..\..\src\components/hal/src/target/_common/cc26xx\ -I C:\ti\simplelink\
ble_sdk_2_02_01_18\examples\cc2650em\time_app\iar\app\..\..\..\..\..\src\components/heapmgr\ -I C:\ti\simplelink\
ble_sdk_2_02_01_18\examples\cc2650em\time_app\iar\app\..\..\..\..\..\src\components/icall/src/inc\ -I C:\ti\simplelink\
ble_sdk_2_02_01_18\examples\cc2650em\time_app\iar\app\..\..\..\..\..\src\components/osal/src/inc\ -I C:\ti\simplelink\
ble_sdk_2_02_01_18\examples\cc2650em\time_app\iar\app\..\..\..\..\..\src\components/services/src/saddr\ -I C:\ti\
simplelink\ble_sdk_2_02_01_18\examples\cc2650em\time_app\iar\app\..\..\..\..\..\src\components/services/src/sdata\
-I C:\ti\tirtos_cc13xx_cc26xx_2_20_01_08\products\cc26xxware_2_24_02_17393\ -I C:\ti\
tirtos_cc13xx_cc26xx_2_20_01_08\products\tidrivers_cc13xx_cc26xx_2_20_01_10\packages\ --cpu_mode thumb -Ohz"
--linkOptions "-o C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\time_app\iar\app\FlashROM\Exe\
cc2650em_app.out --config \"F:\IAR Systems\Embedded Workbench 7.0\arm\CONFIG\generic.icf\" --semihosting
--entry __iar_program_start --vfe" --profile release --projFile "C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\
time_app\iar\app\cc2650em_app.ewp"
Total number of errors: 1
Total number of warnings: 0
从官网下载的最新SDK ble_sdk_2_02_01_18_setup 用的开发环境是IAR7.3 编译出错
后来照着网友http://www.deyisupport.com/question_answer/wireless_connectivity/bluetooth/f/103/t/101195.aspx的方法试了一下 改了一下路径 还是有问题
特意请教一下TI员工 望回复 谢谢
编译器版本太低,请选择IAR 7.50.3或CCS6.1.2及以上
好的 上完课 试试 谢谢了 这个版本可以吧EWARM-CD-7802-11975?
我现在装的 ARM 7.80.2还是出现这个问题
Building configuration: cc2650bp_app - FlashROM
Updating build tree...
Performing Pre-Build Action
Error while running "C:\ti\xdctools_3_32_00_06_core/xs" --xdcpath="C:\ti\tirtos_cc13xx_cc26xx_2_20_01_08\products\tidrivers_cc13xx_cc26xx_2_20_01_10\
packages;C:\ti\tirtos_cc13xx_cc26xx_2_20_01_08\products\bios_6_46_01_38\packages" iar.tools.configuro -c "F:\IAR Systems\Embedded Workbench 7.5\arm" --cc
"F:\IAR Systems\Embedded Workbench 7.5\arm\bin\iccarm.exe" --device "CC2650F128" --compileOptions "-D BOARD_DISPLAY_EXCLUDE_UART -D
BOOSTXL_CC2650MA -D CC2650_HOSTTESTAPP -D CC26XX -D Display_DISABLE_ALL -D HEAPMGR_METRICS -D HEAPMGR_SIZE=0 -D ICALL_EVENTS -D
ICALL_MAX_NUM_ENTITIES=8 -D ICALL_MAX_NUM_TASKS=4 -D MAX_NUM_BLE_CONNS=1 -D MAX_NUM_PDU=6 -D MAX_PDU_SIZE=251 -D
NPI_USE_UART -D POWER_SAVING -D USE_ICALL -D xBOARD_DISPLAY_EXCLUDE_LCD -D xSNP_SBL_ENABLE -D xSWO_DEBUG -D
xdc_runtime_Assert_DISABLE_ALL -D xdc_runtime_Log_DISABLE_ALL --diag_suppress Pa050 -o C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650bp\
simple_np\iar\app\FlashROM\Obj --debug --endian=little --cpu=Cortex-M3 -f C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650bp\simple_np\iar\app\..\..\..\..\..\
src/config/build_components.opt -f C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650bp\simple_np\iar\app\..\stack\build_config.opt -f C:\ti\simplelink\
ble_sdk_2_02_01_18\examples\cc2650bp\simple_np\iar\app\..\config\configPkg\compiler.opt.defs -f C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650bp\
simple_np\iar\app\..\config\iar_boundary.bdef -e --fpu=None --dlib_config \"F:\IAR Systems\Embedded Workbench 7.5\arm\INC\c\DLib_Config_Normal.h\" -I C:\ti\
simplelink\ble_sdk_2_02_01_18\examples\cc2650bp\simple_np\iar\app\..\..\..\..\..\src/controller/cc26xx/inc\ -I C:\ti\simplelink\ble_sdk_2_02_01_18\examples\
cc2650bp\simple_np\iar\app\..\..\..\..\..\src/inc\ -I C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650bp\simple_np\iar\app\..\..\..\..\..\src/common/cc26xx\ -I C:\ti\
simplelink\ble_sdk_2_02_01_18\examples\cc2650bp\simple_np\iar\app\..\..\..\..\..\src/examples/simple_np/cc26xx/app\ -I C:\ti\simplelink\ble_sdk_2_02_01_18\
examples\cc2650bp\simple_np\iar\app\..\..\..\..\..\src/icall/inc\ -I C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650bp\simple_np\iar\app\..\..\..\..\..\src/inc\ -I C:\ti\
simplelink\ble_sdk_2_02_01_18\examples\cc2650bp\simple_np\iar\app\..\..\..\..\..\src/profiles/dev_info\ -I C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650bp\
simple_np\iar\app\..\..\..\..\..\src/profiles/roles\ -I C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650bp\simple_np\iar\app\..\..\..\..\..\src/profiles/roles/cc26xx\ -I C:\
ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650bp\simple_np\iar\app\..\..\..\..\..\src/profiles/simple_profile\ -I C:\ti\simplelink\ble_sdk_2_02_01_18\examples\
cc2650bp\simple_np\iar\app\..\..\..\..\..\src/target\ -I C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650bp\simple_np\iar\app\..\..\..\..\..\src\
components/hal/src/inc\ -I C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650bp\simple_np\iar\app\..\..\..\..\..\src\components/hal/src/target/_common\ -I C:\ti\
simplelink\ble_sdk_2_02_01_18\examples\cc2650bp\simple_np\iar\app\..\..\..\..\..\src\components/hal/src/target/_common/cc26xx\ -I C:\ti\simplelink\
ble_sdk_2_02_01_18\examples\cc2650bp\simple_np\iar\app\..\..\..\..\..\src\components/hal/src/target/cc2650/rom\ -I C:\ti\simplelink\ble_sdk_2_02_01_18\examples\
cc2650bp\simple_np\iar\app\..\..\..\..\..\src\components/heapmgr\ -I C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650bp\simple_np\iar\app\..\..\..\..\..\src\
components/icall/src/inc\ -I C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650bp\simple_np\iar\app\..\..\..\..\..\src\components/npi/src/unified\ -I C:\ti\simplelink\
ble_sdk_2_02_01_18\examples\cc2650bp\simple_np\iar\app\..\..\..\..\..\src\components/npi/src/unified/inc\ -I C:\ti\simplelink\ble_sdk_2_02_01_18\examples\
cc2650bp\simple_np\iar\app\..\..\..\..\..\src\components/osal/src/inc\ -I C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650bp\simple_np\iar\app\..\..\..\..\..\src\
components/services/src/saddr\ -I C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650bp\simple_np\iar\app\..\..\..\..\..\src\components/services/src/sdata\ -I C:\ti\
tirtos_cc13xx_cc26xx_2_20_01_08\products\cc26xxware_2_24_02_17393\ -I C:\ti\tirtos_cc13xx_cc26xx_2_20_01_08\products\tidrivers_cc13xx_cc26xx_2_20_01_10\
packages\ -Ohz" --linkOptions "-o C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650bp\simple_np\iar\app\FlashROM\Exe\simple_np_cc2650bp_app.out
--map C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650bp\simple_np\iar\app\FlashROM\List\simple_np_cc2650bp_app.map --config C:\ti\simplelink\
ble_sdk_2_02_01_18\examples\cc2650bp\simple_np\iar\app\..\..\..\..\..\src/common/cc26xx/iar/cc26xx_app.icf --keep __vector_table -f C:\ti\simplelink\
ble_sdk_2_02_01_18\examples\cc2650bp\simple_np\iar\app\..\config\configPkg\linker.cmd -f C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650bp\simple_np\
iar\app\..\config\iar_boundary.xcl C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650bp\simple_np\iar\app\..\..\..\..\..\src\rom\common_rom_releases\03282014\
common_rom.symbols C:\ti\tirtos_cc13xx_cc26xx_2_20_01_08\products\cc26xxware_2_24_02_17393\driverlib\bin\iar\driverlib.lib --entry __iar_program_start --vfe"
--profile release --projFile "C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650bp\simple_np\iar\app\cc2650bp_app.ewp" --cfgArgs USE_EVENTS=1
Total number of errors: 1
Total number of warnings: 0
应该没有说SDK和IAR要装在同一个盘里的这种说法吧?我的那个路径也添了 添加的是对应工程下面的simple_np.custom_argvars
你给我的方法不行 我自己又在网上找了一个 是别人的博客http://blog.csdn.net/feilusia/article/details/52191556 照着做还是没用....都弄了三天了 全部装C盘 默认路径 编译还是出错
你好!
你先安装的是IAR还是SDK,你试着先安装IAR试试,我之前也遇到过类似的问题,谢谢!希望能帮到您!
好的 我试试 谢谢了
点击Stack下每一个文件夹下的文件,会发现有些文件因为路径原因无法打开
只需要删除这些无法打开的文件并用从自己的文件夹添加这些文件即可成功
大致修改了如下文件(可能记得不全了)
Stack下的HAL/Include下所有文件
HAL/target/CC2650/_commom/hal_mcu.h
HAL/target/CC2650/config/hal_board_cfg.h
NPI/npi.h