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.

Compiler/CC1310: Cannot build TI-RTOS project using Code Composer Studio V8 on Mac OS Mojave

Part Number: CC1310
Other Parts Discussed in Thread: SYSBIOS

Tool/software: TI C/C++ Compiler

Hi,

I have problems building my project using Code Composer Studio V8 on Mac OS Mojave. I did not have this problem when running Code Composer Studio V7 on the earlier version of Mac OS.

I am currently getting the following error message, when trying to compile:

utils.loadCapsule: can't find 'ti/sysbios/knl/Task.xs' along the path '/Users/khaledsaied/workspace_v8/nsense_cc1310;/Applications/ti/ccsv8/ccs_base;/Applications/ti/tirtos_cc13xx_cc26xx_2_20_00_06/packages;/Applications/ti/tirtos_cc13xx_cc26xx_2_20_00_06/products/tidrivers_cc13xx_cc26xx_2_20_00_08/packages;/Applications/ti/tirtos_cc13xx_cc26xx_2_20_00_06/products/bios_6_46_00_23/packages;/Applications/ti/tirtos_cc13xx_cc26xx_2_20_00_06/products/uia_2_00_06_52/packages;/Applications/ti/xdctools_3_32_01_22_core/packages;..;' /nsense_cc1310 .xdchelp line 36 C/C++ Problem

Line 36 in the rfPacketTx.cfg has following code:

/* ================ Boot configuration ================ */

var Boot = xdc.useModule('ti.sysbios.family.arm.cc26xx.Boot');

  • More details on the console output I get from the error:


    **** Build of configuration Debug for project nsense_cc1310 ****

    /Applications/ti/ccsv8/utils/bin/gmake -k all

    Building file: "../rfPacketTx.cfg"
    Invoking: XDCtools
    "/Applications/ti/xdctools_3_32_01_22_core/xs" --xdcpath="/Applications/ti/ccsv8/ccs_base;/Applications/ti/tirtos_cc13xx_cc26xx_2_20_00_06/packages;/Applications/ti/tirtos_cc13xx_cc26xx_2_20_00_06/products/tidrivers_cc13xx_cc26xx_2_20_00_08/packages;/Applications/ti/tirtos_cc13xx_cc26xx_2_20_00_06/products/bios_6_46_00_23/packages;/Applications/ti/tirtos_cc13xx_cc26xx_2_20_00_06/products/uia_2_00_06_52/packages;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M3 -p ti.platforms.simplelink:CC1310F128 -r debug -c "/Applications/ti/ccsv8/tools/compiler/ti-cgt-arm_16.9.10.LTS" --compileOptions "-mv7M3 --code_state=16 --float_support=vfplib -me --include_path=\"/Applications/ti/ccsv8/tools/compiler/ti-cgt-arm_16.9.10.LTS/include\" --include_path=\"/Users/khaledsaied/workspace_v8/nsense_cc1310\" --include_path=\"/Users/khaledsaied/workspace_v8/nsense_cc1310/smartrf_settings\" --include_path=\"/Applications/ti/tirtos_cc13xx_cc26xx_2_20_00_06/products/cc13xxware_2_04_02_17240\" --include_path=\"/Applications/ti/tirtos_cc13xx_cc26xx_2_20_00_06/products/cc13xxware_2_04_02_17240/driverlib\" --define=ccs -g --printf_support=full --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi " "../rfPacketTx.cfg"
    making package.mak (because of package.bld) ...
    generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
    configuring rfPacketTx.xem3 from package/cfg/rfPacketTx_pem3.cfg ...
    subdir_rules.mk:17: recipe for target 'build-1755962895-inproc' failed
    js: "/Users/khaledsaied/workspace_v8/nsense_cc1310/rfPacketTx.cfg", line 36: Error: utils.loadCapsule: can't find 'ti/sysbios/knl/Task.xs' along the path '/Users/khaledsaied/workspace_v8/nsense_cc1310;/Applications/ti/ccsv8/ccs_base;/Applications/ti/tirtos_cc13xx_cc26xx_2_20_00_06/packages;/Applications/ti/tirtos_cc13xx_cc26xx_2_20_00_06/products/tidrivers_cc13xx_cc26xx_2_20_00_08/packages;/Applications/ti/tirtos_cc13xx_cc26xx_2_20_00_06/products/bios_6_46_00_23/packages;/Applications/ti/tirtos_cc13xx_cc26xx_2_20_00_06/products/uia_2_00_06_52/packages;/Applications/ti/xdctools_3_32_01_22_core/packages;..;'
    "./package/cfg/rfPacketTx_pem3.cfg", line 180
    gmake: *** [package/cfg/rfPacketTx_pem3.xdl] Error 1
    js: "/Applications/ti/xdctools_3_32_01_22_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-1755962895-inproc] Error 1
  • Hi Khaled,

    Can you attach the build output in a file. It looks like some of it was cut off in the copy/paste above.

    Also, can you confirm
    1. there are no spaces or dashes (' ' or '-') in any of the directories (e.g. workspace, CCS location, TI-RTOS location, etc.).
    2. there is not another shell in your path.

    Can you include the build log also for the working setup you had?

    Todd
  • Did this get resolved?

    Todd

    [4/10 Update: Marking this as TI Thinks Resolved due to no activity from the original poster.]