2022-09-06 04: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
2022-09-12 02: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.
2022-09-12 04:15 AM
check out PC Lint
https://community.st.com/s/question/0D53W00001FlwSvSAJ/how-to-import-an-external-tools-configuration
2024-09-24 03: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
2024-09-24 03:10 PM
Of course, yes. CubeIDE is based on Eclipse CDT, so follow instructions for Eclipse CDT.
2024-11-05 02: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
2024-11-05 09:46 AM
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