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/CCSTUDIO: Cannot build project sdk v3.40.0.02

Part Number: CCSTUDIO
Other Parts Discussed in Thread: SYSCONFIG,

Tool/software: Code Composer Studio

Hello, 

recently I clone a project from my repo on my computer. I use CCS v8.3 on both my laptop and my computer in office but when I try to build it I have the following error:

**** Build Finished ****
Buildfile generation error occurred..
Cannot build project. Referenced RTSC Configuration project 'tirtos_builds_CC1352R1_LAUNCHXL_release_ccs' contains build-errors.
Build stopped..

so I check for tirtos_builds_CC1352R1_LAUNCHXL_release_ccs, I build it and than :


**** Build Finished ****
Buildfile generation error occurred..
Product 'com.ti.SIMPLELINK_CC13X2_26X2_SDK' v3.40.0.02 is not currently installed and no compatible version is available. Please install this product or a compatible version.
Build stopped..


Through Resource Explorer I download and install sdk v3.40.0.02 but nothing change. I tried to copy the properties from my prj on my laptop to this one on the office computer but  without any success. This is what I have in the properties view.


 while on the tirtos_builds_CC1352r1_launchxl_release_ccs properties view I got:


Moreover, I tried to uninstall and install again ccsv8.3 but nothing changes.

