This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2640 ERROR

Other Parts Discussed in Thread: CC2640, CC2650, SYSBIOS

Building configuration: CC2640App - FlashROM
Updating build tree...
Failed to delete C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640\FlashROM\Obj\
board_lcd.pbi
 
16  file(s) deleted.
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.0\arm" --cc "C:\Program Files (x86)\IAR Systems\Embedded  
Workbench 7.0\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 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 --diag_suppress Pa050 -o C:\ti\simplelink\
ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640\FlashROM\Obj\ --debug --endian=little --cpu=Cortex-M3  
-f C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640\..\..\..\..\..\..\..\Projects\ble\config\
buildComponents.opt -f C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640\configPkg\
compiler.opt.defs -f C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640\..\..\Config\
IAR-Boundary.bdef -e --fpu=None --dlib_config \"C:\Program Files (x86)\IAR Systems\Embedded Workbench 7.0\arm\INC\c\DLib_Config_Normal.h\" -I C:\
ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640\ -I C:\ti\simplelink\
ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../Source/Application\ -I C:\ti\simplelink\
ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Projects/ble/Include\ -I C:\ti\simplelink\
ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Projects/ble/ICall/Include\ -I C:\ti\simplelink\
ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Projects/ble/Profiles/Roles/CC26xx\ -I C:\ti\
simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Projects/ble/Profiles/Roles\ -I C:\
ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Projects/ble/Profiles/DevInfo\ -I  
C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\
CC2640/../../../../../../../Projects/ble/Profiles/SimpleProfile/CC26xx\ -I C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\
CC26xx\IAR\Application\CC2640/../../../../../../../Projects/ble/Profiles/SimpleProfile\ -I C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\
SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Projects/ble/common/cc26xx\ -I C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\
ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Components/applib/heap\ -I C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\
ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Components/ble/hci\ -I C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\
SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Components/ble/controller/CC26xx/include\ -I C:\ti\simplelink\
ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Components/ble/host\ -I C:\ti\simplelink\
ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Components/hal/target/CC2650/rom\ -I C:\ti\
simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\
CC2640/../../../../../../../Components/hal/target/CC2650TIRTOS\ -I C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\
IAR\Application\CC2640/../../../../../../../Components/hal/target/_common/cc26xx\ -I C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\
SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Components/hal/include\ -I C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\
SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Components/osal/include\ -I C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\
SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Components/services/sdata\ -I C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\
ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Components/services/saddr\ -I C:\ti\simplelink\ble_cc26xx_2_01_01_44627\
Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Components/icall/include\ -I C:\ti\simplelink\ble_cc26xx_2_01_01_44627\
Projects\ble\SimpleBLEPeripheral\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_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640\
FlashROM\Exe\SimpleBLEPeripheralAppFlashROM.out --map C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\
IAR\Application\CC2640\FlashROM\List\SimpleBLEPeripheralAppFlashROM.map --config C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\
SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640\..\..\..\..\..\common\cc26xx\IAR\cc26xx_ble_app.icf --keep __vector_table -f C:\ti\simplelink\
ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640\configPkg\linker.cmd -f C:\ti\simplelink\
ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\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_01_44627\Projects\ble\
SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640\CC2640App.ewp"
 
