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: Bluetooth forum

Part Number: CC2640R2F
Other Parts Discussed in Thread: SYSBIOS

Hi,

I have a similar problem, except that a don't have any non-alphanumeric character in any path. 

Project : 

Code Composer Studio Version: 11.1.0.00011  

Console : 

**** Build of configuration FlashROM_StackLibrary for project ble5_project_zero_cc2640r2lp_app ****

"C:\\ti\\ccs1110\\ccs\\utils\\bin\\gmake" -k -j 2 all -O

Building file: "../TOOLS/app_ble.cfg"
Invoking: XDCtools
"C:/ti/xdctools_3_51_03_28_core/xs" --xdcpath="C:/ti/simplelink_cc2640r2_sdk_5_30_00_03/source;C:/ti/simplelink_cc2640r2_sdk_5_30_00_03/kernel/tirtos/packages;C:/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/ble5stack;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M3 -p ti.platforms.simplelink:CC2640R2F -r release -c "C:/ti/ccs1110/ccs/tools/compiler/ti-cgt-arm_20.2.5.LTS" --compileOptions "-mv7M4 --code_state=16 -me -O2 --opt_for_speed=0 --include_path=\"C:/Users/Yanis/workspace_v11/ble5_project_zero_cc2640r2lp_app\" --include_path=\"C:/Users/Yanis/workspace_v11/ble5_project_zero_cc2640r2lp_app/Application\" --include_path=\"C:/Users/Yanis/workspace_v11/ble5_project_zero_cc2640r2lp_app/Startup\" --include_path=\"C:/Users/Yanis/workspace_v11/ble5_project_zero_cc2640r2lp_app/PROFILES\" --include_path=\"C:/Users/Yanis/workspace_v11/ble5_project_zero_cc2640r2lp_app/Include\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_5_30_00_03/examples/rtos/CC2640R2_LAUNCHXL/ble5stack/project_zero/src/extra\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/ble5stack/controller/cc26xx/inc\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/ble5stack/inc\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/ble5stack/rom\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/ble5stack/common/cc26xx\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/ble5stack/icall/inc\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/ble5stack/target\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/ble5stack/hal/src/target/_common\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/ble5stack/hal/src/target/_common/cc26xx\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/ble5stack/hal/src/inc\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/ble5stack/heapmgr\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/ble5stack/icall/src/inc\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/ble5stack/osal/src/inc\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/ble5stack/services/src/saddr\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/ble5stack/services/src/sdata\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/devices/cc26x0r2\" --include_path=\"C:/ti/ccs1110/ccs/tools/compiler/ti-cgt-arm_20.2.5.LTS/include\" --define=DeviceFamily_CC26X0R2 --define=uartlog_FILE=\"\"\"\" --define=UARTLOG_ENABLE -g --c99 --gcc --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi " "../TOOLS/app_ble.cfg"
TOOLS/subdir_rules.mk:12: recipe for target 'build-1079041681-inproc' failed
gmake[1]: *** [build-1079041681-inproc] Error -1073741701
gmake: *** [build-1079041681] Error 2
TOOLS/subdir_rules.mk:9: recipe for target 'build-1079041681' failed
gmake: Target 'all' not remade because of errors.

**** Build Finished ****

