CC2640 SimpleBLEMulti 工程编译出错
TI的工程师你们好:
我在试着编译多连接的工程时遇到了一些问题,我没有想明白,感觉是版本的问题?
我安装的SDK是 ble_cc26xx_setupwin32_2_01_00_44423.exe,工程也进行了配置
然而编译app程序是提示:
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 "D:\Program Files\IAR Systems\Embedded Workbench 7.4\arm" --cc "D:\
Program Files\IAR Systems\Embedded Workbench 7.4\arm\bin\iccarm.exe" --device "CC2640F128" --compileOptions "-D
USE_ICALL -D POWER_SAVING -D RSSI -D HEAPMGR_SIZE=5000 -D TI_DRIVERS_SPI_DMA_INCLUDED -D
TI_DRIVERS_LCD_INCLUDED -D ICALL_MAX_NUM_TASKS=3 -D ICALL_MAX_NUM_ENTITIES=6 -D
xdc_runtime_Assert_DISABLE_ALL -D xdc_runtime_Log_DISABLE_ALL -D MAX_NUM_BLE_CONNS=3 -D CC26XXWARE -D
CC26XX --diag_suppress Pa050 -o C:\TI\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SimpleBLEMulti\CC26xx\IAR\
Application\CC2640\FlashROM\Obj\ --debug --endian=little --cpu=Cortex-M3 -f C:\TI\simplelink\ble_cc26xx_2_01_00_44423\
Projects\ble\SimpleBLEMulti\CC26xx\IAR\Application\CC2640\..\..\..\..\..\..\..\Projects\ble\config\buildComponents.opt -f C:\TI\
simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SimpleBLEMulti\CC26xx\IAR\Application\CC2640\configPkg\compiler.opt.defs
-f C:\TI\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SimpleBLEMulti\CC26xx\IAR\Application\CC2640\..\..\Config\
IAR-Boundary.bdef -e --fpu=None --dlib_config \"D:\Program Files\IAR Systems\Embedded Workbench 7.4\arm\INC\c\
DLib_Config_Normal.h\" -I C:\TI\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SimpleBLEMulti\CC26xx\IAR\Application\
CC2640\ -I C:\TI\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SimpleBLEMulti\CC26xx\IAR\Application\
CC2640/../../../Source/Application\ -I C:\TI\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SimpleBLEMulti\CC26xx\IAR\
Application\CC2640/../../../../../../../Projects/ble/include\ -I C:\TI\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\
SimpleBLEMulti\CC26xx\IAR\Application\CC2640/../../../../../../../Projects/ble/ICall/Include\ -I C:\TI\simplelink\
ble_cc26xx_2_01_00_44423\Projects\ble\SimpleBLEMulti\CC26xx\IAR\Application\
CC2640/../../../../../../../Projects/ble/Profiles/Roles/CC26xx\ -I C:\TI\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\
SimpleBLEMulti\CC26xx\IAR\Application\CC2640/../../../../../../../Projects/ble/Profiles/Roles\ -I C:\TI\simplelink\
ble_cc26xx_2_01_00_44423\Projects\ble\SimpleBLEMulti\CC26xx\IAR\Application\
CC2640/../../../../../../../Projects/ble/Profiles/DevInfo\ -I C:\TI\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SimpleBLEMulti\
CC26xx\IAR\Application\CC2640/../../../../../../../Projects/ble/Profiles/SimpleProfile/CC26xx\ -I C:\TI\simplelink\
ble_cc26xx_2_01_00_44423\Projects\ble\SimpleBLEMulti\CC26xx\IAR\Application\
CC2640/../../../../../../../Projects/ble/Profiles/SimpleProfile\ -I C:\TI\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\
SimpleBLEMulti\CC26xx\IAR\Application\CC2640/../../../../../../../Projects/ble/common/cc26xx\ -I C:\TI\simplelink\
ble_cc26xx_2_01_00_44423\Projects\ble\SimpleBLEMulti\CC26xx\IAR\Application\
CC2640/../../../../../../../Components/applib/heap\ -I C:\TI\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SimpleBLEMulti\
CC26xx\IAR\Application\CC2640/../../../../../../../Components/ble/hci\ -I C:\TI\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\
SimpleBLEMulti\CC26xx\IAR\Application\CC2640/../../../../../../../Components/ble/controller/CC26xx/include\ -I C:\TI\simplelink\
ble_cc26xx_2_01_00_44423\Projects\ble\SimpleBLEMulti\CC26xx\IAR\Application\CC2640/../../../../../../../Components/ble/host\ -I
C:\TI\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SimpleBLEMulti\CC26xx\IAR\Application\
CC2640/../../../../../../../Components/hal/target/CC2650/rom\ -I C:\TI\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\
SimpleBLEMulti\CC26xx\IAR\Application\CC2640/../../../../../../../Components/hal/target/CC2650TIRTOS\ -I C:\TI\simplelink\
ble_cc26xx_2_01_00_44423\Projects\ble\SimpleBLEMulti\CC26xx\IAR\Application\
CC2640/../../../../../../../Components/hal/target/_common/cc26xx\ -I C:\TI\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\
SimpleBLEMulti\CC26xx\IAR\Application\CC2640/../../../../../../../Components/hal/include\ -I C:\TI\simplelink\
ble_cc26xx_2_01_00_44423\Projects\ble\SimpleBLEMulti\CC26xx\IAR\Application\
CC2640/../../../../../../../Components/osal/include\ -I C:\TI\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SimpleBLEMulti\
CC26xx\IAR\Application\CC2640/../../../../../../../Components/services/sdata\ -I C:\TI\simplelink\ble_cc26xx_2_01_00_44423\
Projects\ble\SimpleBLEMulti\CC26xx\IAR\Application\CC2640/../../../../../../../Components/services/saddr\ -I C:\TI\simplelink\
ble_cc26xx_2_01_00_44423\Projects\ble\SimpleBLEMulti\CC26xx\IAR\Application\
CC2640/../../../../../../../Components/icall/include\ -I C:\TI\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SimpleBLEMulti\
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\ -Ohz" --linkOptions "-o C:\TI\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\
SimpleBLEMulti\CC26xx\IAR\Application\CC2640\FlashROM\Exe\SimpleBLEMultiAppFlashROM.out --config_def RTOS_ROM=1
--map C:\TI\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SimpleBLEMulti\CC26xx\IAR\Application\CC2640\FlashROM\List\
SimpleBLEMultiAppFlashROM.map --config C:\TI\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SimpleBLEMulti\CC26xx\
IAR\Application\CC2640\..\..\..\..\..\common\cc26xx\IAR\cc26xx_ble_app.icf --keep __vector_table -f C:\TI\simplelink\
ble_cc26xx_2_01_00_44423\Projects\ble\SimpleBLEMulti\CC26xx\IAR\Application\CC2640\configPkg\linker.cmd -f C:\TI\simplelink\
ble_cc26xx_2_01_00_44423\Projects\ble\SimpleBLEMulti\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 "C:\TI\simplelink\
ble_cc26xx_2_01_00_44423\Projects\ble\SimpleBLEMulti\CC26xx\IAR\Application\CC2640\CC2640App.ewp"
Total number of errors: 1
Total number of warnings: 0
在编译stack程序提示:
Building configuration: CC2640Stack - FlashROM
Updating build tree...
Performing Pre-Build Action
Error while running C:\TI\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SimpleBLEMulti\CC26xx\IAR\Stack\CC2640\..\..\..\..\
..\..\tools\LibSearch\libSearch.exe C:\TI\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SimpleBLEMulti\CC26xx\IAR\Stack\
CC2640\buildConfig.opt C:\TI\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SimpleBLEMulti\CC26xx\IAR\Stack\CC2640\..\..\
..\..\..\..\tools\LibSearch\parameters.xml C:\TI\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SimpleBLEMulti\CC26xx\IAR\
Stack\CC2640\..\..\..\..\..\Libraries\CC26xx\IAR\ C:\TI\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SimpleBLEMulti\
CC26xx\IAR\Stack\CC2640\..\..\Lib\CC2640Stack.a FlashROM
Total number of errors: 1
Total number of warnings: 0
有些路径下的exe工具,我在cmd下测试是可以运行的。
Frank,
你是在SDK默认目录下编译的吗?
还要注意把multi工程放到和其他工程一样的目录下面哈。
Yan 你好:
工程是放在放在sdk里面的。
你好,我也放到SDK里了,但是程序跑部起来。请问最后怎么解决的!