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.

CC2640R2F: gmake Errors

Part Number: CC2640R2F
Other Parts Discussed in Thread: CC2650,

Following error is occurring 

Please suggest solution or any procedure for to solving errors 

Description Resource Path Location Type
gmake: *** [build-9977473] Error 2 multi_role_cc2640r2lp_app C/C++ Problem
gmake: Target 'all' not remade because of errors. multi_role_cc2640r2lp_app C/C++ Problem
gmake[1]: *** [build-9977473-inproc] Error 1 multi_role_cc2640r2lp_app C/C++ Problem
xdctools_3_62_00_08_core\gmake.exe: *** [package.mak:202: package/cfg/app_ble_pem3.xdl] Error 1 multi_role_cc2640r2lp_app C/C++ Problem
xdctools_3_62_00_08_core\gmake.exe: *** [package/cfg/app_ble_pem3.xdl] Deleting file 'package/cfg/app_ble_pem3.c' multi_role_cc2640r2lp_app C/C++ Problem
xdctools_3_62_00_08_core\gmake.exe: *** [package/cfg/app_ble_pem3.xdl] Deleting file 'package/cfg/app_ble_pem3.h' multi_role_cc2640r2lp_app C/C++ Problem


  • **** Clean-only build of configuration FlashROM_StackLibrary_CacheAsRAM for project multi_role_cc2640r2lp_app ****

    "C:\\ti\\ccs1030\\ccs\\utils\\bin\\gmake" -k -j 4 clean -O

    DEL /F "multi_role_cc2640r2lp_app.hex" "configPkg\linker.cmd" "configPkg\compiler.opt" "multi_role_cc2640r2lp_app.out"
    C:\Users\SenseGiz\new_stack_5_1\5_1_new_len_with_dd_LD_LTE_2021\multi_role_cc2640r2lp_app\FlashROM_StackLibrary_CacheAsRAM\multi_role_cc2640r2lp_app.hex
    C:\Users\SenseGiz\new_stack_5_1\5_1_new_len_with_dd_LD_LTE_2021\multi_role_cc2640r2lp_app\FlashROM_StackLibrary_CacheAsRAM\configPkg\compiler.opt
    C:\Users\SenseGiz\new_stack_5_1\5_1_new_len_with_dd_LD_LTE_2021\multi_role_cc2640r2lp_app\FlashROM_StackLibrary_CacheAsRAM\multi_role_cc2640r2lp_app.out
    DEL /F "Application\bim_util.obj" "Application\hal_assert.obj" "Application\multi_role.obj" "Application\utc_clock.obj" "Application\util.obj" "Drivers\ECC\ECCROMCC26XX.obj" "Drivers\RF\RFCC26XX_singleMode.obj" "Drivers\TRNG\TRNGCC26XX.obj" "ICall\icall.obj" "ICall\icall_cc2650.obj" "ICall\icall_user_config.obj" "ICallBLE\ble_user_config.obj" "ICallBLE\icall_api_lite.obj" "OAD\ExtFlash.obj" "OAD\crc32.obj" "OAD\flash_interface_ext_rtos.obj" "OAD\oad.obj" "OAD\oad_image_header_app.obj" "PROFILES\gatt_uuid.obj" "PROFILES\gattservapp_util.obj" "PROFILES\multi.obj" "PROFILES\simple_gatt_profile.obj" "Startup\board.obj" "Startup\find_stack_entry.obj" "Startup\main.obj"
    C:\Users\SenseGiz\new_stack_5_1\5_1_new_len_with_dd_LD_LTE_2021\multi_role_cc2640r2lp_app\FlashROM_StackLibrary_CacheAsRAM\Application\bim_util.obj
    C:\Users\SenseGiz\new_stack_5_1\5_1_new_len_with_dd_LD_LTE_2021\multi_role_cc2640r2lp_app\FlashROM_StackLibrary_CacheAsRAM\Application\hal_assert.obj
    C:\Users\SenseGiz\new_stack_5_1\5_1_new_len_with_dd_LD_LTE_2021\multi_role_cc2640r2lp_app\FlashROM_StackLibrary_CacheAsRAM\Application\multi_role.obj
    C:\Users\SenseGiz\new_stack_5_1\5_1_new_len_with_dd_LD_LTE_2021\multi_role_cc2640r2lp_app\FlashROM_StackLibrary_CacheAsRAM\Application\utc_clock.obj
    C:\Users\SenseGiz\new_stack_5_1\5_1_new_len_with_dd_LD_LTE_2021\multi_role_cc2640r2lp_app\FlashROM_StackLibrary_CacheAsRAM\Application\util.obj
    C:\Users\SenseGiz\new_stack_5_1\5_1_new_len_with_dd_LD_LTE_2021\multi_role_cc2640r2lp_app\FlashROM_StackLibrary_CacheAsRAM\Drivers\ECC\ECCROMCC26XX.obj
    C:\Users\SenseGiz\new_stack_5_1\5_1_new_len_with_dd_LD_LTE_2021\multi_role_cc2640r2lp_app\FlashROM_StackLibrary_CacheAsRAM\Drivers\RF\RFCC26XX_singleMode.obj
    C:\Users\SenseGiz\new_stack_5_1\5_1_new_len_with_dd_LD_LTE_2021\multi_role_cc2640r2lp_app\FlashROM_StackLibrary_CacheAsRAM\Drivers\TRNG\TRNGCC26XX.obj
    C:\Users\SenseGiz\new_stack_5_1\5_1_new_len_with_dd_LD_LTE_2021\multi_role_cc2640r2lp_app\FlashROM_StackLibrary_CacheAsRAM\ICall\icall.obj
    C:\Users\SenseGiz\new_stack_5_1\5_1_new_len_with_dd_LD_LTE_2021\multi_role_cc2640r2lp_app\FlashROM_StackLibrary_CacheAsRAM\ICall\icall_cc2650.obj
    C:\Users\SenseGiz\new_stack_5_1\5_1_new_len_with_dd_LD_LTE_2021\multi_role_cc2640r2lp_app\FlashROM_StackLibrary_CacheAsRAM\ICall\icall_user_config.obj
    C:\Users\SenseGiz\new_stack_5_1\5_1_new_len_with_dd_LD_LTE_2021\multi_role_cc2640r2lp_app\FlashROM_StackLibrary_CacheAsRAM\ICallBLE\ble_user_config.obj
    C:\Users\SenseGiz\new_stack_5_1\5_1_new_len_with_dd_LD_LTE_2021\multi_role_cc2640r2lp_app\FlashROM_StackLibrary_CacheAsRAM\ICallBLE\icall_api_lite.obj
    C:\Users\SenseGiz\new_stack_5_1\5_1_new_len_with_dd_LD_LTE_2021\multi_role_cc2640r2lp_app\FlashROM_StackLibrary_CacheAsRAM\OAD\ExtFlash.obj
    C:\Users\SenseGiz\new_stack_5_1\5_1_new_len_with_dd_LD_LTE_2021\multi_role_cc2640r2lp_app\FlashROM_StackLibrary_CacheAsRAM\OAD\crc32.obj
    C:\Users\SenseGiz\new_stack_5_1\5_1_new_len_with_dd_LD_LTE_2021\multi_role_cc2640r2lp_app\FlashROM_StackLibrary_CacheAsRAM\OAD\flash_interface_ext_rtos.obj
    C:\Users\SenseGiz\new_stack_5_1\5_1_new_len_with_dd_LD_LTE_2021\multi_role_cc2640r2lp_app\FlashROM_StackLibrary_CacheAsRAM\OAD\oad.obj
    C:\Users\SenseGiz\new_stack_5_1\5_1_new_len_with_dd_LD_LTE_2021\multi_role_cc2640r2lp_app\FlashROM_StackLibrary_CacheAsRAM\OAD\oad_image_header_app.obj
    C:\Users\SenseGiz\new_stack_5_1\5_1_new_len_with_dd_LD_LTE_2021\multi_role_cc2640r2lp_app\FlashROM_StackLibrary_CacheAsRAM\PROFILES\gatt_uuid.obj
    C:\Users\SenseGiz\new_stack_5_1\5_1_new_len_with_dd_LD_LTE_2021\multi_role_cc2640r2lp_app\FlashROM_StackLibrary_CacheAsRAM\PROFILES\gattservapp_util.obj
    C:\Users\SenseGiz\new_stack_5_1\5_1_new_len_with_dd_LD_LTE_2021\multi_role_cc2640r2lp_app\FlashROM_StackLibrary_CacheAsRAM\PROFILES\multi.obj
    C:\Users\SenseGiz\new_stack_5_1\5_1_new_len_with_dd_LD_LTE_2021\multi_role_cc2640r2lp_app\FlashROM_StackLibrary_CacheAsRAM\PROFILES\simple_gatt_profile.obj
    C:\Users\SenseGiz\new_stack_5_1\5_1_new_len_with_dd_LD_LTE_2021\multi_role_cc2640r2lp_app\FlashROM_StackLibrary_CacheAsRAM\Startup\board.obj
    C:\Users\SenseGiz\new_stack_5_1\5_1_new_len_with_dd_LD_LTE_2021\multi_role_cc2640r2lp_app\FlashROM_StackLibrary_CacheAsRAM\Startup\find_stack_entry.obj
    C:\Users\SenseGiz\new_stack_5_1\5_1_new_len_with_dd_LD_LTE_2021\multi_role_cc2640r2lp_app\FlashROM_StackLibrary_CacheAsRAM\Startup\main.obj
    DEL /F "Application\bim_util.d" "Application\hal_assert.d" "Application\multi_role.d" "Application\utc_clock.d" "Application\util.d" "Drivers\ECC\ECCROMCC26XX.d" "Drivers\RF\RFCC26XX_singleMode.d" "Drivers\TRNG\TRNGCC26XX.d" "ICall\icall.d" "ICall\icall_cc2650.d" "ICall\icall_user_config.d" "ICallBLE\ble_user_config.d" "ICallBLE\icall_api_lite.d" "OAD\ExtFlash.d" "OAD\crc32.d" "OAD\flash_interface_ext_rtos.d" "OAD\oad.d" "OAD\oad_image_header_app.d" "PROFILES\gatt_uuid.d" "PROFILES\gattservapp_util.d" "PROFILES\multi.d" "PROFILES\simple_gatt_profile.d" "Startup\board.d" "Startup\find_stack_entry.d" "Startup\main.d"
    C:\Users\SenseGiz\new_stack_5_1\5_1_new_len_with_dd_LD_LTE_2021\multi_role_cc2640r2lp_app\FlashROM_StackLibrary_CacheAsRAM\Application\bim_util.d
    C:\Users\SenseGiz\new_stack_5_1\5_1_new_len_with_dd_LD_LTE_2021\multi_role_cc2640r2lp_app\FlashROM_StackLibrary_CacheAsRAM\Application\hal_assert.d
    C:\Users\SenseGiz\new_stack_5_1\5_1_new_len_with_dd_LD_LTE_2021\multi_role_cc2640r2lp_app\FlashROM_StackLibrary_CacheAsRAM\Application\multi_role.d
    C:\Users\SenseGiz\new_stack_5_1\5_1_new_len_with_dd_LD_LTE_2021\multi_role_cc2640r2lp_app\FlashROM_StackLibrary_CacheAsRAM\Application\utc_clock.d
    C:\Users\SenseGiz\new_stack_5_1\5_1_new_len_with_dd_LD_LTE_2021\multi_role_cc2640r2lp_app\FlashROM_StackLibrary_CacheAsRAM\Application\util.d
    C:\Users\SenseGiz\new_stack_5_1\5_1_new_len_with_dd_LD_LTE_2021\multi_role_cc2640r2lp_app\FlashROM_StackLibrary_CacheAsRAM\Drivers\ECC\ECCROMCC26XX.d
    C:\Users\SenseGiz\new_stack_5_1\5_1_new_len_with_dd_LD_LTE_2021\multi_role_cc2640r2lp_app\FlashROM_StackLibrary_CacheAsRAM\Drivers\RF\RFCC26XX_singleMode.d
    C:\Users\SenseGiz\new_stack_5_1\5_1_new_len_with_dd_LD_LTE_2021\multi_role_cc2640r2lp_app\FlashROM_StackLibrary_CacheAsRAM\Drivers\TRNG\TRNGCC26XX.d
    C:\Users\SenseGiz\new_stack_5_1\5_1_new_len_with_dd_LD_LTE_2021\multi_role_cc2640r2lp_app\FlashROM_StackLibrary_CacheAsRAM\ICall\icall.d
    C:\Users\SenseGiz\new_stack_5_1\5_1_new_len_with_dd_LD_LTE_2021\multi_role_cc2640r2lp_app\FlashROM_StackLibrary_CacheAsRAM\ICall\icall_cc2650.d
    C:\Users\SenseGiz\new_stack_5_1\5_1_new_len_with_dd_LD_LTE_2021\multi_role_cc2640r2lp_app\FlashROM_StackLibrary_CacheAsRAM\ICall\icall_user_config.d
    C:\Users\SenseGiz\new_stack_5_1\5_1_new_len_with_dd_LD_LTE_2021\multi_role_cc2640r2lp_app\FlashROM_StackLibrary_CacheAsRAM\ICallBLE\ble_user_config.d
    C:\Users\SenseGiz\new_stack_5_1\5_1_new_len_with_dd_LD_LTE_2021\multi_role_cc2640r2lp_app\FlashROM_StackLibrary_CacheAsRAM\ICallBLE\icall_api_lite.d
    C:\Users\SenseGiz\new_stack_5_1\5_1_new_len_with_dd_LD_LTE_2021\multi_role_cc2640r2lp_app\FlashROM_StackLibrary_CacheAsRAM\OAD\ExtFlash.d
    C:\Users\SenseGiz\new_stack_5_1\5_1_new_len_with_dd_LD_LTE_2021\multi_role_cc2640r2lp_app\FlashROM_StackLibrary_CacheAsRAM\OAD\crc32.d
    C:\Users\SenseGiz\new_stack_5_1\5_1_new_len_with_dd_LD_LTE_2021\multi_role_cc2640r2lp_app\FlashROM_StackLibrary_CacheAsRAM\OAD\flash_interface_ext_rtos.d
    C:\Users\SenseGiz\new_stack_5_1\5_1_new_len_with_dd_LD_LTE_2021\multi_role_cc2640r2lp_app\FlashROM_StackLibrary_CacheAsRAM\OAD\oad.d
    C:\Users\SenseGiz\new_stack_5_1\5_1_new_len_with_dd_LD_LTE_2021\multi_role_cc2640r2lp_app\FlashROM_StackLibrary_CacheAsRAM\OAD\oad_image_header_app.d
    C:\Users\SenseGiz\new_stack_5_1\5_1_new_len_with_dd_LD_LTE_2021\multi_role_cc2640r2lp_app\FlashROM_StackLibrary_CacheAsRAM\PROFILES\gatt_uuid.d
    C:\Users\SenseGiz\new_stack_5_1\5_1_new_len_with_dd_LD_LTE_2021\multi_role_cc2640r2lp_app\FlashROM_StackLibrary_CacheAsRAM\PROFILES\gattservapp_util.d
    C:\Users\SenseGiz\new_stack_5_1\5_1_new_len_with_dd_LD_LTE_2021\multi_role_cc2640r2lp_app\FlashROM_StackLibrary_CacheAsRAM\PROFILES\multi.d
    C:\Users\SenseGiz\new_stack_5_1\5_1_new_len_with_dd_LD_LTE_2021\multi_role_cc2640r2lp_app\FlashROM_StackLibrary_CacheAsRAM\PROFILES\simple_gatt_profile.d
    C:\Users\SenseGiz\new_stack_5_1\5_1_new_len_with_dd_LD_LTE_2021\multi_role_cc2640r2lp_app\FlashROM_StackLibrary_CacheAsRAM\Startup\board.d
    C:\Users\SenseGiz\new_stack_5_1\5_1_new_len_with_dd_LD_LTE_2021\multi_role_cc2640r2lp_app\FlashROM_StackLibrary_CacheAsRAM\Startup\find_stack_entry.d
    C:\Users\SenseGiz\new_stack_5_1\5_1_new_len_with_dd_LD_LTE_2021\multi_role_cc2640r2lp_app\FlashROM_StackLibrary_CacheAsRAM\Startup\main.d
    RMDIR /S/Q "configPkg\"
    Access is denied.
    Access is denied.
    Access is denied.
    Access is denied.
    Access is denied.
    Access is denied.
    Access is denied.
    Access is denied.
    Access is denied.
    Access is denied.
    Access is denied.
    Access is denied.
    Access is denied.
    Access is denied.
    Access is denied.
    Access is denied.
    Access is denied.
    Access is denied.
    Access is denied.
    Access is denied.
    Access is denied.
    Access is denied.
    Access is denied.
    Access is denied.
    Access is denied.
    Access is denied.
    Access is denied.
    Access is denied.
    Access is denied.
    Access is denied.
    Access is denied.
    Access is denied.
    Access is denied.
    Access is denied.
    Access is denied.
    Access is denied.
    Access is denied.
    Access is denied.
    Access is denied.
    Access is denied.
    Access is denied.
    Access is denied.
    Access is denied.
    Access is denied.
    Access is denied.
    Access is denied.
    Access is denied.
    Access is denied.
    Access is denied.
    Access is denied.
    Access is denied.
    Access is denied.
    Access is denied.
    configPkg\.errorlog - Access is denied.
    configPkg\.xdcenv.mak - Access is denied.
    configPkg\compiler.opt - Access is denied.
    configPkg\compiler.opt.defs - Access is denied.
    configPkg\config.bld - Access is denied.
    configPkg\config.bld.tmp - Access is denied.
    configPkg\custom.mak - Access is denied.
    configPkg\package\.vers_b200 - Access is denied.
    configPkg\package\.vers_g200 - Access is denied.
    configPkg\package\.vers_r200 - Access is denied.
    configPkg\package\.xdc-K04 - Access is denied.
    configPkg\package\build.cfg - Access is denied.
    configPkg\package\cfg\app_ble.xem3.mak - Access is denied.
    configPkg\package\cfg\app_ble_pem3.c - Access is denied.
    configPkg\package\cfg\app_ble_pem3.cfg - Access is denied.
    configPkg\package\cfg\app_ble_pem3.cfg.dot - Access is denied.
    configPkg\package\cfg\app_ble_pem3.cfg.mak - Access is denied.
    configPkg\package\cfg\app_ble_pem3.cfg.xml - Access is denied.
    configPkg\package\cfg\app_ble_pem3.dep - Access is denied.
    configPkg\package\cfg\app_ble_pem3.h - Access is denied.
    configPkg\package\cfg\app_ble_pem3.mak - Access is denied.
    configPkg\package\cfg\app_ble_pem3.oem3 - Access is denied.
    configPkg\package\cfg\app_ble_pem3.oem3.dep - Access is denied.
    configPkg\package\cfg\app_ble_pem3.rov.xs - Access is denied.
    configPkg\package\cfg\app_ble_pem3.rta.xml - Access is denied.
    configPkg\package\cfg\app_ble_pem3.xdc.inc - Access is denied.
    configPkg\package\cfg\app_ble_pem3.xdl - Access is denied.
    configPkg\package\cfg\app_ble_pem31363082975997966712.tmp - Access is denied.
    configPkg\package\cfg\app_ble_pem34094146963189421992.tmp - Access is denied.
    configPkg\package\cfg\app_ble_pem3607903569564572380.tmp - Access is denied.
    configPkg\package\cfg\app_ble_pem3626202319424590810.tmp - Access is denied.
    configPkg\package\cfg\app_ble_pem36326855157066959193.tmp - Access is denied.
    configPkg\package\cfg\app_ble_pem36595108025255232859.tmp - Access is denied.
    configPkg\package\cfg\app_ble_pem39093756006707599779.tmp - Access is denied.
    configPkg\package\cfg - Access is denied.
    configPkg\package\configPkg.ccs - Access is denied.
    configPkg\package\configPkg.class - Access is denied.
    configPkg\package\configPkg.java - Access is denied.
    configPkg\package\configPkg.sch - Access is denied.
    configPkg\package\lib - Access is denied.
    configPkg\package\package.bld.xml - Access is denied.
    configPkg\package\package.defs.h - Access is denied.
    configPkg\package\package.xdc.dep - Access is denied.
    configPkg\package\package.xdc.inc - Access is denied.
    configPkg\package\package_configPkg.c - Access is denied.
    configPkg\package\rel\configPkg.xdc.inc - Access is denied.
    configPkg\package\rel\configPkg.xdc.ninc - Access is denied.
    configPkg\package\rel - Access is denied.
    configPkg\package - Access is denied.
    configPkg\package.bld - Access is denied.
    configPkg\package.bld.tmp - Access is denied.
    configPkg\package.mak - Access is denied.
    configPkg\package.xdc - Access is denied.
    configPkg\package.xdc.tmp - Access is denied.
    configPkg\package.xs - Access is denied.
    Access is denied.
    Finished clean

    **** Build Finished ****

    **** Build of configuration FlashROM_StackLibrary_CacheAsRAM for project multi_role_cc2640r2lp_app ****

    "C:\\ti\\ccs1030\\ccs\\utils\\bin\\gmake" -k -j 4 all -O

    Building file: "../TOOLS/app_ble.cfg"
    Invoking: XDCtools
    "C:/ti/ccs1030/xdctools_3_62_00_08_core/xs" --xdcpath="C:/ti/simplelink_cc2640r2_sdk_5_10_00_02/source;C:/ti/simplelink_cc2640r2_sdk_5_10_00_02/kernel/tirtos/packages;C:/ti/simplelink_cc2640r2_sdk_5_10_00_02/source/ti/blestack;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M3 -p ti.platforms.simplelink:CC2640R2F -r release -c "C:/ti/ccs1030/ccs/tools/compiler/ti-cgt-arm_18.12.8.LTS" --cfgArgs "{NO_ROM:0, OAD_IMG_E:1}" --compileOptions "-mv7M3 --code_state=16 -me -O4 --opt_for_speed=0 --include_path=\"C:/Users/SenseGiz/new_stack_5_1/5_1_new_len_with_dd_LD_LTE_2021/multi_role_cc2640r2lp_app\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_5_10_00_02/source/ti/blestack/controller/cc26xx_r2/inc\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_5_10_00_02/source/ti/blestack/inc\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_5_10_00_02/source/ti/blestack/rom\" --include_path=\"C:/Users/SenseGiz/new_stack_5_1/5_1_new_len_with_dd_LD_LTE_2021/multi_role_cc2640r2lp_app/Application\" --include_path=\"C:/Users/SenseGiz/new_stack_5_1/5_1_new_len_with_dd_LD_LTE_2021/multi_role_cc2640r2lp_app/Startup\" --include_path=\"C:/Users/SenseGiz/new_stack_5_1/5_1_new_len_with_dd_LD_LTE_2021/multi_role_cc2640r2lp_app/PROFILES\" --include_path=\"C:/Users/SenseGiz/new_stack_5_1/5_1_new_len_with_dd_LD_LTE_2021/multi_role_cc2640r2lp_app/Include\" --include_path=\"C:/Users/SenseGiz/new_stack_5_1/5_1_new_len_with_dd_LD_LTE_2021/multi_role_cc2640r2lp_app/OAD\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_5_10_00_02/source/ti/blestack/common/cc26xx\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_5_10_00_02/source/ti/blestack/icall/inc\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_5_10_00_02/source/ti/blestack/profiles/dev_info\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_5_10_00_02/source/ti/blestack/target\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_5_10_00_02/source/ti/blestack/hal/src/target/_common\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_5_10_00_02/source/ti/blestack/hal/src/target/_common/cc26xx\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_5_10_00_02/source/ti/blestack/hal/src/inc\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_5_10_00_02/source/ti/blestack/heapmgr\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_5_10_00_02/source/ti/blestack/icall/src/inc\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_5_10_00_02/source/ti/blestack/osal/src/inc\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_5_10_00_02/source/ti/blestack/services/src/saddr\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_5_10_00_02/source/ti/blestack/services/src/sdata\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_5_10_00_02/source/ti/devices/cc26x0r2\" --include_path=\"C:/ti/ccs1030/ccs/tools/compiler/ti-cgt-arm_18.12.8.LTS/include\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_5_10_00_02/source/ti/blestack/profiles/batt/cc26xx\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_5_10_00_02/source/ti/blestack/profiles/hid_dev/cc26xx\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_5_10_00_02/source/ti/devices/cc26x0r2/driverlib\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_5_10_00_02/source/ti/devices/cc26x0r2/inc\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_5_10_00_02/source/ti/blestack/profiles/oad/cc26xx\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_5_10_00_02/source/ti/blestack/common/cc26xx/crc\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_5_10_00_02/source/ti/blestack/common/cc26xx/bim\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_5_10_00_02/source/ti/blestack/common/cc26xx/flash_interface\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_5_10_00_02/source/ti/blestack/common/cc26xx/flash_interface/external\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_5_10_00_02/source/ti/blestack/common/cc26xx/time\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_5_10_00_02/source/ti/blestack/profiles/dev_info\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_5_10_00_02/source/ti/blestack/boards/COIN_v4_LAUNCHPAD\" --define=DeviceFamily_CC26X0R2 --define=BOARD_DISPLAY_USE_LCD=0 --define=BOARD_DISPLAY_USE_UART=0 --define=BOARD_DISPLAY_USE_UART_ANSI=0 --define=CACHE_AS_RAM --define=CC2640R2_LAUNCHXL --define=CC26XX --define=CC26XX_R2 --define=MAX_PDU_SIZE=251 --define=SPLIT_APP_STACK_IMAGE --define=HEAPMGR_METRICS --define=ICALL_EVENTS --define=ICALL_JT --define=ICALL_LITE --define=ICALL_MAX_NUM_ENTITIES=6 --define=ICALL_MAX_NUM_TASKS=3 --define=ICALL_STACK0_ADDR --define=MAX_NUM_BLE_CONNS=1 --define=POWER_SAVING --define=USE_ICALL --define=xdc_runtime_Assert_DISABLE_ALL --define=xdc_runtime_Log_DISABLE_ALL -g --c99 --gcc --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi " "../TOOLS/app_ble.cfg"
    configuring app_ble.xem3 from package/cfg/app_ble_pem3.cfg ...
    generating custom ROM library makefile ...
    TOOLS/subdir_rules.mk:12: recipe for target 'build-9977473-inproc' failed
    java.io.IOException: file rename failed: C:\Users\SenseGiz\new_stack_5_1\5_1_new_len_with_dd_LD_LTE_2021\multi_role_cc2640r2lp_app\FlashROM_StackLibrary_CacheAsRAM\configPkg\package\cfg\app_ble_pem33027694351866322013.tmp
    at xdc.services.intern.gen.FileManager.moveFiles(FileManager.java:330)
    at xdc.services.intern.gen.Prog.gen(Prog.java:85)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:126)
    at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:225)
    at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1473)
    at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:815)
    at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:109)
    at xdc.services.intern.xsr.Invoke.call(Invoke.java:130)
    at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1473)
    at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:815)
    at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:109)
    at xdc.services.intern.xsr.Invoke.call(Invoke.java:92)
    at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1473)
    at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:815)
    at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:109)
    at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:394)
    at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3091)
    at org.mozilla.javascript.InterpretedFunction.exec(InterpretedFunction.java:120)
    at org.mozilla.javascript.Context.evaluateReader(Context.java:1110)
    at config.Shell.evaluateReader(Shell.java:849)
    at config.Shell.processReader(Shell.java:512)
    at config.Shell.processFile(Shell.java:571)
    at config.Shell.exec(Shell.java:781)
    at config.Shell.main(Shell.java:1416)
    js: "C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/cfg/Main.xs", line 48: XDC runtime exception: java.io.IOException: file rename failed: C:\Users\SenseGiz\new_stack_5_1\5_1_new_len_with_dd_LD_LTE_2021\multi_role_cc2640r2lp_app\FlashROM_StackLibrary_CacheAsRAM\configPkg\package\cfg\app_ble_pem33027694351866322013.tmp
    xdctools_3_62_00_08_core\gmake.exe: *** [package.mak:202: package/cfg/app_ble_pem3.xdl] Error 1
    xdctools_3_62_00_08_core\gmake.exe: *** [package/cfg/app_ble_pem3.xdl] Deleting file 'package/cfg/app_ble_pem3.h'
    xdctools_3_62_00_08_core\gmake.exe: unlink: package/cfg/app_ble_pem3.h: Permission denied
    xdctools_3_62_00_08_core\gmake.exe: *** [package/cfg/app_ble_pem3.xdl] Deleting file 'package/cfg/app_ble_pem3.c'
    xdctools_3_62_00_08_core\gmake.exe: unlink: package/cfg/app_ble_pem3.c: Permission denied
    js: "C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/tools/Cmdr.xs", line 52: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
    gmake[1]: *** [build-9977473-inproc] Error 1
    gmake: *** [build-9977473] Error 2
    TOOLS/subdir_rules.mk:9: recipe for target 'build-9977473' failed
    gmake: Target 'all' not remade because of errors.

    **** Build Finished ****

  • Hi,

    Could you please specify the SDK version, the tools versions and if you manage to build the unmodified project?

    At first look, it seems like an issue with the folder FlashROM_StackLibrary_CacheAsRAM\configPkg. The system does not manage to delete and write files in this location. I would suggest to delete this folder from the Windows explorer.

    I hope this will help,

    Best regards,