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.

use gcov within CCS

Hi all,

I use CCS in the following manner: One C2000 CCS project for target development. In parallel I have a gcc project for my CUnit unit test suite. Both are running in the same workspace. Now I would like to enable codecoverage profiling for the gcc project. If I open the very same workspace in a plain eclipse (luna) with the linux tools plugin installed I am perfectly able to have code coverage tools, so project settings are fine.

Unfortunately I am not able to configure this within CCS. I struggle installing the linux tools plugin - see the error message below. Has anyone experience with this?

My installation details:

Windows 7 Pro 64Bit
CCS Version: 6.1.1.00022
C/C++ Development Tools 8.5.0.201409172108 
I installed CDT GNU from the CCS App Center (in expectation to have the necessary autotools installation afterwards)

The error I am getting when I try to install the linux tools plugin:

Cannot complete the install because one or more required items could not be found.
  Software being installed: GCov Integration 5.1.0.201609141916 (org.eclipse.linuxtools.gcov.feature.group 5.1.0.201609141916)
  Missing requirement: Profiling UI Plug-in 3.1.0.201609141916 (org.eclipse.linuxtools.profiling.ui 3.1.0.201609141916) requires 'bundle org.eclipse.cdt.autotools.core 0.0.0' but it could not be found
  Cannot satisfy dependency:
    From: GCov Integration 5.1.0.201609141916 (org.eclipse.linuxtools.gcov.feature.group 5.1.0.201609141916)
    To: org.eclipse.linuxtools.gcov.launch [1.1.0.201609141916]
  Cannot satisfy dependency:
    From: Gcov Launcher 1.1.0.201609141916 (org.eclipse.linuxtools.gcov.launch 1.1.0.201609141916)
    To: bundle org.eclipse.linuxtools.profiling.ui 0.0.0

Any help is appreciated,

BR Andreas

  • Andreas,

    I don't have a 6.1.1 install at this time but I do have a 6.1.3.  From my 6.1.3 install I have a Linux Development Tools item in the App Center that will install Gcov.  If you only have support for C2000 installed I don't think you will see this by default as we likely have it associated with our ARM processors.  In the Add-on's section in App Center click on "more".  If it still isn't listed try changing the "Relevance" box at the top of App Center to "All".  I was able to install this without error.

    Regards,

    John

  • Here we go, thank you very much John.

    This would probably be something for the ccs wiki pages. the relevance button is somewhat hidden.
    Anyway it is perfectly working now for me.

    BR Andreas
  • Andreas,

    We could change the entry in the App Center so that it shows up if you have any of the ARM MCU families installed.  The way we have it now is setup to be relevant for those families that often run Linux on the devices.  However as you have pointed out gcov is part of the package and is relevant to anyone usng gcc.  I think we will either change the App Center or I can record a video on how to install gcov that can cover the steps.

    Regards,

    John

  • John,

    Both options would work out I guess. To me it would have been helpful to get a result in a E2E or TI Wiki search for LinuxTools / gcov / ccs...

    BR Andreas

  • Andreas,

    Well the good news is for the next person if they search E2E for gcov CCS they will get this thread.  Unfortunately we just hadn't had questions on it in the past.

    Regards,

    John