Support for the Texas Instrument TMS470 compiler

I’m evaluating Sonarqube and have setup the Sonarqube server version 8.6.0.39681.

I have the analysis working for:

  1. Visual Studio 2019 C++ projects
  2. Sourcery CodeBench version 2017.02-58 C++ projects using the Sourcery CodeBench Toolchain for Power EABI version 2016.11.52 compiler.

I’m now trying to get the analysis working for C projects that uses the Code Composer Studio version 2.21.00. This IDE is using the Texas Instrument TMS470 compiler. I’m able to build these projects from the command line and have wrapper that build procedure with the build-wrapper-win-x86-64.exe as I did with the other projects above and the build does complete without any issue but I do notice that the content of the build-wrapper-dump.json file is “empty” (see below):

© SonarSource SA, 2014-2020, info@sonarsource.com

All SONARSOURCE programs and content are copyright protected.

SONARSOURCE and SONARQUBE are trademarks of SonarSource SA. All rights are expressly reserved.

This file is designed exclusively for use with the SONARSOURCE C / C++ / Objective-C Plugin.

It may not be used in connection with any other software.

Any other use is prohibited by law and may be grounds for immediate termination of your License.

{
“version”:“6.15”,
“captures”:[
]}

This causes my sonar-scanner.bat command line to throw an exception with the message "The “build-wrapper-dump.json” file was found empty. Looking at this page https://docs.sonarqube.org/latest/analysis/languages/cfamily/ , I think that the reason why the build-wrapper-dump.json file is empty is because the compiler is not supported but I wanted to confirm if this is the case or if I’m missing something.

Thanks.

Hi @johnpham,

could you give more details about the compiler? What is the executable name? Could you provide a link to the TI website? Thanks.

Hi Massimo,

This compiler is very old and is no longer available to the public from the TI website. I’ve uploaded the build-wrapper.txt file so that you can see the name of the executables involved in the build process and the compiler user manual to this link below:

While searching to see if this compiler is still available publicly, I came across this page https://docs.parasoft.com/display/CPPDESKE1032/Introduction+to+Texas+Instruments+Code+Composer+Studio+(Eclipse)+Plugin which say that beginning with version 5.x, TI rebranded the “TI TMS470” to the “TI ARM” compiler.

This legacy project is currently using Code Composer Studio v2.21.00 (before TI switched to Eclipse as base IDE for Code Composer Studio). Code Composer Studio v2.21.00 comes with TMS470 version 2.24.

Thanks,
John

Hi @johnpham,

this compiler is currently not supported, I created a ticket to track your request: https://jira.sonarsource.com/browse/CPP-2859.

If you want to analyze your code in the mean time you should try to use a supported compiler.