IAR编译错误
重装了好几次IAR,SDK都没法解决这个问题,求各位大神帮助下,谢了。
Building configuration: CC2640App - FlashROM
Updating build tree...
Performing Pre-Build Action
"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.4\arm" --cc "C:\Program
Files (x86)\IAR Systems\Embedded Workbench 7.4\arm\bin\iccarm.exe" --device "CC2640F128" --compileOptions "-D USE_ICALL -D POWER_SAVING -D HEAPMGR_SIZE=2672 -D TI_DRIVERS_SPI_DMA_INCLUDED -D
TI_DRIVERS_LCD_INCLUDED -D TI_DRIVERS_SPI_INCLUDED -D TI_DRIVERS_I2C_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 CC26XXWARE -D CC26XX -D CC2650EM_5XD -D FEATURE_OAD -D GATT_TI_UUID_128_BIT --diag_suppress Pa050 -o C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\
CassiaFD_extFlash_5X5\CC26xx\IAR\Application\CC2640\FlashROM\Obj --no_cse --no_unroll --no_inline --no_code_motion --no_tbaa --no_clustering --no_scheduling --debug --endian=little --cpu=Cortex-M3 -f C:\ti\simplelink\
ble_cc26xx_2_01_00_44423\Projects\ble\CassiaFD_extFlash_5X5\CC26xx\IAR\Application\CC2640\..\..\..\..\..\..\..\Projects\ble\config\buildComponents.opt -f C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\
CassiaFD_extFlash_5X5\CC26xx\IAR\Application\CC2640\configPkg\compiler.opt.defs -f C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\CassiaFD_extFlash_5X5\CC26xx\IAR\Application\CC2640\..\..\Config\
IAR-Boundary.bdef -e --fpu=None --dlib_config \"C:\Program Files (x86)\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\CassiaFD_extFlash_5X5\
CC26xx\IAR\Application\CC2640\ -I C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\CassiaFD_extFlash_5X5\CC26xx\IAR\Application\CC2640/../../../Source/Application\ -I C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\
ble\CassiaFD_extFlash_5X5\CC26xx\IAR\Application\CC2640/../../../Source/Application/lis2dh\ -I C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\CassiaFD_extFlash_5X5\CC26xx\IAR\Application\
CC2640/../../../../../../../Projects/ble/Include\ -I C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\CassiaFD_extFlash_5X5\CC26xx\IAR\Application\CC2640/../../../../../../../Projects/ble/ICall/Include\ -I C:\ti\simplelink\
ble_cc26xx_2_01_00_44423\Projects\ble\CassiaFD_extFlash_5X5\CC26xx\IAR\Application\CC2640/../../../../../../../Projects/ble/Profiles/Roles/CC26xx\ -I C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\CassiaFD_extFlash_5X5\
CC26xx\IAR\Application\CC2640/../../../../../../../Projects/ble/Profiles/Roles\ -I C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\CassiaFD_extFlash_5X5\CC26xx\IAR\Application\
CC2640/../../../../../../../Projects/ble/Profiles/CassiaFallDetectorProfile/CC26xx\ -I C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\CassiaFD_extFlash_5X5\CC26xx\IAR\Application\
CC2640/../../../../../../../Projects/ble/Profiles/CassiaFallDetectorProfile\ -I C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\CassiaFD_extFlash_5X5\CC26xx\IAR\Application\
CC2640/../../../../../../../Projects/ble/Profiles/SensorProfile/CC26xx\ -I C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\CassiaFD_extFlash_5X5\CC26xx\IAR\Application\CC2640/../../../../../../../Projects/ble/Profiles/OAD/CC26xx\ -I C:\
ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\CassiaFD_extFlash_5X5\CC26xx\IAR\Application\CC2640/../../../../../../../Projects/ble/common/cc26xx\ -I C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\
CassiaFD_extFlash_5X5\CC26xx\IAR\Application\CC2640/../../../../../../../Components/applib/heap\ -I C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\CassiaFD_extFlash_5X5\CC26xx\IAR\Application\
CC2640/../../../../../../../Components/ble/hci\ -I C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\CassiaFD_extFlash_5X5\CC26xx\IAR\Application\CC2640/../../../../../../../Components/ble/controller/CC26xx/include\ -I C:\ti\simplelink\
ble_cc26xx_2_01_00_44423\Projects\ble\CassiaFD_extFlash_5X5\CC26xx\IAR\Application\CC2640/../../../../../../../Components/ble/host\ -I C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\CassiaFD_extFlash_5X5\CC26xx\IAR\
Application\CC2640/../../../../../../../Components/hal/target/CC2650/rom\ -I C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\CassiaFD_extFlash_5X5\CC26xx\IAR\Application\
CC2640/../../../../../../../Components/hal/target/CC2650TIRTOS\ -I C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\CassiaFD_extFlash_5X5\CC26xx\IAR\Application\CC2640/../../../../../../../Components/hal/target/_common/cc26xx\
-I C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\CassiaFD_extFlash_5X5\CC26xx\IAR\Application\CC2640/../../../../../../../Components/hal/include\ -I C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\
CassiaFD_extFlash_5X5\CC26xx\IAR\Application\CC2640/../../../../../../../Components/osal/include\ -I C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\CassiaFD_extFlash_5X5\CC26xx\IAR\Application\
CC2640/../../../../../../../Components/services/sdata\ -I C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\CassiaFD_extFlash_5X5\CC26xx\IAR\Application\CC2640/../../../../../../../Components/services/saddr\ -I C:\ti\simplelink\
ble_cc26xx_2_01_00_44423\Projects\ble\CassiaFD_extFlash_5X5\CC26xx\IAR\Application\CC2640/../../../../../../../Components/icall/include\ -I C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\CassiaFD_extFlash_5X5\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\simplelink\ble_cc26xx_2_01_00_44423\
Projects\ble\CassiaFD_extFlash_5X5\CC26xx\IAR\Application\CC2640/../../../../../../../Projects/ble/Profiles/SimpleProfile\ -I C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\Profiles\DevInfo\CC26xx\ -I C:\ti\simplelink\
ble_cc26xx_2_01_00_44423\Projects\ble\Profiles\DevInfo\ -On" --linkOptions "-o C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\CassiaFD_extFlash_5X5\CC26xx\IAR\Application\CC2640\FlashROM\Exe\
SimpleBLEPeripheralAppFlashROM.out --map C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\CassiaFD_extFlash_5X5\CC26xx\IAR\Application\CC2640\FlashROM\List\SimpleBLEPeripheralAppFlashROM.map --config C:\ti\
simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\CassiaFD_extFlash_5X5\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\CassiaFD_extFlash_5X5\CC26xx\IAR\Application\CC2640\configPkg\linker.cmd -f C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\CassiaFD_extFlash_5X5\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\CassiaFD_extFlash_5X5\CC26xx\IAR\Application\CC2640\CC2640App.ewp"
Using RTSC configuration file: C:/ti/simplelink/ble_cc26xx_2_01_00_44423/Projects/ble/CassiaFD_extFlash_5X5/CC26xx/IAR/Application/CC2640/..\..\Config\appBLE.cfg...
configuring appBLE.xrm3 from package/cfg/appBLE_prm3.cfg ...
warning: xdc.cfg.Program: "C:/ti/tirtos_simplelink_2_13_00_06/products/bios_6_42_00_08/packages/ti/sysbios/hal/Hwi.xs", line 181: xdc.cfg.Program stack: For IAR targets, Program.stack is ignored. The C and Hwi stack sizes are
determined by the size of the CSTACK section definition within the linker command file.
generating custom ti.sysbios library makefile ...
Starting build of library sources ...
making C:/ti/simplelink/ble_cc26xx_2_01_00_44423/Projects/ble/CassiaFD_extFlash_5X5/CC26xx/IAR/Config/src/sysbios/sysbios.arm3 ...
gmake[1]: Entering directory `C:/ti/simplelink/ble_cc26xx_2_01_00_44423/Projects/ble/CassiaFD_extFlash_5X5/CC26xx/IAR/Config/src/sysbios'
clrm3 C:/ti/tirtos_simplelink_2_13_00_06/products/bios_6_42_00_08/packages/ti/sysbios/BIOS.c ...
C:/Users/ADMINI~1/AppData/Local/Temp/make796-1.sh: 1: Syntax error: "(" unexpected
gmake[1]: Leaving directory `C:/ti/simplelink/ble_cc26xx_2_01_00_44423/Projects/ble/CassiaFD_extFlash_5X5/CC26xx/IAR/Config/src/sysbios'
gmake[1]: *** [BIOS.o] Error 2
gmake: *** [C:/ti/simplelink/ble_cc26xx_2_01_00_44423/Projects/ble/CassiaFD_extFlash_5X5/CC26xx/IAR/Config/src/sysbios/sysbios.arm3] Error 2
Build of libraries failed.
error: xdc.cfg.SourceDir: "C:/ti/xdctools_3_31_01_33_core/packages/xdc/cfg/SourceDir.xs", line 209: xdc.cfg.SourceDir : Build of generated source libraries failed: exit status = 2:
js: "C:/ti/xdctools_3_31_01_33_core/packages/xdc/cfg/Main.xs", line 160: Error: Configuration failed!
xdctools_3_31_01_33_core\gmake.exe: *** [package/cfg/appBLE_prm3.xdl] Error 1
xdctools_3_31_01_33_core\gmake.exe: *** Deleting file `package/cfg/appBLE_prm3.xdl'
xdctools_3_31_01_33_core\gmake.exe: *** [package/cfg/appBLE_prm3.xdl] Deleting file `package/cfg/appBLE_prm3.h'
xdctools_3_31_01_33_core\gmake.exe: *** [package/cfg/appBLE_prm3.xdl] Deleting file `package/cfg/appBLE_prm3.c'
js: "C:/ti/tirtos_simplelink_2_13_00_06/products/bios_6_42_00_08/packages/iar/tools/configuro/Main.xs", line 93: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
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.4\arm"
--cc "C:\Program Files (x86)\IAR Systems\Embedded Workbench 7.4\arm\bin\iccarm.exe" --device "CC2640F128" --compileOptions "-D USE_ICALL -D POWER_SAVING -D HEAPMGR_SIZE=2672 -D
TI_DRIVERS_SPI_DMA_INCLUDED -D TI_DRIVERS_LCD_INCLUDED -D TI_DRIVERS_SPI_INCLUDED -D TI_DRIVERS_I2C_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 CC26XXWARE -D CC26XX -D CC2650EM_5XD -D FEATURE_OAD -D GATT_TI_UUID_128_BIT --diag_suppress Pa050 -o C:\ti\simplelink\
ble_cc26xx_2_01_00_44423\Projects\ble\CassiaFD_extFlash_5X5\CC26xx\IAR\Application\CC2640\FlashROM\Obj --no_cse --no_unroll --no_inline --no_code_motion --no_tbaa --no_clustering --no_scheduling --debug --endian=little
--cpu=Cortex-M3 -f C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\CassiaFD_extFlash_5X5\CC26xx\IAR\Application\CC2640\..\..\..\..\..\..\..\Projects\ble\config\buildComponents.opt -f C:\ti\simplelink\ble_cc26xx_2_01_00_44423\
Projects\ble\CassiaFD_extFlash_5X5\CC26xx\IAR\Application\CC2640\configPkg\compiler.opt.defs -f C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\CassiaFD_extFlash_5X5\CC26xx\IAR\Application\CC2640\..\..\Config\
IAR-Boundary.bdef -e --fpu=None --dlib_config \"C:\Program Files (x86)\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\CassiaFD_extFlash_5X5\
CC26xx\IAR\Application\CC2640\ -I C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\CassiaFD_extFlash_5X5\CC26xx\IAR\Application\CC2640/../../../Source/Application\ -I C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\
ble\CassiaFD_extFlash_5X5\CC26xx\IAR\Application\CC2640/../../../Source/Application/lis2dh\ -I C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\CassiaFD_extFlash_5X5\CC26xx\IAR\Application\
CC2640/../../../../../../../Projects/ble/Include\ -I C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\CassiaFD_extFlash_5X5\CC26xx\IAR\Application\CC2640/../../../../../../../Projects/ble/ICall/Include\ -I C:\ti\simplelink\
ble_cc26xx_2_01_00_44423\Projects\ble\CassiaFD_extFlash_5X5\CC26xx\IAR\Application\CC2640/../../../../../../../Projects/ble/Profiles/Roles/CC26xx\ -I C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\CassiaFD_extFlash_5X5\
CC26xx\IAR\Application\CC2640/../../../../../../../Projects/ble/Profiles/Roles\ -I C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\CassiaFD_extFlash_5X5\CC26xx\IAR\Application\
CC2640/../../../../../../../Projects/ble/Profiles/CassiaFallDetectorProfile/CC26xx\ -I C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\CassiaFD_extFlash_5X5\CC26xx\IAR\Application\
CC2640/../../../../../../../Projects/ble/Profiles/CassiaFallDetectorProfile\ -I C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\CassiaFD_extFlash_5X5\CC26xx\IAR\Application\
CC2640/../../../../../../../Projects/ble/Profiles/SensorProfile/CC26xx\ -I C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\CassiaFD_extFlash_5X5\CC26xx\IAR\Application\CC2640/../../../../../../../Projects/ble/Profiles/OAD/CC26xx\ -I C:\
ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\CassiaFD_extFlash_5X5\CC26xx\IAR\Application\CC2640/../../../../../../../Projects/ble/common/cc26xx\ -I C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\
CassiaFD_extFlash_5X5\CC26xx\IAR\Application\CC2640/../../../../../../../Components/applib/heap\ -I C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\CassiaFD_extFlash_5X5\CC26xx\IAR\Application\
CC2640/../../../../../../../Components/ble/hci\ -I C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\CassiaFD_extFlash_5X5\CC26xx\IAR\Application\CC2640/../../../../../../../Components/ble/controller/CC26xx/include\ -I C:\ti\simplelink\
ble_cc26xx_2_01_00_44423\Projects\ble\CassiaFD_extFlash_5X5\CC26xx\IAR\Application\CC2640/../../../../../../../Components/ble/host\ -I C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\CassiaFD_extFlash_5X5\CC26xx\IAR\
Application\CC2640/../../../../../../../Components/hal/target/CC2650/rom\ -I C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\CassiaFD_extFlash_5X5\CC26xx\IAR\Application\
CC2640/../../../../../../../Components/hal/target/CC2650TIRTOS\ -I C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\CassiaFD_extFlash_5X5\CC26xx\IAR\Application\CC2640/../../../../../../../Components/hal/target/_common/cc26xx\
-I C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\CassiaFD_extFlash_5X5\CC26xx\IAR\Application\CC2640/../../../../../../../Components/hal/include\ -I C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\
CassiaFD_extFlash_5X5\CC26xx\IAR\Application\CC2640/../../../../../../../Components/osal/include\ -I C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\CassiaFD_extFlash_5X5\CC26xx\IAR\Application\
CC2640/../../../../../../../Components/services/sdata\ -I C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\CassiaFD_extFlash_5X5\CC26xx\IAR\Application\CC2640/../../../../../../../Components/services/saddr\ -I C:\ti\simplelink\
ble_cc26xx_2_01_00_44423\Projects\ble\CassiaFD_extFlash_5X5\CC26xx\IAR\Application\CC2640/../../../../../../../Components/icall/include\ -I C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\CassiaFD_extFlash_5X5\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\simplelink\ble_cc26xx_2_01_00_44423\
Projects\ble\CassiaFD_extFlash_5X5\CC26xx\IAR\Application\CC2640/../../../../../../../Projects/ble/Profiles/SimpleProfile\ -I C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\Profiles\DevInfo\CC26xx\ -I C:\ti\simplelink\
ble_cc26xx_2_01_00_44423\Projects\ble\Profiles\DevInfo\ -On" --linkOptions "-o C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\CassiaFD_extFlash_5X5\CC26xx\IAR\Application\CC2640\FlashROM\Exe\
SimpleBLEPeripheralAppFlashROM.out --map C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\CassiaFD_extFlash_5X5\CC26xx\IAR\Application\CC2640\FlashROM\List\SimpleBLEPeripheralAppFlashROM.map --config C:\ti\
simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\CassiaFD_extFlash_5X5\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\CassiaFD_extFlash_5X5\CC26xx\IAR\Application\CC2640\configPkg\linker.cmd -f C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\CassiaFD_extFlash_5X5\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\CassiaFD_extFlash_5X5\CC26xx\IAR\Application\CC2640\CC2640App.ewp"
Total number of errors: 1
Total number of warnings: 0
打印这一堆也看不出啥。 在工程的目录里有个configPkg文件夹,下有erro.log,可以了解是啥错误