2021-11-05 07:24 AM
Hi community..
Which static code tool analyzer do you suggest for stm32 embedded c Projects ?
Thanks a lot
Solved! Go to Solution.
2021-11-06 05:29 PM
https://community.st.com/s/question/0D53W00000WZ82FSAT/static-code-analysis-tools-for-c
2021-11-05 07:44 AM
Clang is decent if you spend a little bit of time customizing what you want. It's integrated in with my IDE and has definitely caught some things I wouldn't have noticed right away.
2021-11-05 07:55 AM
Can I use it download it for stm32cube Ide ?
What about misra coding standard ?
2021-11-05 08:21 AM
"eclipse clang plugin" returns promising results.
What about it?
2021-11-05 08:24 AM
Where Can I find to install the clang plugin in stm32 cube ide ?
Thanks
2021-11-06 05:23 PM
this is likely the "CppStyle" plugin. It is installable from the eclipse marketplace.
2021-11-06 05:29 PM
https://community.st.com/s/question/0D53W00000WZ82FSAT/static-code-analysis-tools-for-c
2021-11-07 04:48 AM
Regardless of tools used, still the best analyzer is a developer's brain. Or at least it should be. As a counter example - the HAL/Cube team uses multiple coding standards, compilers, analyzers and runs a bunch of testing, but still deliver a completely broken bloatware. No tool can compensate developer's incompetence...
2021-11-08 12:12 AM
Dear Piranha... when you want to work in such sectors (automtotive, medical, aerospace..) running a static code analyzer is mandatory and required
for obtaining the certification.
Developing code is complex and errors can happen.
Staying on the safe side is always suggested .
2021-11-09 01:34 AM
I use MISRA-C-2004 and MISRA-C-1998. They are part of IAR Embedded Workbench for ARM.