tool to check MISRA C compliance?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-09-06 4:31 AM - last edited on 2024-11-05 10:21 AM by Andrew Neil
Hi, I am using cubeide and I would like to enable MISRA C checking in order to develop a more robust code, thanks
- Labels:
-
STM32CubeIDE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-09-12 2:33 AM
Hello @jg_spitfire
Unfortunately to perform such checking on your code you could rely on third-party tools as.
Kind regards,
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-09-12 4:15 AM
check out PC Lint
https://community.st.com/s/question/0D53W00001FlwSvSAJ/how-to-import-an-external-tools-configuration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2024-09-24 3:38 AM
Hello.
I am interested in performing MISRA C checks on projects created in CubeIDE, as other IDEs (uVision, Eclipse, etc.) do, incorporating third-party tools (PC-Lint, LDRA, etc.).
Is it possible to incorporate PC-Lint, cppcheck, etc. into CubeIDE?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2024-09-24 3:10 PM
Of course, yes. CubeIDE is based on Eclipse CDT, so follow instructions for Eclipse CDT.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2024-11-05 2:08 AM
Hi.
I tried to install LDRA_eclipse_plugin. The instructions say:
"Move the two files: “com.ldra.toolsuite.activeproject_X.X.X.jar" "com.ldra.toolsuite_X.X.X.jar" into the “dropins” folder which can be found within your eclipse installation directory. The next time Eclipse is restarted the plug-in will be activated and ready to use".
But there is no dropins folder in STM32CubeIDE. I created the dropins folder in the following path, and left both files in the folder, but it doesn't work: C:\ST\STM32CubeIDE_1.14.1\STM32CubeIDE\dropins
I also tried the help/installnew software option, without any result.
Can anyone help me?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2024-11-05 9:46 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2024-11-06 12:04 AM
Hello.
The path "C:\ST\STM32CubeIDE_1.14.1\dropins" does not work.
The path "C:\ST\STM32CubeIDE_1.14.1\STM32CubeIDE\dropins" does not work.
The path "C:\ST\STM32CubeIDE_1.14.1\STM32CubeIDE\dropins\eclipse\features\plugins" does not work.
On the other hand, I have performed a test with another IDE, Codewarrior, based on Eclipse. In this case there is an empty eclipse/dropins folder, and when dropping the two files, the plugin works:
C:\Freescale\CW MCU v11.0\eclipse\dropins
The plugin is fine, and the problem is the IDE.
In the STM32CubeIDE installation there is no folder called eclipse/plugin. Could this be the problem, and is there any additional configuration needed in STM32CubeIDE?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2025-03-26 9:39 AM
You could try contacting the LDRA support team (using the "Contact LDRA Support" from the "Help" menu.
Your LDRA version may be different, but I've got this working in the past when installing a TLP, which places the .jar files in:
"C:\ST\STM32CubeIDE_1.17.0\STM32CubeIDE\plugins"
