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.

Build Error in TMP007 Example

Other Parts Discussed in Thread: TMP007, SYSBIOS, CC2650

Dear Support Team,

I was working on the Example Project for the TMP007 yesterday without any build error and today i got "makefile:57: recipe for target 'rom_sysbios.obj' failed


"C:/ti/tirtos_cc13xx_cc26xx_2_21_00_06/products/bios_6_46_01_37/packages/ti/sysbios/family/arm/cc26xx/Boot.c", line 36: fatal error: cannot open source file "driverlib/sys_ctrl.h"

how can this happen? i changed nothing since yesterday.

also i get these messages:

1 catastrophic error detected in the compilation of "C:/ti/tirtos_cc13xx_cc26xx_2_21_00_06/products/bios_6_46_01_37/packages/ti/sysbios/family/arm/cc26xx/Boot.c".
Compilation terminated.
gmake[1]: *** [rom_sysbios.obj] Error 1
gmake[1]: Target 'all' not remade because of errors.
gmake: *** [../src/sysbios/rom_sysbios.aem3] Error 2
gmake[1]: Leaving directory 'C:/Users/ktybu/workspace_v12/TaskTest_i2ctmp007/src/sysbios'
../src/makefile.libs:56: recipe for target '../src/sysbios/rom_sysbios.aem3' failed
gmake: Target 'all' not remade because of errors.

what did i do or not do to make this happen? when it was working yesterday?

Im using newest Version of CCS on Win11 and this is what i've installed in c://ti

i ve no idead how to configure CCS12 to make this work. i reinstalled ccs alreadz the third time hoping the drivers will isntall correctly. Because i dont understasnd why it does give me this errors it is very hard to debug this.

  • even compiling an empty project brings me this error

  • Hello,

    It looks like your project is not configured correctly. Please provide ALL the build output in your build console. You can copy&paste to a text file and then attach the text file to this thread

    Thanks

    ki

  • Hi, yes the funny thing is just that i ve not changed anything manually since i sucessfully compiled the project, which is why i ve no idea right now what went wrong. May this be because of an anti virus which deletes some files? i use windows 11 AV and normally turn it off when im programming or updating with CCS. Or was there an update which has modified thing i have not recognized?

    i added the file with the build console log. My real goal is to initiate a i2c transfer with the CC2650 as a master receive and the LSM9ds1 as a slave device. My idea was to use the tmp007 as a base project file and modify it.

    i just renamed the example to have both in workspace the original an my modification. In general it should work by just replacing the slave address and the rx and tx register address?!

    builderrors_CCSTMP007.txt
    **** Build of configuration Debug__TI for project TaskTest_i2ctmp007 ****
    
    "C:\\ti\\ccs1210\\ccs\\utils\\bin\\gmake" -k -j 16 all -O 
     
    making ../src/sysbios/rom_sysbios.aem3 ...
    Building file: "../i2ctmp007.cfg"
    Invoking: XDCtools
    "C:/ti/xdctools_3_32_00_06_core/xs" --xdcpath="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/packages;C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages;C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/bios_6_46_01_38/packages;C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/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/ccs1210/ccs/tools/compiler/ti-cgt-arm_20.2.7.LTS" "../i2ctmp007.cfg"
    configuring i2ctmp007.xem3 from package/cfg/i2ctmp007_pem3.cfg ...
    gmake[1]: Entering directory 'C:/Users/ktybu/workspace_v12/TaskTest_i2ctmp007/src/sysbios'
    clem3 C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/bios_6_46_01_38/packages/ti/sysbios/BIOS.c ...
     
    >> Compilation failure
    makefile:57: recipe for target 'rom_sysbios.obj' failed
    "C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/bios_6_46_01_38/packages/ti/sysbios/family/arm/cc26xx/Boot.c", line 36: fatal error: cannot open source file "driverlib/sys_ctrl.h"
    1 catastrophic error detected in the compilation of "C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/bios_6_46_01_38/packages/ti/sysbios/family/arm/cc26xx/Boot.c".
    Compilation terminated.
    gmake[1]: *** [rom_sysbios.obj] Error 1
    gmake[1]: Target 'all' not remade because of errors.
    gmake: *** [../src/sysbios/rom_sysbios.aem3] Error 2
    gmake[1]: Leaving directory 'C:/Users/ktybu/workspace_v12/TaskTest_i2ctmp007/src/sysbios'
    ../src/makefile.libs:56: recipe for target '../src/sysbios/rom_sysbios.aem3' failed
    generating custom ROM library makefile ... 
    Starting build of library sources ...
    making C:/Users/ktybu/workspace_v12/TaskTest_i2ctmp007/src/sysbios/rom_sysbios.aem3 ...
    gmake[1]: Entering directory `C:/Users/ktybu/workspace_v12/TaskTest_i2ctmp007/src/sysbios'
    clem3 C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/bios_6_46_01_38/packages/ti/sysbios/BIOS.c ...
     
    >> Compilation failure
    gmake[1]: Leaving directory `C:/Users/ktybu/workspace_v12/TaskTest_i2ctmp007/src/sysbios'
    Build of libraries failed.
    subdir_rules.mk:19: recipe for target 'build-1455745841-inproc' failed
    "C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/bios_6_46_01_38/packages/ti/sysbios/family/arm/cc26xx/Boot.c", line 36: fatal error: cannot open source file "driverlib/sys_ctrl.h"
    1 catastrophic error detected in the compilation of "C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/bios_6_46_01_38/packages/ti/sysbios/family/arm/cc26xx/Boot.c".
    Compilation terminated.
    gmake[1]: *** [rom_sysbios.obj] Error 1
    gmake: *** [C:/Users/ktybu/workspace_v12/TaskTest_i2ctmp007/src/sysbios/rom_sysbios.aem3] Error 2
    error: xdc.cfg.SourceDir: "C:/ti/xdctools_3_32_00_06_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_32_00_06_core/packages/xdc/cfg/Main.xs", line 160: Error: Configuration failed!
    xdctools_3_32_00_06_core\gmake.exe: *** [package/cfg/i2ctmp007_pem3.xdl] Error 1
    xdctools_3_32_00_06_core\gmake.exe: *** Deleting file `package/cfg/i2ctmp007_pem3.xdl'
    xdctools_3_32_00_06_core\gmake.exe: *** [package/cfg/i2ctmp007_pem3.xdl] Deleting file `package/cfg/i2ctmp007_pem3.h'
    xdctools_3_32_00_06_core\gmake.exe: *** [package/cfg/i2ctmp007_pem3.xdl] Deleting file `package/cfg/i2ctmp007_pem3.c'
    js: "C:/ti/xdctools_3_32_00_06_core/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
    gmake[1]: *** [build-1455745841-inproc] Error 1
    gmake: *** [build-1455745841] Error 2
    subdir_rules.mk:16: recipe for target 'build-1455745841' failed
    gmake: Target 'all' not remade because of errors.
    
    **** Build Finished ****

  • Hello, 

    you have one renamed project and the original.

    Can you compile the original project?

    If answers is YES, please compare project properties -> compiler include directories of the both projects.

  • Hello kai,

    It may be worth re-installing tirtos_cc13xx_cc26xx_2_21_00_06 and xdctools_3_32_00_06_core to determine whether this resolves the issues.  Both should be discovered products from CCS Preferences -> Code Composer Studio -> Products.

    Regards,
    Ryan