Part Number: CC2652R
Tool/software: Code Composer Studio
I would like to integrate PC-Lint in a Code Composer Studio. I already have a working setup for the PC-Lint.
However, how I can integrate the lint process in the CCS project?
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.
Part Number: CC2652R
Tool/software: Code Composer Studio
I would like to integrate PC-Lint in a Code Composer Studio. I already have a working setup for the PC-Lint.
However, how I can integrate the lint process in the CCS project?
Mehul,
I do not have PC Lint. I have requested an evaluation license to try it out. There have been a few threads on this in the past. The thread below shows how someone had integrated their build.
https://e2e.ti.com/support/tools/ccs/f/81/t/841163?tisearch=e2e-sitesearch&keymatch=PC%252520Lint
Regards,
John
I obtained an eval license for PC Lint. I can get the tool to invoke ok on build but figuring out what to pass to it is a challenge. It keeps complaining about not being able to find include files even when I pass in the path to them. I found another thread with some more info where someone provided their config settings here: https://e2e.ti.com/support/tools/ccs/f/81/t/574330
Mehul,
PC-Lint integration is not something we actively support. I was able to get it to launch with a pre-build step but I had no luck in getting it to accept my include paths as parameters. If you have a license for this software Gimpel may be able to help you get it going.
Other vendors commercial like ParaSoft, LDRA, VectorCAST have solutions.
There is also basic static analysis built into CCS/Eclipse that you can enable.
Regards,
John
If you are using the TI ARM compiler, that has the option to enable checking of MISRA-C:2004 rules.Mehul Dalal said:Also, what do you use to perform static analysis of the code if it is not PC-Lint?
John,
I believe that the Lint analysis should be done as a different compiler only rather than pre build or post build operation. One for the link you had provided earlier was doing that only. However, the step provided in that link did not work for me.
Mehul