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.

CCS/CC2650: Problem Compiling pinInterrupt_CC2650_Launchxl_TI on CCS 9

Part Number: CC2650
Other Parts Discussed in Thread: SYSBIOS

Tool/software: Code Composer Studio

Hi,

I have downloaded Pin Interrupt example from TI Resource Explorer after installing CCS 9.  Also I have install BLE SDK 2.2.04.

However I am not able to build the project Pin Interrupt example. It throws following errors.

Building file: "../pinInterrupt.cfg"
Invoking: XDCtools
"C:/ti/ccs930/xdctools_3_60_02_34_core/xs" --xdcpath="C:/ti/tirtos_cc13xx_cc26xx_2_21_00_06/packages;C:/ti/tirtos_cc13xx_cc26xx_2_21_00_06/products/tidrivers_cc13xx_cc26xx_2_21_00_04/packages;C:/ti/tirtos_cc13xx_cc26xx_2_21_00_06/products/bios_6_46_01_37/packages;C:/ti/tirtos_cc13xx_cc26xx_2_21_00_06/products/uia_2_01_00_01/packages;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M3 -p ti.platforms.simplelink:CC2650F128 -r release -c "C:/ti/ccs930/ccs/tools/compiler/ti-cgt-arm_18.12.4.LTS" --compileOptions "-mv7M3 --code_state=16 --float_support=vfplib -me --include_path=\"C:/Users/Unno/workspace_v9/pinInterrupt_CC2650_LAUNCHXL_TI\" --include_path=\"C:/Users/Unno/workspace_v9/pinInterrupt_CC2650_LAUNCHXL_TI\" --include_path=\"C:/ti/tirtos_cc13xx_cc26xx_2_21_00_06/products/cc26xxware_2_24_03_17272\" --include_path=\"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-arm_18.12.4.LTS/include\" --define=ccs -g --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi  " "../pinInterrupt.cfg"
making package.mak (because of package.bld) ...
generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
configuring pinInterrupt.xem3 from package/cfg/pinInterrupt_pem3.cfg ...
subdir_rules.mk:19: recipe for target 'build-1613913039-inproc' failed
error: xdc.cfg.Program: "C:/ti/ccs930/xdctools_3_60_02_34_core/packages/xdc/cfg/Program.xs", line 71: xdc.cfg.Program : The package 'ti.sysbios.knl' is not compatible with XDCtools used in this build. Please either use XDCtools compatible with that package, or update the product containing that package, or rebuild the package with XDCtools 3.50 or later.
js: "C:/ti/ccs930/xdctools_3_60_02_34_core/packages/xdc/cfg/Main.xs", line 160: Error: Configuration failed!
gmake.exe: *** [package.mak:202: package/cfg/pinInterrupt_pem3.xdl] Error 1
js: "C:/ti/ccs930/xdctools_3_60_02_34_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-1613913039-inproc] Error 1
gmake: *** No rule to make target 'build-1613913039', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-1613913039', needed by 'configPkg/linker.cmd'.
gmake: *** No rule to make target 'build-1613913039', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-1613913039', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-1613913039', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-1613913039', needed by 'configPkg/compiler.opt'.
gmake: Target 'all' not remade because of errors.

**** Build Finished ****

  • Hello,

    The issue is:

    bluto said:
    error: xdc.cfg.Program: "C:/ti/ccs930/xdctools_3_60_02_34_core/packages/xdc/cfg/Program.xs", line 71: xdc.cfg.Program : The package 'ti.sysbios.knl' is not compatible with XDCtools used in this build. Please either use XDCtools compatible with that package, or update the product containing that package, or rebuild the package with XDCtools 3.50 or later.

    You are using XDCTools v3.60. In the release notes for TI-RTOS 2.21, I see a dependency on XDCTools 3.32.00.06.

    I suggest you download and install XDCTools 3.32.00.06:

    http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/rtsc/3_32_00_06/index_FDS.html

    Thanks

    ki

  • XDC 3.32.0.06 was installed when I installed BLE_SDK. However after restarting CCS 9 I installed the package again by going to Windows -> Preference -> Product . Here it showed new product available. After that XDC 3.32.0.06 was available in project properties.

    Now its working fine. Thanks for help