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/LAUNCHXL-CC1310: LAUNCHXL-CC1310

Part Number: LAUNCHXL-CC1310
Other Parts Discussed in Thread: CC1310, SYSBIOS

Tool/software: Code Composer Studio

I am very new with CCS  

However I am trying to practice with cc1310. I use example from pinTnterrrup_ cc1310 LAUNCHXL_tirtos_ccs. I did IDE to  project explorer. Try to build but I have error tried  variety way to fix it but still have problem

Error: Cannot build project. Referenced RTSC Configuration project 'tirtos_builds_CC1310_LAUNCHXL_release _ccs contains build-error

  • What is are the exact build errors for the TIRTOS project?

    Thanks
    ki
  • Version: Window 10 64bit

    CCS 8.3

    Board: cc1310

    Example take from Simplink cc131x0 SDK

    It is example from:            example/cc1310 launchpad/ TI Drivers/pinInterrupt/TI-RTOS/CCS Complier/pinInterrupt

    Try to Build but get ERROR MESSAGE: Error: Cannot build project. Referenced RTSC Configuration project

    "You ask me  what exact build errors for the TIRTOS project?"  --> I DON'T KNOW THAT WHY I NEED YOUR HELP!

    Thanks!

    Johnny T

  • I'm looking for ALL the build messages in the Build Console for the TIRTOS project. The Build Console should have messages in there with more details on why the dependent project failed. Please copy and paste all the messages in the build console to a text file and attach it to this thread.
  • **** Build of configuration Debug for project tirtos_builds_CC1310_LAUNCHXL_release_ccs ****

    "C:\\ti\\ccsv8\\utils\\bin\\gmake" -k -j 12 all -O

    making ../src/sysbios/rom_sysbios.aem3 ...
    gmake[1]: Entering directory 'C:/ti/cc13x0 SDK2.30.00.2_121118/Workshop/tirtos_builds_CC1310_LAUNCHXL_release_ccs/src/sysbios'
    asmem3 C:/ti/simplelink_cc13x0_sdk_2_40_00_20/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M ...
    7 Assembly Errors, 1 Assembly Warning

    >> Compilation failure
    makefile:42: recipe for target 'm3_Hwi_asm.obj' failed
    "C:\ti\simplelink_cc13x0_sdk_2_40_00_20\kernel\tirtos\packages\ti\sysbios\family\arm\m3\package/internal/Hwi.xdc.h", line 15: fatal error: cannot open source file "ti/sysbios/family/arm/m3/Hwi.h"
    Compilation terminated.
    "C:/ti/simplelink_cc13x0_sdk_2_40_00_20/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", WARNING! at line 37:
    [E1000]
    error while processing C code in .cdecls directive
    .cdecls C,NOLIST,"package/internal/Hwi.xdc.h"

    "C:/ti/simplelink_cc13x0_sdk_2_40_00_20/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", ERROR! at line 53:
    [E0004]
    Structure/Union tag symbol expected
    ti_sysbios_family_arm_m3_Hwi_Module__state__V .tag ti_sysbios_family_arm_m3_Hwi_Module_State

    "C:/ti/simplelink_cc13x0_sdk_2_40_00_20/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", ERROR! at line 99:
    [E0004]
    Absolute, well-defined integer value expected
    .if ti_sysbios_Build_useIndirectReferences

    "C:/ti/simplelink_cc13x0_sdk_2_40_00_20/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", REMARK at line 99:
    [R0001]
    After symbol substitution the line became:
    .if FALSE

    "C:/ti/simplelink_cc13x0_sdk_2_40_00_20/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", ERROR! at line 160:
    [E0004]
    Absolute, well-defined integer value expected
    .if ti_sysbios_Build_useIndirectReferences

    "C:/ti/simplelink_cc13x0_sdk_2_40_00_20/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", REMARK at line 160:
    [R0001]
    After symbol substitution the line became:
    .if FALSE

    "C:/ti/simplelink_cc13x0_sdk_2_40_00_20/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", ERROR! at line 263:
    [E0004]
    Absolute, well-defined integer value expected
    .if ti_sysbios_Build_useIndirectReferences

    "C:/ti/simplelink_cc13x0_sdk_2_40_00_20/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", REMARK at line 263:
    [R0001]
    After symbol substitution the line became:
    .if FALSE

    "C:/ti/simplelink_cc13x0_sdk_2_40_00_20/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", ERROR! at line 267:
    [E0009]
    Missing struct/union member or tag
    swiTaskKeyAddr: .word ti_sysbios_family_arm_m3_Hwi_Module__state__V.swiTaskKeys

    "C:/ti/simplelink_cc13x0_sdk_2_40_00_20/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", ERROR! at line 289:
    [E0004]
    Absolute, well-defined integer value expected
    .if ti_sysbios_BIOS_smpEnabled__D

    "C:/ti/simplelink_cc13x0_sdk_2_40_00_20/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", REMARK at line 289:
    [R0001]
    After symbol substitution the line became:
    .if FALSE

    "C:/ti/simplelink_cc13x0_sdk_2_40_00_20/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", ERROR! at EOF:
    [E0300]
    The following symbols are undefined:
    FALSE
    swiTaskKeys
    ti_sysbios_family_arm_m3_Hwi_Module_State
    ti_sysbios_family_arm_m3_Hwi_Module__state__V

    Errors in Source - Assembler Aborted
    gmake[1]: *** [m3_Hwi_asm.obj] Error 1
    gmake[1]: Leaving directory 'C:/ti/cc13x0 SDK2.30.00.2_121118/Workshop/tirtos_builds_CC1310_LAUNCHXL_release_ccs/src/sysbios'
  • Thanks, this is exactly the messages I was looking for. The dependent TI-RTOS project failed to build. I will bring this thread to the attention of the TI-RTOS experts for further investigation.

    Thanks
    ki
  • Can you remove the spaces and '.' from your workspace directory and try again?
  • Ki,
    It still have the sample problem!
    **** Build of configuration Debug for project tirtos_builds_CC1310_LAUNCHXL_release_ccs ****

    "C:\\ti\\ccsv8\\utils\\bin\\gmake" -k -j 12 all -O

    making ../src/sysbios/rom_sysbios.aem3 ...
    gmake[1]: Entering directory 'C:/ti/cc13x0_SDK2.30.00.2_121118/Workshop/tirtos_builds_CC1310_LAUNCHXL_release_ccs/src/sysbios'
    asmem3 C:/ti/simplelink_cc13x0_sdk_2_40_00_20/kernel/tirtos/packages/ti/sysbios/family/arm/m3/IntrinsicsSupport_asm.sv7M ...
    gmake[1]: Leaving directory 'C:/ti/cc13x0_SDK2.30.00.2_121118/Workshop/tirtos_builds_CC1310_LAUNCHXL_release_ccs/src/sysbios'
    gmake[1]: Entering directory 'C:/ti/cc13x0_SDK2.30.00.2_121118/Workshop/tirtos_builds_CC1310_LAUNCHXL_release_ccs/src/sysbios'
    asmem3 C:/ti/simplelink_cc13x0_sdk_2_40_00_20/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm_switch.sv7M ...
    gmake[1]: Leaving directory 'C:/ti/cc13x0_SDK2.30.00.2_121118/Workshop/tirtos_builds_CC1310_LAUNCHXL_release_ccs/src/sysbios'
    gmake[1]: Entering directory 'C:/ti/cc13x0_SDK2.30.00.2_121118/Workshop/tirtos_builds_CC1310_LAUNCHXL_release_ccs/src/sysbios'
    asmem3 C:/ti/simplelink_cc13x0_sdk_2_40_00_20/kernel/tirtos/packages/ti/sysbios/family/arm/m3/TaskSupport_asm.sv7M ...
    gmake[1]: Leaving directory 'C:/ti/cc13x0_SDK2.30.00.2_121118/Workshop/tirtos_builds_CC1310_LAUNCHXL_release_ccs/src/sysbios'
    gmake[1]: Entering directory 'C:/ti/cc13x0_SDK2.30.00.2_121118/Workshop/tirtos_builds_CC1310_LAUNCHXL_release_ccs/src/sysbios'
    asmem3 C:/ti/simplelink_cc13x0_sdk_2_40_00_20/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M ...
    7 Assembly Errors, 1 Assembly Warning

    >> Compilation failure
    makefile:42: recipe for target 'm3_Hwi_asm.obj' failed
    "C:\ti\simplelink_cc13x0_sdk_2_40_00_20\kernel\tirtos\packages\ti\sysbios\family\arm\m3\package/internal/Hwi.xdc.h", line 15: fatal error: cannot open source file "ti/sysbios/family/arm/m3/Hwi.h"
    Compilation terminated.
    "C:/ti/simplelink_cc13x0_sdk_2_40_00_20/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", WARNING! at line 37:
    [E1000]
    error while processing C code in .cdecls directive
    .cdecls C,NOLIST,"package/internal/Hwi.xdc.h"

    "C:/ti/simplelink_cc13x0_sdk_2_40_00_20/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", ERROR! at line 53:
    [E0004]
    Structure/Union tag symbol expected
    ti_sysbios_family_arm_m3_Hwi_Module__state__V .tag ti_sysbios_family_arm_m3_Hwi_Module_State

    "C:/ti/simplelink_cc13x0_sdk_2_40_00_20/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", ERROR! at line 99:
    [E0004]
    Absolute, well-defined integer value expected
    .if ti_sysbios_Build_useIndirectReferences

    "C:/ti/simplelink_cc13x0_sdk_2_40_00_20/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", REMARK at line 99:
    [R0001]
    After symbol substitution the line became:
    .if FALSE

    "C:/ti/simplelink_cc13x0_sdk_2_40_00_20/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", ERROR! at line 160:
    [E0004]
    Absolute, well-defined integer value expected
    .if ti_sysbios_Build_useIndirectReferences

    "C:/ti/simplelink_cc13x0_sdk_2_40_00_20/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", REMARK at line 160:
    [R0001]
    After symbol substitution the line became:
    .if FALSE

    "C:/ti/simplelink_cc13x0_sdk_2_40_00_20/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", ERROR! at line 263:
    [E0004]
    Absolute, well-defined integer value expected
    .if ti_sysbios_Build_useIndirectReferences

    "C:/ti/simplelink_cc13x0_sdk_2_40_00_20/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", REMARK at line 263:
    [R0001]
    After symbol substitution the line became:
    .if FALSE

    "C:/ti/simplelink_cc13x0_sdk_2_40_00_20/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", ERROR! at line 267:
    [E0009]
    Missing struct/union member or tag
    swiTaskKeyAddr: .word ti_sysbios_family_arm_m3_Hwi_Module__state__V.swiTaskKeys

    "C:/ti/simplelink_cc13x0_sdk_2_40_00_20/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", ERROR! at line 289:
    [E0004]
    Absolute, well-defined integer value expected
    .if ti_sysbios_BIOS_smpEnabled__D

    "C:/ti/simplelink_cc13x0_sdk_2_40_00_20/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", REMARK at line 289:
    [R0001]
    After symbol substitution the line became:
    .if FALSE

    "C:/ti/simplelink_cc13x0_sdk_2_40_00_20/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", ERROR! at EOF:
    [E0300]
    The following symbols are undefined:
    FALSE
    swiTaskKeys
    ti_sysbios_family_arm_m3_Hwi_Module_State
    ti_sysbios_family_arm_m3_Hwi_Module__state__V

    Errors in Source - Assembler Aborted
    gmake[1]: *** [m3_Hwi_asm.obj] Error 1
    gmake[1]: Leaving directory 'C:/ti/cc13x0_SDK2.30.00.2_121118/Workshop/tirtos_builds_CC1310_LAUNCHXL_release_ccs/src/sysbios'
  • Please remove the '.'s also. So cc13x0_SDK2.30.00.2_121118 -> cc13x0_SDK2_30_00_2_121118
  • cc13x0_SDK2_30_00_2_121118 It is still have same problem

    **** Build of configuration Debug for project tirtos_builds_CC1310_LAUNCHXL_release_ccs ****

    "C:\\ti\\ccsv8\\utils\\bin\\gmake" -k -j 12 all -O

    making ../src/sysbios/rom_sysbios.aem3 ...
    gmake[1]: Entering directory 'C:/ti/cc13x0 SDK2.30.00.2_121118/Workshop/tirtos_builds_CC1310_LAUNCHXL_release_ccs/src/sysbios'
    asmem3 C:/ti/simplelink_cc13x0_sdk_2_40_00_20/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M ...
    7 Assembly Errors, 1 Assembly Warning

    >> Compilation failure
    makefile:42: recipe for target 'm3_Hwi_asm.obj' failed
    "C:\ti\simplelink_cc13x0_sdk_2_40_00_20\kernel\tirtos\packages\ti\sysbios\family\arm\m3\package/internal/Hwi.xdc.h", line 15: fatal error: cannot open source file "ti/sysbios/family/arm/m3/Hwi.h"
    Compilation terminated.
    "C:/ti/simplelink_cc13x0_sdk_2_40_00_20/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", WARNING! at line 37:
    [E1000]
    error while processing C code in .cdecls directive
    .cdecls C,NOLIST,"package/internal/Hwi.xdc.h"

    "C:/ti/simplelink_cc13x0_sdk_2_40_00_20/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", ERROR! at line 53:
    [E0004]
    Structure/Union tag symbol expected
    ti_sysbios_family_arm_m3_Hwi_Module__state__V .tag ti_sysbios_family_arm_m3_Hwi_Module_State

    "C:/ti/simplelink_cc13x0_sdk_2_40_00_20/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", ERROR! at line 99:
    [E0004]
    Absolute, well-defined integer value expected
    .if ti_sysbios_Build_useIndirectReferences

    "C:/ti/simplelink_cc13x0_sdk_2_40_00_20/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", REMARK at line 99:
    [R0001]
    After symbol substitution the line became:
    .if FALSE

    "C:/ti/simplelink_cc13x0_sdk_2_40_00_20/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", ERROR! at line 160:
    [E0004]
    Absolute, well-defined integer value expected
    .if ti_sysbios_Build_useIndirectReferences

    "C:/ti/simplelink_cc13x0_sdk_2_40_00_20/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", REMARK at line 160:
    [R0001]
    After symbol substitution the line became:
    .if FALSE

    "C:/ti/simplelink_cc13x0_sdk_2_40_00_20/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", ERROR! at line 263:
    [E0004]
    Absolute, well-defined integer value expected
    .if ti_sysbios_Build_useIndirectReferences

    "C:/ti/simplelink_cc13x0_sdk_2_40_00_20/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", REMARK at line 263:
    [R0001]
    After symbol substitution the line became:
    .if FALSE

    "C:/ti/simplelink_cc13x0_sdk_2_40_00_20/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", ERROR! at line 267:
    [E0009]
    Missing struct/union member or tag
    swiTaskKeyAddr: .word ti_sysbios_family_arm_m3_Hwi_Module__state__V.swiTaskKeys

    "C:/ti/simplelink_cc13x0_sdk_2_40_00_20/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", ERROR! at line 289:
    [E0004]
    Absolute, well-defined integer value expected
    .if ti_sysbios_BIOS_smpEnabled__D

    "C:/ti/simplelink_cc13x0_sdk_2_40_00_20/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", REMARK at line 289:
    [R0001]
    After symbol substitution the line became:
    .if FALSE

    "C:/ti/simplelink_cc13x0_sdk_2_40_00_20/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", ERROR! at EOF:
    [E0300]
    The following symbols are undefined:
    FALSE
    swiTaskKeys
    ti_sysbios_family_arm_m3_Hwi_Module_State
    ti_sysbios_family_arm_m3_Hwi_Module__state__V

    Errors in Source - Assembler Aborted
    gmake[1]: *** [m3_Hwi_asm.obj] Error 1
    gmake[1]: Leaving directory 'C:/ti/cc13x0 SDK2.30.00.2_121118/Workshop/tirtos_builds_CC1310_LAUNCHXL_release_ccs/src/sysbios'
  • Johnny Tran said:
    gmake[1]: Leaving directory 'C:/ti/cc13x0 SDK2.30.00.2_121118/Workshop/tirtos_builds_CC1310_LAUNCHXL_release_ccs/src/sysbios'

    There are still spaces and '.' in the workspace (cc13x0 SDK2.30.00.2_121118/Workshop)

  • I did change it:
    from SDK2.30.00.2_121118
    to cc13x0_SDK2_30_00_2_121118
    then when I open CCS/Open Projects from file System/Directory/C/ti/

    it is appeared 2 of SDK2.30.00.2_121118 and cc13x0_SDK2_30_00_2_121118.
    I pick cc13x0_SDK2_30_00_2_121118 (as we expected). It is imported however it do not have build (hammer icon)
    I do not know what happen to my CSS, do I need to update or … CSS platform?
    if yes, how?
    Thanks
    Johnny
  • Can you try and create a new workspace (e.g. c:\ti\foo) and then import any examples (e.g. demos\portable) from the SDK into it. Does it build properly?
  • Still have same problem.
    do you use teamviewer? or something you could control my computer?
  • Do you have a shell in your path? Easiest way to see is to type "path" from a command prompt.
  • I open Command Prompt
    type path: I have below
    Microsoft Windows [Version 10.0.17134.590]
    (c) 2018 Microsoft Corporation. All rights reserved.

    C:\Users\jtran>path
    PATH=C:\WinAVR-20100110\bin;C:\WinAVR-20100110\utils\bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\National Instruments\Shared\ULx\;C:\Program Files (x86)\Measurement Computing\DAQ\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files (x86)\IVI Foundation\VISA\WinNT\Bin\;C:\Program Files\IVI Foundation\VISA\Win64\Bin\;C:\Program Files (x86)\IVI Foundation\VISA\WinNT\Bin;C:\WINDOWS\System32\OpenSSH\;C:\Program Files (x86)\IVI Foundation\IVI\bin;C:\Program Files\IVI Foundation\IVI\bin;C:\Program Files (x86)\National Instruments\Shared\LabVIEW CLI;C:\Program Files\Git\cmd;C:\Program Files\PuTTY\;C:\Users\jtran\AppData\Local\Microsoft\WindowsApps;

    C:\Users\jtran>
  • Johnny,
    I was asked to check this thread and try to help. I am not sure what's the current state of your CCS installation and the project with the problem, so I would like to try to start from the beginning. When you were asked to create a new workspace, did you do it by going to File->Switch Workspace, and then in the dialog box for Workspace type C:/ti/foo? If not, can you try doing that and then import the example again? If that's how you did it, can you right click on the project, and do you have the menu items "Build Project", and "Clean Project"? If yes, click on "Clean Project" and then "Build Project", and then post here the complete output from the build console.

    As for PATH, I see some utilities that could interfere with Cygwin used in some tools that build your project. You can save your current PATH under a different name, and create a new PATH with nothing in it. Then, restart CCS and try building the project, or wait until we found a little bit more about the error you are seeing.

  • Johnny,

    Did this get resolved?

    Todd
  • Tod, Thank you for your concern.

    I did not success with fixing it for a hour. I don't know why.

    I think my CCS 8.3 platform missing files somehow. I uninstalled and do not install it back yet.

    I will install it back and try it again if problem be solved I will let you know

    Thanks!

    Johnny

  • Sounds good. I'm marking it as TI Thinks Resolved, but you can just reject that if the reinstall does not work (or open a new thread if this thread gets locked out).

    Todd