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/CC3220SF-LAUNCHXL: Build errors like gmake: *** No rule to make target 'CC3220SF_LAUNCHXL.obj', needed by 'all'.

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

Tool/software: Code Composer Studio

I am trying to  build and run the fatsdraw_CC3220SF_LAUNCHXL_tirtos_ccs example on my CC3220SF launchpad .I have imported tirtos_builds_CC3220SF_LAUNCHXL_release_ccs along with it and have successfully built it in CCS.

However,when I try to build the main project I get the error as shown in the image.

(The freeRTOS example ran smoothly when I tested it)

Following are the versions of CCS,SDK and compilers I am using:

CCS v8.3 on Windows 10

ti-cgt-arm_18.1.5.LTS

Sysbios_6_75_01_05

Xdctools_3_51_01_18

simplelink_cc32xx_sdk_2_20_00_10

(I have installed CCS v8.3 and all related components in a new directory "C:\ti_new")(name of my workspace is "workspace_v8") 

I followed the "Quick start guide for Simplelink CC32xx SDK" document to try and example programs.

  • Hi,

    Usually these build errors are solved by removing the output directory or other temporary TI-RTOS files. However, given this SDK is quite old our recommendation is to use the newest release 3.20.00.06, which works with the latest versions of CCS. 

    Is this a viable solution for you? 

    Regards,

    Rafael

  • hi desouza,

    Sorry for the late reply,

    What do you exactly mean, by removing the output directory and temporary RTOS files,can you clarify a bit more please? 

    My workplace had recommended a software dev env as I have written in my original post ,that's why I installed the said version of SDK.

    I will have to get updation verified and will get back to you :) 

    Regards,

    Vedant 

  • Hi desouza,

    I have updated my SDK to the latest version , it still shows the same error when i import a tirtos example and build it.

    Do I need to seperately build tirtos kernel ? 

    Please help me with this.

    Regards,

    Vedant

  • I have reinstalled entire SDK,CCS v8.3 in the default folder C:/ti and tried to build a driver example, it still shows the same error, please help

  • Vedant,

    Sorry about the delayed response.

    If I understand correctly the versions you are now using are the following, correct?

    CCS v8.3
    XDCtools 3.51.01.18
    CC32xx SDK v3.20.00.06 
    ARM CGT 18.1.5.LTS

    Please follow these steps, then save the global build log to a text file and attach it here.

    - Open a new workspace in CCS
    - Import the fatsdraw_CC3220SF_LAUNCHXL_tirtos_ccs example project (either from Resource Explorer in CCS or directly using the Import menu) - this should also import the tirtos_builds_CC3220SF_LAUNCHXL_release_ccs project
    - Build the fatsdraw_CC3220SF_LAUNCHXL_tirtos_ccs project -  make sure the CDT Global Build Console is enabled as shown below

    - This will build the tirtos_builds_CC3220SF_LAUNCHXL_release_ccs first followed by fatsdraw_CC3220SF_LAUNCHXL_tirtos_ccs
    - Copy the output in the global build console (so we can see the build output of both projects) to a text file and attach the file here 

  • Hi Aarti,

    CDT Global Build Console output:
    **** Build of configuration Debug for project tirtos_builds_CC3220SF_LAUNCHXL_release_ccs ****
    
    "C:\\ti\\ccsv8\\utils\\bin\\gmake" -k -j 8 all -O 
     
    Building file: "../release.cfg"
    Invoking: XDCtools
    "C:/ti/xdctools_3_51_01_18_core/xs" --xdcpath="C:/ti/simplelink_cc32xx_sdk_3_20_00_06/source;C:/ti/simplelink_cc32xx_sdk_3_20_00_06/kernel/tirtos/packages;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M4 -p ti.platforms.simplelink:CC3220SF -r release -c "C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.6.LTS" "../release.cfg"
    making package.mak (because of package.bld) ...
    generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
    configuring release.xem4 from package/cfg/release_pem4.cfg ...
    generating custom ti.sysbios library makefile ... 
    Starting build of library sources ...
    making C:/Users/VEDANT~1/workspace_v8/tirtos_builds_CC3220SF_LAUNCHXL_release_ccs/src/sysbios/sysbios.aem4 ...
    clem4 C:/ti/simplelink_cc32xx_sdk_3_20_00_06/kernel/tirtos/packages/ti/sysbios/BIOS.c ...
    asmem4 C:/ti/simplelink_cc32xx_sdk_3_20_00_06/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M ...
    asmem4 C:/ti/simplelink_cc32xx_sdk_3_20_00_06/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm_switch.sv7M ...
    asmem4 C:/ti/simplelink_cc32xx_sdk_3_20_00_06/kernel/tirtos/packages/ti/sysbios/family/arm/m3/IntrinsicsSupport_asm.sv7M ...
    asmem4 C:/ti/simplelink_cc32xx_sdk_3_20_00_06/kernel/tirtos/packages/ti/sysbios/family/arm/m3/TaskSupport_asm.sv7M ...
    arem4 BIOS.obj m3_Hwi_asm.obj m3_Hwi_asm_switch.obj m3_IntrinsicsSupport_asm.obj m3_TaskSupport_asm.obj ...
    Build of libraries done.
    clem4 package/cfg/release_pem4.c ...
    Finished building: "../release.cfg"
     
            1 file(s) copied.
    making ../src/sysbios/sysbios.aem4 ...
    gmake[1]: Nothing to be done for 'all'.
    gmake[1]: Nothing to be done for 'configPkg/linker.cmd'.
    making ../src/sysbios/sysbios.aem4 ...
    gmake[2]: Nothing to be done for 'all'.
    
    **** Build Finished ****
    
    **** Build of configuration Debug for project fatsdraw_CC3220SF_LAUNCHXL_tirtos_ccs ****
    
    "C:\\ti\\ccsv8\\utils\\bin\\gmake" -k -j 8 all -O 
     
    gmake: *** No rule to make target 'CC3220SF_LAUNCHXL.obj', needed by 'all'.
    gmake: *** No rule to make target 'fatsdraw.obj', needed by 'all'.
    gmake: *** No rule to make target 'main_tirtos.obj', needed by 'all'.
    gmake: Target 'all' not remade because of errors.
    
    **** Build Finished ****
    
    CDT Build Console{project name} output:
    
    **** Build of configuration Debug for project fatsdraw_CC3220SF_LAUNCHXL_tirtos_ccs ****
    
    "C:\\ti\\ccsv8\\utils\\bin\\gmake" -k -j 8 all -O 
     
    gmake: *** No rule to make target 'CC3220SF_LAUNCHXL.obj', needed by 'all'.
    gmake: *** No rule to make target 'fatsdraw.obj', needed by 'all'.
    gmake: *** No rule to make target 'main_tirtos.obj', needed by 'all'.
    gmake: Target 'all' not remade because of errors.
    
    **** Build Finished ****
    

    This is the txt file with output in global build console as well as build console{projectname} in it.Thanks for the reply, and sorry from my side for replying so late, I actually didn't think someone would answer so didn't open e2e forum in the past few days.

    Regards,

    Vedant

  • Looking at the build log it appears that you are using a workspace that contains white spaces in the path:

    C:/Users/VEDANT~1/workspace_v8/

    This is known to cause such build errors.

    This will be fixed in the next release of CCS v9.2, but to continue using your current version just create a new workspace without any spaces in the path (like c:\cccs83_workspace or something similar), and reimport the project into the new workspace. That should resolve the build error.

  • Hi Aartig,

    Thanks for the help!I didn't realise there was a whitespace there in the workspace path!

    Regards,

    Vedant Ranade