best regards,
Vincenzo 

  • Hello Vincenzo,

    You need to have the SDK "discovered" by CCS. Check the CCS workspace preferences:

    If the SDK does not appear in the list, try pressing the Refresh button.

    NOTE: I see you are using SDK version 3.40 with CCS 8.3.0. I strongly recommend you update your CCS version. Many of the SDK 3.40 examples use SysConfig and will require you to use CCS 9.2.0+ to build them.

    Thanks

    ki

  • Hi Ki, 

    Thanks for your reply. I did as you suggest and rebuild my projects. There is still the same issue on tirtos_builds_CC1352R1_LAUNCHXL_release_ccs so I tried to rebuild it as well. This is what I got now:

    **** Build of configuration Release for project tirtos_builds_CC1352R1_LAUNCHXL_release_ccs ****
    
    "C:\\ti\\ccsv8\\utils\\bin\\gmake" -k -j 16 all -O 
     
    making ../src/sysbios/rom_sysbios.aem4f ...
    ../src/makefile.libs:56: recipe for target '../src/sysbios/rom_sysbios.aem4f' failed
    gmake[1]: *** No rule to make target 'BIOS.c', needed by 'rom_sysbios.obj'.
    gmake[1]: *** No rule to make target 'knl/Clock.c', needed by 'rom_sysbios.obj'.
    gmake[1]: *** No rule to make target 'knl/Idle.c', needed by 'rom_sysbios.obj'.
    gmake[1]: *** No rule to make target 'knl/Intrinsics.c', needed by 'rom_sysbios.obj'.
    gmake[1]: *** No rule to make target 'knl/Event.c', needed by 'rom_sysbios.obj'.
    gmake[1]: *** No rule to make target 'knl/Mailbox.c', needed by 'rom_sysbios.obj'.
    gmake[1]: *** No rule to make target 'knl/Queue.c', needed by 'rom_sysbios.obj'.
    gmake[1]: *** No rule to make target 'knl/Semaphore.c', needed by 'rom_sysbios.obj'.
    gmake[1]: *** No rule to make target 'knl/Swi.c', needed by 'rom_sysbios.obj'.
    gmake[1]: *** No rule to make target 'knl/Task.c', needed by 'rom_sysbios.obj'.
    gmake[1]: *** No rule to make target 'family/arm/m3/Hwi.c', needed by 'rom_sysbios.obj'.
    gmake[1]: *** No rule to make target 'family/arm/m3/TaskSupport.c', needed by 'rom_sysbios.obj'.
    gmake[1]: *** No rule to make target 'family/arm/cc26xx/Boot.c', needed by 'rom_sysbios.obj'.
    gmake[1]: *** No rule to make target 'family/arm/cc26xx/Seconds.c', needed by 'rom_sysbios.obj'.
    gmake[1]: *** No rule to make target 'family/arm/cc26xx/Timer.c', needed by 'rom_sysbios.obj'.
    gmake[1]: *** No rule to make target 'family/arm/cc26xx/TimestampProvider.c', needed by 'rom_sysbios.obj'.
    gmake[1]: *** No rule to make target 'hal/Hwi.c', needed by 'rom_sysbios.obj'.
    gmake[1]: *** No rule to make target 'hal/Hwi_stack.c', needed by 'rom_sysbios.obj'.
    gmake[1]: *** No rule to make target 'hal/Hwi_startup.c', needed by 'rom_sysbios.obj'.
    gmake[1]: *** No rule to make target 'hal/Seconds.c', needed by 'rom_sysbios.obj'.
    gmake[1]: *** No rule to make target 'heaps/HeapMem.c', needed by 'rom_sysbios.obj'.
    gmake[1]: *** No rule to make target 'gates/GateHwi.c', needed by 'rom_sysbios.obj'.
    gmake[1]: *** No rule to make target 'gates/GateMutex.c', needed by 'rom_sysbios.obj'.
    gmake[1]: *** No rule to make target 'rts/ti/ReentSupport.c', needed by 'rom_sysbios.obj'.
    gmake[1]: *** No rule to make target 'rts/ti/aeabi_portable.c', needed by 'rom_sysbios.obj'.
    gmake[1]: *** No rule to make target 'xdc/runtime/xdc_noinit.c', needed by 'rom_sysbios.obj'.
    gmake[1]: *** No rule to make target 'xdc/runtime/Assert.c', needed by 'rom_sysbios.obj'.
    gmake[1]: *** No rule to make target 'xdc/runtime/Core-mem.c', needed by 'rom_sysbios.obj'.
    gmake[1]: *** No rule to make target 'xdc/runtime/Core-smem.c', needed by 'rom_sysbios.obj'.
    gmake[1]: *** No rule to make target 'xdc/runtime/Core-label.c', needed by 'rom_sysbios.obj'.
    gmake[1]: *** No rule to make target 'xdc/runtime/Core-params.c', needed by 'rom_sysbios.obj'.
    gmake[1]: *** No rule to make target 'xdc/runtime/Diags.c', needed by 'rom_sysbios.obj'.
    gmake[1]: *** No rule to make target 'xdc/runtime/Error.c', needed by 'rom_sysbios.obj'.
    gmake[1]: *** No rule to make target 'xdc/runtime/Gate.c', needed by 'rom_sysbios.obj'.
    gmake[1]: *** No rule to make target 'xdc/runtime/Log.c', needed by 'rom_sysbios.obj'.
    gmake[1]: *** No rule to make target 'xdc/runtime/Memory.c', needed by 'rom_sysbios.obj'.
    gmake[1]: *** No rule to make target 'xdc/runtime/Registry.c', needed by 'rom_sysbios.obj'.
    gmake[1]: *** No rule to make target 'xdc/runtime/Startup.c', needed by 'rom_sysbios.obj'.
    gmake[1]: *** No rule to make target 'xdc/runtime/System.c', needed by 'rom_sysbios.obj'.
    gmake[1]: *** No rule to make target 'xdc/runtime/SysCallback.c', needed by 'rom_sysbios.obj'.
    gmake[1]: *** No rule to make target 'xdc/runtime/Text.c', needed by 'rom_sysbios.obj'.
    gmake[1]: *** No rule to make target 'xdc/runtime/Timestamp.c', needed by 'rom_sysbios.obj'.
    gmake[1]: *** No rule to make target 'ti/posix/tirtos/clock.c', needed by 'rom_sysbios.obj'.
    gmake[1]: *** No rule to make target 'ti/posix/tirtos/mqueue.c', needed by 'rom_sysbios.obj'.
    gmake[1]: *** No rule to make target 'ti/posix/tirtos/pthread.c', needed by 'rom_sysbios.obj'.
    gmake[1]: *** No rule to make target 'ti/posix/tirtos/pthread_barrier.c', needed by 'rom_sysbios.obj'.
    gmake[1]: *** No rule to make target 'ti/posix/tirtos/pthread_cond.c', needed by 'rom_sysbios.obj'.
    gmake[1]: *** No rule to make target 'ti/posix/tirtos/pthread_key.c', needed by 'rom_sysbios.obj'.
    gmake[1]: *** No rule to make target 'ti/posix/tirtos/pthread_mutex.c', needed by 'rom_sysbios.obj'.
    gmake[1]: *** No rule to make target 'ti/posix/tirtos/pthread_rwlock.c', needed by 'rom_sysbios.obj'.
    gmake[1]: *** No rule to make target 'ti/posix/tirtos/pthread_util.c', needed by 'rom_sysbios.obj'.
    gmake[1]: *** No rule to make target 'ti/posix/tirtos/sched.c', needed by 'rom_sysbios.obj'.
    gmake[1]: *** No rule to make target 'ti/posix/tirtos/semaphore.c', needed by 'rom_sysbios.obj'.
    gmake[1]: *** No rule to make target 'ti/posix/tirtos/sleep.c', needed by 'rom_sysbios.obj'.
    gmake[1]: *** No rule to make target 'ti/posix/tirtos/timer.c', needed by 'rom_sysbios.obj'.
    gmake[1]: *** No rule to make target 'family/arm/m3/Hwi_asm.sv7M', needed by 'm3_Hwi_asm.obj'.
    gmake[1]: *** No rule to make target 'family/arm/m3/Hwi_asm_switch.sv7M', needed by 'm3_Hwi_asm_switch.obj'.
    gmake[1]: *** No rule to make target 'family/arm/m3/IntrinsicsSupport_asm.sv7M', needed by 'm3_IntrinsicsSupport_asm.obj'.
    gmake[1]: *** No rule to make target 'family/arm/m3/TaskSupport_asm.sv7M', needed by 'm3_TaskSupport_asm.obj'.
    gmake[1]: Target 'all' not remade because of errors.
    gmake: *** [../src/sysbios/rom_sysbios.aem4f] Error 2
    gmake: Target 'all' not remade because of errors.
    
    **** Build Finished ****
    

    Then I tried to clean it and build it again but, when I push on clean project I got this:

    **** Clean-only build of configuration Release for project tirtos_builds_CC1352R1_LAUNCHXL_release_ccs ****
    
    "C:\\ti\\ccsv8\\utils\\bin\\gmake" -k -j 16 clean -O 
     
    cleaning ../src/sysbios ...
    ../src/makefile.libs:60: recipe for target '.sysbios_clean' failed
    process_begin: CreateProcess(NULL, D:/ti/xdctools_3_50_08_24_core/packages/../bin/rm -f ..\makefile.libs, ...) failed.
    make (e=2): Impossibile trovare il file specificato.
    gmake[1]: *** [clean] Error 2
    gmake: [.sysbios_clean] Error 2 (ignored)
    DEL /F  "tirtos_builds_CC1352R1_LAUNCHXL_release_ccs.lib"  "configPkg\linker.cmd" "configPkg\compiler.opt" 
    RMDIR /S/Q  "configPkg\" 
    Impossibile trovare il file specificato.
    Impossibile trovare il file specificato.
    Finished clean
     
    
    **** Build Finished ****


    any idea why?

    best regards,
    Vincenzo 

  • I see that you are still using CCSv8.x. If you plan on using SDK version 3.40, you need to use CCSv9.2.0 or greater. Please update your CCS version.

    Thanks

    ki

  • Is there any way to fix it using ccsv8.3 ?

    I updated ccs to v10 but when import this project I have other issue like "invalid project description". I would like to avoid to re-start my project from the scratch.

    regards,

    Vincenzo

  • Nevermind, I am able now to import my old project in ccs10 ( it was a different directory name ) but got other issue when build it


    **** Build Finished ****
    Buildfile generation error occurred..
    Build-configuration 'com.ti.ccstudio.buildDefinitions.TMS470.Release.1136856412' does not exist in the referenced project 'tirtos_builds_CC1352R1_LAUNCHXL_release_ccs'. See 'Properties > Build > Dependencies' page to select an existing build-configuration.
    Build stopped..

    In properties > build > dependencies I click on Add but there is no tirtos_builds_[...] to add.

    In properties > general > products I add SimpleLinkCC13x2_CC26x2 SDK 3.40.0.02 but when I click on apply and close appears a warning asking me to update to TI compiler v20.2.0.LTS


    any suggestions ?

  • Vincenzo Cristiano said:
    **** Build Finished ****
    Buildfile generation error occurred..
    Build-configuration 'com.ti.ccstudio.buildDefinitions.TMS470.Release.1136856412' does not exist in the referenced project 'tirtos_builds_CC1352R1_LAUNCHXL_release_ccs'. See 'Properties > Build > Dependencies' page to select an existing build-configuration.
    Build stopped..

    The main project is dependent on a TI-RTOS kernel project. When you import the main project from Resource Explorer, it should also automatically import the kernel project also. Are you importing with Resource Explorer? 

    Thanks

    ki

  • hello,

    No, I am importing my old project from my repo. I imported an empty project from resource explorer and than a tirtos project appeared in project explorer view, but if I try to add it in the project dependencies list it doesn't appear at all. 

    regards, 
    Vincenzo


  • oh wait:

    Vincenzo Cristiano said:
    Build-configuration 'com.ti.ccstudio.buildDefinitions.TMS470.Release.1136856412' does not exist in the referenced project

    The above is the key error.

    What version of the compiler were you using in 8.3?

  • From my ccsv8.3 project properties > General  Compiler version: TI v18.1.5.LTS [TI v18.1.7.LTS].
    "v18.1.5.LTS is not currently installed. An equivalent version v18.1.7.LTS will be used during build"

    Should I update the compiler version ? 

  • I'm not sure. Can you share the project metadata (the 3 .*project files in the main project folder)?

  • Ki,

    here there are the project metadata.

    https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/81/prj_5F00_metadata.7z

  • Thanks. I see the error also. There is a dependency on the original "tirtos_builds_CC1352R1_LAUNCHXL_release_ccs" that was originally used with the main project. If you eliminate line 118-120 of .cproject, it should build. 

    I'm a but confused with the projects. Was SWAN_FW20 project created with 8.3.0 using SDK 3.40?

    Thanks

    ki

  • hello, 

    Honestly, I don't know which was the original sdk version for this project. I inherited it from my predecessor, maybe it was a previous sdk version but I am not sure.

    The project metadata that I sent to you are related to  SWAN on ccs v8.3, if I remove line 118-120 (storageModule and externalSettings) nothing happens. Build procedure does not even start. If I try the same work on project metadata on ccs v10 I got the same issue. 


    thanks, 

    Vincenzo

  • I'm going to guess that SDK 3.40 was originally used. I also suspect that the dependent tirtos_builds_CC1352R1_LAUNCHXL_release_ccs project was customized. Can you give me the project metadata for the original tirtos_builds_CC1352R1_LAUNCHXL_release_ccs that you pulled from your repo for 8.3?

  • Hello Ki, 

    sorry for the late reply. 

    I noticed that the project metadata for tirtos_builds_CC1352R1_LAUNCHXL_release_ccs on my laptop are slightly different compared to the ones on the other computer where I pulled the repo. 

    In particular, the .ccsproject file on my laptop have on line 15 the following sdk version

    <origin value="C:\ti\simplelink_cc13x2_26x2_sdk_3_40_00_02\kernel\tirtos\builds\CC1352R1_LAUNCHXL\release\ccs\tirtos_builds_CC1352R1_LAUNCHXL_release_ccs.projectspec"/>

    while at the same line in the .ccsproject file no the other computer there is this:

    <origin value="C:\ti\simplelink_cc13x2_26x2_sdk_2_30_00_45\kernel\tirtos\builds\CC1352R1_LAUNCHXL\release\ccs\tirtos_builds_CC1352R1_LAUNCHXL_release_ccs.projectspec"/>

    maybe this can be useful to understand the issue. 

    However, I append the tirtos_builds_CC1352R1_LAUNCHXL_release_ccs project metadata  that I have on the laptop (and where the project builds with ccs 8.3)

    prjmetadata_tirtos_builds_CC1352R1_LAUNCHXL_release_ccs.rar


    P.S. maybe another way to solve it (useful also for the future) is to ignore the project metadata in my repo? So, push and pull only the source code ? 

    Thanks,

    Vincenzo

  • Vincenzo Cristiano said:
    on my laptop are slightly different compared to the ones on the other computer where I pulled the repo. 

    The differences between SDK 2.30 and SDK 3.40 are very major. In fact, the two SDK versions are not compatible with each other.

    It is very important to use the correct SDK version that the original project relied on. I'm going to guess it is 2.30?