cancel
Showing results for 
Search instead for 
Did you mean: 

Code Analysis for MISRA C standard on Cube IDE

Rahul.Santhosh
Associate II

Hello,

I'm trying to implement the MISRA C complaints into the code. In my research, I found that a code analysis tool like Cppcheck or PC-Lint must be integrated into our IDE. So, do you know how I can integrate these third-party tools into the Cube IDE? or are there any tools available for the Cube IDE to do the same?

I have seen that Cppcheck can be easily integrated into the Eclipse IDE, but I did the same and couldn't integrate that into the Cube IDE.

Any ideas related to this will be appreciated.

Thanks in advance.

2 REPLIES 2
Semer CHERNI
ST Employee

Hello @Rahul.Santhosh 

First let me thank you for posting.

At the moment STM32CubeIDE doesn't support this functionality.

I will raise the issue internally for analysis and investigation.

BR,
Semer.

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

I think the word you're looking for is "compliance"

Consider using Keil or some other profession grade tool which supports Lint integration.

Presumably there are other tools which can use static analysis to generate a report regardless of tool chain.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..