Static code tools analyzers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-11-05 7:24 AM
Hi community..
Which static code tool analyzer do you suggest for stm32 embedded c Projects ?
Thanks a lot
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-11-06 5:29 PM
https://community.st.com/s/question/0D53W00000WZ82FSAT/static-code-analysis-tools-for-c
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-11-05 7: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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-11-05 7:55 AM
Can I use it download it for stm32cube Ide ?
What about misra coding standard ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-11-05 8:21 AM
"eclipse clang plugin" returns promising results.
What about it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-11-05 8:24 AM
Where Can I find to install the clang plugin in stm32 cube ide ?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-11-06 5:23 PM
this is likely the "CppStyle" plugin. It is installable from the eclipse marketplace.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-11-06 5:29 PM
https://community.st.com/s/question/0D53W00000WZ82FSAT/static-code-analysis-tools-for-c
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-11-07 4: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...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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 .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-11-09 1:34 AM
I use MISRA-C-2004 and MISRA-C-1998. They are part of IAR Embedded Workbench for ARM.