Total number of errors: 1
Total number of warnings: 0

  • Which IAR version do you use?
  • I suggest you to use IAR EWARM 7.40.2 which you can download it from www.iar.com/.../
  • I have installed IAR EWARM 7.40.2 but still it is showing the same error

  • Try to remove and reinstall BLE stack to build again.
  • I have reinstalled BLE stack but still it is displaying the same error,my BLE stack version is 2_02_00_31
  • To build BLE Stack version 2.2, you have to use IAR EWARM 7.50.3.
  • For IAR EWARM 7.40.3,which BLE stack version is suitable?
  • It's BLE Stack version 2.1.1.
  • I have also build with BLE Stack version 2.1.1 ,still that error occurs.
  • Can you try to remove BLE Stack completely and reinstall it to build again?
  • I have also tried that but no improvement
  • What error do you see?
  • 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:\data\
    _DevTools\Embedded Workbench 7.40.3\arm" --cc "C:\data\_DevTools\Embedded Workbench 7.40.3\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 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 --diag_suppress Pa050 -o C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\
    SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640\FlashROM\Obj\ --debug --endian=little --cpu=Cortex-M3 -f C:\ti\simplelink\
    ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640\..\..\..\..\..\..\..\Projects\ble\config\buildComponents.opt -f  
    C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640\configPkg\compiler.opt.defs -f C:\ti\
    simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640\..\..\Config\IAR-Boundary.bdef -e --fpu=None  
    --dlib_config \"C:\data\_DevTools\Embedded Workbench 7.40.3\arm\INC\c\DLib_Config_Normal.h\" -I C:\ti\simplelink\ble_cc26xx_2_01_01_44627\
    Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640\ -I C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\
    CC26xx\IAR\Application\CC2640/../../../Source/Application\ -I C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\
    Application\CC2640/../../../../../../../Projects/ble/Include\ -I C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\
    Application\CC2640/../../../../../../../Projects/ble/ICall/Include\ -I C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\
    Application\CC2640/../../../../../../../Projects/ble/Profiles/Roles/CC26xx\ -I C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\
    CC26xx\IAR\Application\CC2640/../../../../../../../Projects/ble/Profiles/Roles\ -I C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\
    SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Projects/ble/Profiles/DevInfo\ -I C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\
    ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Projects/ble/Profiles/SimpleProfile/CC26xx\ -I C:\ti\simplelink\
    ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Projects/ble/Profiles/SimpleProfile\ -I C:\ti\
    simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Projects/ble/common/cc26xx\ -I  
    C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Components/applib/heap\ -I  
    C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Components/ble/hci\ -I C:\ti\
    simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\
    CC2640/../../../../../../../Components/ble/controller/CC26xx/include\ -I C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\
    CC26xx\IAR\Application\CC2640/../../../../../../../Components/ble/host\ -I C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\
    CC26xx\IAR\Application\CC2640/../../../../../../../Components/hal/target/CC2650/rom\ -I C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\
    SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Components/hal/target/CC2650TIRTOS\ -I C:\ti\simplelink\
    ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Components/hal/target/_common/cc26xx\ -I  
    C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Components/hal/include\ -I  
    C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Components/osal/include\ -I  
    C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\
    CC2640/../../../../../../../Components/services/sdata\ -I C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\
    Application\CC2640/../../../../../../../Components/services/saddr\ -I C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\
    IAR\Application\CC2640/../../../../../../../Components/icall/include\ -I C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\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_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640\FlashROM\Exe\
    SimpleBLEPeripheralAppFlashROM.out --map C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\
    CC2640\FlashROM\List\SimpleBLEPeripheralAppFlashROM.map --config C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\
    SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640\..\..\..\..\..\common\cc26xx\IAR\cc26xx_ble_app.icf --keep __vector_table -f C:\ti\simplelink\
    ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640\configPkg\linker.cmd -f C:\ti\simplelink\
    ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\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_01_44627\Projects\ble\
    SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640\CC2640App.ewp"
    Using RTSC configuration file: C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Projects/ble/SimpleBLEPeripheral/CC26xx/IAR/Application/CC2640/..\..\Config\
    appBLE.cfg...
    making package.mak (because of package.bld) ...
    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 ROM library makefile ...  
    Starting build of library sources ...
    making C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Projects/ble/SimpleBLEPeripheral/CC26xx/IAR/Config/src/sysbios/sysbios.arm3 ...
    gmake[1]: Entering directory `C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Projects/ble/SimpleBLEPeripheral/CC26xx/IAR/Config/src/sysbios'
    C:/data/_DevTools/Embedded: not found
    Preprocessing library source files ...
    C:/data/_DevTools/Embedded: not found
    C:/data/_DevTools/Embedded: not found
    gmake[1]: *** [mangled__BIOS_lib.pp] Error 127
    gmake[1]: *** Waiting for unfinished jobs....
    gmake[1]: *** [mangled_ti.sysbios.knl.Clock_config_lib.pp] Error 127
    gmake[1]: *** [mangled_knl_Idle_lib.pp] Error 127
    C:/data/_DevTools/Embedded: not found
    gmake[1]: *** [mangled_knl_Clock_lib.pp] Error 127
    C:/data/_DevTools/Embedded: not found
    C:/data/_DevTools/Embedded: not found
    C:/data/_DevTools/Embedded: not found
    C:/data/_DevTools/Embedded: not found
    gmake[1]: *** [mangled_knl_Intrinsics_lib.pp] Error 127
    gmake[1]: *** [mangled_knl_Mailbox_lib.pp] Error 127
    gmake[1]: *** [mangled_ti.sysbios.knl.Mailbox_config_lib.pp] Error 127
    gmake[1]: *** [mangled_ti.sysbios.BIOS_config_lib.pp] Error 127
    C:/data/_DevTools/Embedded: not found
    C:/data/_DevTools/Embedded: not found
    gmake[1]: *** [mangled_ti.sysbios.knl.Semaphore_config_lib.pp] Error 127
    gmake[1]: *** [mangled_knl_Swi_lib.pp] Error 127
    C:/data/_DevTools/Embedded: not found
    gmake[1]: *** [mangled_ti.sysbios.BIOS_RtsGateProxy_config_lib.pp] Error 127
    C:/data/_DevTools/Embedded: not found
    gmake[1]: *** [mangled_knl_Semaphore_lib.pp] Error 127
    C:/data/_DevTools/Embedded: not found
    gmake[1]: *** [mangled_knl_Swi_andn_lib.pp] Error 127
    C:/data/_DevTools/Embedded: not found
    C:/data/_DevTools/Embedded: not found
    C:/data/_DevTools/Embedded: not found
    gmake[1]: *** [mangled_ti.sysbios.knl.Queue_config_lib.pp] Error 127
    gmake[1]: *** [mangled_knl_Event_lib.pp] Error 127
    gmake[1]: *** [mangled_knl_Queue_lib.pp] Error 127
    gmake[1]: Leaving directory `C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Projects/ble/SimpleBLEPeripheral/CC26xx/IAR/Config/src/sysbios'
    gmake: *** [C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Projects/ble/SimpleBLEPeripheral/CC26xx/IAR/Config/src/sysbios/sysbios.arm3] Error 2
    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:
    Build of libraries failed.
    js: "C:/ti/xdctools_3_31_01_33_core/packages/xdc/cfg/Main.xs", line 160: Error: Configuration failed!
    gmake.exe: *** [package/cfg/appBLE_prm3.xdl] Error 1
    gmake.exe: *** Deleting file `package/cfg/appBLE_prm3.xdl'
    gmake.exe: *** [package/cfg/appBLE_prm3.xdl] Deleting file `package/cfg/appBLE_prm3.h'
    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:\data\_DevTools\Embedded Workbench 7.40.3\arm" --cc "C:\data\_DevTools\Embedded Workbench 7.40.3\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 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 --diag_suppress Pa050 -o C:\ti\simplelink\
    ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640\FlashROM\Obj\ --debug --endian=little --cpu=Cortex-M3  
    -f C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640\..\..\..\..\..\..\..\Projects\ble\config\
    buildComponents.opt -f C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640\configPkg\
    compiler.opt.defs -f C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640\..\..\Config\
    IAR-Boundary.bdef -e --fpu=None --dlib_config \"C:\data\_DevTools\Embedded Workbench 7.40.3\arm\INC\c\DLib_Config_Normal.h\" -I C:\ti\simplelink\
    ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640\ -I C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\
    ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../Source/Application\ -I C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\
    SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Projects/ble/Include\ -I C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\
    SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Projects/ble/ICall/Include\ -I C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\
    SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Projects/ble/Profiles/Roles/CC26xx\ -I C:\ti\simplelink\ble_cc26xx_2_01_01_44627\
    Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Projects/ble/Profiles/Roles\ -I C:\ti\simplelink\
    ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Projects/ble/Profiles/DevInfo\ -I C:\ti\
    simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\
    CC2640/../../../../../../../Projects/ble/Profiles/SimpleProfile/CC26xx\ -I C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\
    CC26xx\IAR\Application\CC2640/../../../../../../../Projects/ble/Profiles/SimpleProfile\ -I C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\
    SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Projects/ble/common/cc26xx\ -I C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\
    ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Components/applib/heap\ -I C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\
    ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Components/ble/hci\ -I C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\
    SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Components/ble/controller/CC26xx/include\ -I C:\ti\simplelink\
    ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Components/ble/host\ -I C:\ti\simplelink\
    ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Components/hal/target/CC2650/rom\ -I C:\ti\
    simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\
    CC2640/../../../../../../../Components/hal/target/CC2650TIRTOS\ -I C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\
    IAR\Application\CC2640/../../../../../../../Components/hal/target/_common/cc26xx\ -I C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\
    SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Components/hal/include\ -I C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\
    SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Components/osal/include\ -I C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\
    SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Components/services/sdata\ -I C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\
    ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Components/services/saddr\ -I C:\ti\simplelink\ble_cc26xx_2_01_01_44627\
    Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Components/icall/include\ -I C:\ti\simplelink\ble_cc26xx_2_01_01_44627\
    Projects\ble\SimpleBLEPeripheral\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_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640\
    FlashROM\Exe\SimpleBLEPeripheralAppFlashROM.out --map C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\
    IAR\Application\CC2640\FlashROM\List\SimpleBLEPeripheralAppFlashROM.map --config C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\
    SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640\..\..\..\..\..\common\cc26xx\IAR\cc26xx_ble_app.icf --keep __vector_table -f C:\ti\simplelink\
    ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640\configPkg\linker.cmd -f C:\ti\simplelink\
    ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\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_01_44627\Projects\ble\
    SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640\CC2640App.ewp"
     
    Total number of errors: 1
    Total number of warnings: 0

  • It seems that you install IAR to c:\data\... Which might cause problem. Can you install IAR to default folder?
  • Now I installed it to default folder but still error persists. Following are the messages displaying in error window:

    Building configuration: CC2640App - FlashROM

    Updating build tree...

    C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640\configPkg\package.mak

    C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640\FlashROM\Obj\board_lcd.pbi

    C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640\FlashROM\Obj\simpleBLEPeripheral.pbi

    C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640\FlashROM\Obj\util.pbi

    C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640\FlashROM\Obj\ICall.pbi

    C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640\FlashROM\Obj\ICallCC2650.pbi

    C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640\FlashROM\Obj\bleUserConfig.pbi

    C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640\FlashROM\Obj\ICallBleAPI.pbi

    C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640\FlashROM\Obj\devinfoservice.pbi

    C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640\FlashROM\Obj\gatt_uuid.pbi

    C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640\FlashROM\Obj\gattservapp_util.pbi

    C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640\FlashROM\Obj\peripheral.pbi

    C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640\FlashROM\Obj\simpleGATTprofile.pbi

    C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640\FlashROM\Obj\Board.pbi

    C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640\FlashROM\Obj\ccfg_appBLE.pbi

    C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640\FlashROM\Obj\main.pbi

    C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640\FlashROM\Obj\CC2640App.pbd

    17  file(s) deleted.

    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.2\arm" --cc "C:\Program Files (x86)\IAR Systems\Embedded Workbench 7.2\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 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 --diag_suppress Pa050 -o C:\ti\simplelink\

    ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640\FlashROM\Obj\ --debug --endian=little --cpu=Cortex-M3  

    -f C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640\..\..\..\..\..\..\..\Projects\ble\config\

    buildComponents.opt -f C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640\configPkg\

    compiler.opt.defs -f C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\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 C:\

    ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640\ -I C:\ti\simplelink\

    ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../Source/Application\ -I C:\ti\simplelink\

    ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Projects/ble/Include\ -I C:\ti\simplelink\

    ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Projects/ble/ICall/Include\ -I C:\ti\simplelink\

    ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Projects/ble/Profiles/Roles/CC26xx\ -I C:\ti\

    simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Projects/ble/Profiles/Roles\ -I C:\

    ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Projects/ble/Profiles/DevInfo\ -I  

    C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\

    CC2640/../../../../../../../Projects/ble/Profiles/SimpleProfile/CC26xx\ -I C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\

    CC26xx\IAR\Application\CC2640/../../../../../../../Projects/ble/Profiles/SimpleProfile\ -I C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\

    SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Projects/ble/common/cc26xx\ -I C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\

    ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Components/applib/heap\ -I C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\

    ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Components/ble/hci\ -I C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\

    SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Components/ble/controller/CC26xx/include\ -I C:\ti\simplelink\

    ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Components/ble/host\ -I C:\ti\simplelink\

    ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Components/hal/target/CC2650/rom\ -I C:\ti\

    simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\

    CC2640/../../../../../../../Components/hal/target/CC2650TIRTOS\ -I C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\

    IAR\Application\CC2640/../../../../../../../Components/hal/target/_common/cc26xx\ -I C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\

    SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Components/hal/include\ -I C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\

    SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Components/osal/include\ -I C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\

    SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Components/services/sdata\ -I C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\

    ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Components/services/saddr\ -I C:\ti\simplelink\ble_cc26xx_2_01_01_44627\

    Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Components/icall/include\ -I C:\ti\simplelink\ble_cc26xx_2_01_01_44627\

    Projects\ble\SimpleBLEPeripheral\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_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640\

    FlashROM\Exe\SimpleBLEPeripheralAppFlashROM.out --map C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\

    IAR\Application\CC2640\FlashROM\List\SimpleBLEPeripheralAppFlashROM.map --config C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\

    SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640\..\..\..\..\..\common\cc26xx\IAR\cc26xx_ble_app.icf --keep __vector_table -f C:\ti\simplelink\

    ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640\configPkg\linker.cmd -f C:\ti\simplelink\

    ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\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_01_44627\Projects\ble\

    SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640\CC2640App.ewp"

    Using RTSC configuration file: C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Projects/ble/SimpleBLEPeripheral/CC26xx/IAR/Application/CC2640/..\..\Config\

    appBLE.cfg...

    making package.mak (because of package.bld) ...

    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 ROM library makefile ...  

    Starting build of library sources ...

    making C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Projects/ble/SimpleBLEPeripheral/CC26xx/IAR/Config/src/sysbios/sysbios.arm3 ...

    gmake[1]: Entering directory `C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Projects/ble/SimpleBLEPeripheral/CC26xx/IAR/Config/src/sysbios'

    C:/Users/kadaso1/AppData/Local/Temp/make7336-4.sh: 1: Syntax error: "(" unexpected

    C:/Users/kadaso1/AppData/Local/Temp/make7336-7.sh: 1: Syntax error: "(" unexpected

    C:/Users/kadaso1/AppData/Local/Temp/make7336-8.sh: 1: Syntax error: "(" unexpected

    C:/Users/kadaso1/AppData/Local/Temp/make7336-2.sh: 1: Syntax error: "(" unexpected

    C:/Users/kadaso1/AppData/Local/Temp/make7336-3.sh: 1: Syntax error: "(" unexpected

    C:/Users/kadaso1/AppData/Local/Temp/make7336-5.sh: 1: Syntax error: "(" unexpected

    C:/Users/kadaso1/AppData/Local/Temp/make7336-b.sh: 1: Syntax error: "(" unexpected

    Preprocessing library source files ...

    C:/Users/kadaso1/AppData/Local/Temp/make7336-a.sh: 1: Syntax error: "(" unexpected

    C:/Users/kadaso1/AppData/Local/Temp/make7336-6.sh: 1: Syntax error: "(" unexpected

    gmake[1]: *** [mangled__BIOS_lib.pp] Error 2

    gmake[1]: *** Waiting for unfinished jobs....

    gmake[1]: *** [mangled_ti.sysbios.BIOS_config_lib.pp] Error 2

    gmake[1]: *** [mangled_ti.sysbios.BIOS_RtsGateProxy_config_lib.pp] Error 2

    gmake[1]: *** [mangled_knl_Clock_lib.pp] Error 2

    gmake[1]: *** [mangled_ti.sysbios.knl.Clock_config_lib.pp] Error 2

    gmake[1]: *** [mangled_knl_Idle_lib.pp] Error 2

    gmake[1]: *** [mangled_knl_Intrinsics_lib.pp] Error 2

    gmake[1]: *** [mangled_knl_Mailbox_lib.pp] Error 2

    gmake[1]: *** [mangled_ti.sysbios.knl.Mailbox_config_lib.pp] Error 2

    C:/Users/kadaso1/AppData/Local/Temp/make7336-9.sh: 1: Syntax error: "(" unexpected

    C:/Users/kadaso1/AppData/Local/Temp/make7336-c.sh: 1: Syntax error: "(" unexpected

    gmake[1]: *** [mangled_knl_Event_lib.pp] Error 2

    gmake[1]: *** [mangled_knl_Queue_lib.pp] Error 2

    C:/Users/kadaso1/AppData/Local/Temp/make7336-f.sh: 1: Syntax error: "(" unexpected

    gmake[1]: *** [mangled_ti.sysbios.knl.Semaphore_config_lib.pp] Error 2

    C:/Users/kadaso1/AppData/Local/Temp/make7336-d.sh: 1: Syntax error: "(" unexpected

    C:/Users/kadaso1/AppData/Local/Temp/make7336-10.sh: 1: Syntax error: "(" unexpected

    gmake[1]: *** [mangled_ti.sysbios.knl.Queue_config_lib.pp] Error 2

    gmake[1]: *** [mangled_knl_Swi_lib.pp] Error 2

    C:/Users/kadaso1/AppData/Local/Temp/make7336-1.sh: 1: Syntax error: "(" unexpected

    gmake[1]: *** [mangled_knl_Swi_andn_lib.pp] Error 2

    C:/Users/kadaso1/AppData/Local/Temp/make7336-e.sh: 1: Syntax error: "(" unexpected

    gmake[1]: *** [mangled_knl_Semaphore_lib.pp] Error 2gmake[1]: Leaving directory  

    `C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Projects/ble/SimpleBLEPeripheral/CC26xx/IAR/Config/src/sysbios'

    gmake: *** [C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Projects/ble/SimpleBLEPeripheral/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!

    gmake.exe: *** [package/cfg/appBLE_prm3.xdl] Error 1

    gmake.exe: *** Deleting file `package/cfg/appBLE_prm3.xdl'

    gmake.exe: *** [package/cfg/appBLE_prm3.xdl] Deleting file `package/cfg/appBLE_prm3.h'

    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.2\arm" --cc "C:\Program Files (x86)\IAR Systems\Embedded  

    Workbench 7.2\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 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 --diag_suppress Pa050 -o C:\ti\simplelink\

    ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640\FlashROM\Obj\ --debug --endian=little --cpu=Cortex-M3  

    -f C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640\..\..\..\..\..\..\..\Projects\ble\config\

    buildComponents.opt -f C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640\configPkg\

    compiler.opt.defs -f C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\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 C:\

    ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640\ -I C:\ti\simplelink\

    ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../Source/Application\ -I C:\ti\simplelink\

    ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Projects/ble/Include\ -I C:\ti\simplelink\

    ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Projects/ble/ICall/Include\ -I C:\ti\simplelink\

    ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Projects/ble/Profiles/Roles/CC26xx\ -I C:\ti\

    simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Projects/ble/Profiles/Roles\ -I C:\

    ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Projects/ble/Profiles/DevInfo\ -I  

    C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\

    CC2640/../../../../../../../Projects/ble/Profiles/SimpleProfile/CC26xx\ -I C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\

    CC26xx\IAR\Application\CC2640/../../../../../../../Projects/ble/Profiles/SimpleProfile\ -I C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\

    SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Projects/ble/common/cc26xx\ -I C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\

    ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Components/applib/heap\ -I C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\

    ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Components/ble/hci\ -I C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\

    SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Components/ble/controller/CC26xx/include\ -I C:\ti\simplelink\

    ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Components/ble/host\ -I C:\ti\simplelink\

    ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Components/hal/target/CC2650/rom\ -I C:\ti\

    simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\

    CC2640/../../../../../../../Components/hal/target/CC2650TIRTOS\ -I C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\

    IAR\Application\CC2640/../../../../../../../Components/hal/target/_common/cc26xx\ -I C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\

    SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Components/hal/include\ -I C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\

    SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Components/osal/include\ -I C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\

    SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Components/services/sdata\ -I C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\

    ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Components/services/saddr\ -I C:\ti\simplelink\ble_cc26xx_2_01_01_44627\

    Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Components/icall/include\ -I C:\ti\simplelink\ble_cc26xx_2_01_01_44627\

    Projects\ble\SimpleBLEPeripheral\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_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640\

    FlashROM\Exe\SimpleBLEPeripheralAppFlashROM.out --map C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\

    IAR\Application\CC2640\FlashROM\List\SimpleBLEPeripheralAppFlashROM.map --config C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\

    SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640\..\..\..\..\..\common\cc26xx\IAR\cc26xx_ble_app.icf --keep __vector_table -f C:\ti\simplelink\

    ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640\configPkg\linker.cmd -f C:\ti\simplelink\

    ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\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_01_44627\Projects\ble\

    SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640\CC2640App.ewp"

    Total number of errors: 1

    Total number of warnings: 0

  • Hi, can you try to rebuild the stack and then rebuild the application again?
  • yes I have already tried that one,when I rebuild stack it does not give any error,but when I build application then error pop ups
  • What you are seeing has been posted here :
    e2e.ti.com/.../404236
    Can you double check where your IAR is installed?

    Q: I get pre-build errors in IAR, and after clicking Tools->Options->Messages->Show all build messages, it looks something like this
    gmake[1]: Entering directory `C:/ti/simplelink/ble_cc26xx_2_00_00_42893/Projects/ble/SimpleBLEPeripheral/CC26xx/IAR/Config/src/sysbios'
    Preprocessing library source files ...
    C:/Users/<user>/AppData/Local/Temp/make904-2.sh: 1: Syntax error: "(" unexpected
    C:/Users/<user>/AppData/Local/Temp/make904-3.sh: 1: Syntax error: "(" unexpected

    A: Your system has for whatever reason disabled 8.3 pathname aliases (e.g. PROGRA~2) for the path IAR is installed to. The only known working solution is currently to install IAR at e.g. C:\IAR\EWARM7401 or some other path without spaces or long names.
  • I tried installation the way you are saying but no effect....same error popping up again

  • Can you take a screenshot of your IAR installation path and ti ble stack?
  • Hi Sonali,

    I don't know whether this issue has been resolved or not, but I might have more hints to help.

    Have you made any changes to the .cfg file in your project?
    The error you are seeing is caused by the xdctool which compiles TI-RTOS and SYS/BIOS.

    You could get a more meaningful error message if you find a file called .errorlog in a folder called configPkg

    Can you tell us what the error is from that file? (it can opened with a simple text editor)

    Regards,
    Michel
  • Can you install IAR in a directory that is not in _DevTools? I don't think that configurio likes white spaces or '_'.