Thank you for your help.

  • Hi Yanis,

    I'm forwarding this to the relevant team now. Thank you for your patience.

    Best,

    Nate

  • Hello Yanis,

    I used the same versions of the tools/SDK and imported the same project. I was not able to reproduce that error. I was able to build the cdg file without issue:

    **** Build of configuration FlashROM_StackLibrary for project ble5_project_zero_cc2640r2lp_app ****

    "C:\\ti\\ccs1110\\ccs\\utils\\bin\\gmake" -k -j 8 all -O

    Building file: "../TOOLS/app_ble.cfg"
    Invoking: XDCtools
    "C:/ti/xdctools_3_51_03_28_core/xs" --xdcpath="C:/ti/simplelink_cc2640r2_sdk_5_30_00_03/source;C:/ti/simplelink_cc2640r2_sdk_5_30_00_03/kernel/tirtos/packages;C:/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/ble5stack;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M3 -p ti.platforms.simplelink:CC2640R2F -r release -c "C:/ti/ccs1110/ccs/tools/compiler/ti-cgt-arm_20.2.5.LTS" --compileOptions "-mv7M4 --code_state=16 -me -O2 --opt_for_speed=0 --include_path=\"C:/ti/workspaces/1110/ble5_project_zero_cc2640r2lp_app\" --include_path=\"C:/ti/workspaces/1110/ble5_project_zero_cc2640r2lp_app/Application\" --include_path=\"C:/ti/workspaces/1110/ble5_project_zero_cc2640r2lp_app/Startup\" --include_path=\"C:/ti/workspaces/1110/ble5_project_zero_cc2640r2lp_app/PROFILES\" --include_path=\"C:/ti/workspaces/1110/ble5_project_zero_cc2640r2lp_app/Include\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_5_30_00_03/examples/rtos/CC2640R2_LAUNCHXL/ble5stack/project_zero/src/extra\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/ble5stack/controller/cc26xx/inc\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/ble5stack/inc\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/ble5stack/rom\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/ble5stack/common/cc26xx\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/ble5stack/icall/inc\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/ble5stack/target\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/ble5stack/hal/src/target/_common\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/ble5stack/hal/src/target/_common/cc26xx\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/ble5stack/hal/src/inc\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/ble5stack/heapmgr\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/ble5stack/icall/src/inc\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/ble5stack/osal/src/inc\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/ble5stack/services/src/saddr\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/ble5stack/services/src/sdata\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/devices/cc26x0r2\" --include_path=\"C:/ti/ccs1110/ccs/tools/compiler/ti-cgt-arm_20.2.5.LTS/include\" --define=DeviceFamily_CC26X0R2 --define=uartlog_FILE=\"\"\"\" --define=UARTLOG_ENABLE -g --c99 --gcc --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi " "../TOOLS/app_ble.cfg"
    making package.mak (because of package.bld) ...
    generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
    configuring app_ble.xem3 from package/cfg/app_ble_pem3.cfg ...
    generating custom ROM library makefile ...
    Starting build of library sources ...
    making C:/ti/workspaces/1110/ble5_project_zero_cc2640r2lp_app/TOOLS/src/sysbios/rom_sysbios.aem3 ...
    clem3 C:/ti/simplelink_cc2640r2_sdk_5_30_00_03/kernel/tirtos/packages/ti/sysbios/BIOS.c ...
    asmem3 C:/ti/simplelink_cc2640r2_sdk_5_30_00_03/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M ...
    asmem3 C:/ti/simplelink_cc2640r2_sdk_5_30_00_03/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm_switch.sv7M ...
    asmem3 C:/ti/simplelink_cc2640r2_sdk_5_30_00_03/kernel/tirtos/packages/ti/sysbios/family/arm/m3/IntrinsicsSupport_asm.sv7M ...
    asmem3 C:/ti/simplelink_cc2640r2_sdk_5_30_00_03/kernel/tirtos/packages/ti/sysbios/family/arm/m3/TaskSupport_asm.sv7M ...
    arem3 rom_sysbios.obj m3_Hwi_asm.obj m3_Hwi_asm_switch.obj m3_IntrinsicsSupport_asm.obj m3_TaskSupport_asm.obj ...
    Build of libraries done.
    clem3 package/cfg/app_ble_pem3.c ...
    Finished building: "../TOOLS/app_ble.cfg"

    -----------

    There must be something specific to you environment. If you have any antivirus software on your PC, can you temporarily try disabling it and see if that helps at all?

    Also, what Windows version are you using?

    Thanks

    ki

  • Dear Ki,

    Thank you for your answer.

    I don't have any antivirus on my computer. I tried to disable Windows Defender, but the result is the same.

    Also, my computer is on Windows 10 Family Edition Version 21H2 Build 19044.1466.

    Thank you for your help.

    Best regards,

    CHOUKRANE Yanis

  • Can you open a DOS command window and browse to the configuration subfolder of the project?

    For you that would be:

    C:\Users\Yanis\workspace_v11\ble5_project_zero_cc2640r2lp_app\FlashROM_StackLibrary

    From that location in the command window, run the below command:

    "C:/ti/xdctools_3_51_03_28_core/xs" --xdcpath="C:/ti/simplelink_cc2640r2_sdk_5_30_00_03/source;C:/ti/simplelink_cc2640r2_sdk_5_30_00_03/kernel/tirtos/packages;C:/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/ble5stack;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M3 -p ti.platforms.simplelink:CC2640R2F -r release -c "C:/ti/ccs1110/ccs/tools/compiler/ti-cgt-arm_20.2.5.LTS" --compileOptions "-mv7M4 --code_state=16 -me -O2 --opt_for_speed=0 --include_path=\"C:/Users/Yanis/workspace_v11/ble5_project_zero_cc2640r2lp_app\" --include_path=\"C:/Users/Yanis/workspace_v11/ble5_project_zero_cc2640r2lp_app/Application\" --include_path=\"C:/Users/Yanis/workspace_v11/ble5_project_zero_cc2640r2lp_app/Startup\" --include_path=\"C:/Users/Yanis/workspace_v11/ble5_project_zero_cc2640r2lp_app/PROFILES\" --include_path=\"C:/Users/Yanis/workspace_v11/ble5_project_zero_cc2640r2lp_app/Include\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_5_30_00_03/examples/rtos/CC2640R2_LAUNCHXL/ble5stack/project_zero/src/extra\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/ble5stack/controller/cc26xx/inc\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/ble5stack/inc\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/ble5stack/rom\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/ble5stack/common/cc26xx\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/ble5stack/icall/inc\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/ble5stack/target\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/ble5stack/hal/src/target/_common\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/ble5stack/hal/src/target/_common/cc26xx\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/ble5stack/hal/src/inc\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/ble5stack/heapmgr\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/ble5stack/icall/src/inc\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/ble5stack/osal/src/inc\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/ble5stack/services/src/saddr\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/ble5stack/services/src/sdata\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/devices/cc26x0r2\" --include_path=\"C:/ti/ccs1110/ccs/tools/compiler/ti-cgt-arm_20.2.5.LTS/include\" --define=DeviceFamily_CC26X0R2 --define=uartlog_FILE=\"\"\"\" --define=UARTLOG_ENABLE -g --c99 --gcc --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi " "../TOOLS/app_ble.cfg"

    Please post the output of that command. If easier, you can pipe the output to a text file and post the that.

    Thanks

    ki

  • Note that the above command is one single command. I would just copy and paste that whole command as-is into the command window and run it.

  • Hello,

    After I disabled Windows Defender, I removed CCS and I reinstalled it.

    Now it is working well.

    Thank you for your help.

    Best regards.