-
Notifications
You must be signed in to change notification settings - Fork 6.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
added support for SCA with Polyspace #83149
Conversation
Hello @mbeckersys, and thank you very much for your first pull request to the Zephyr project! |
Thanks for the PR! Please take a look at our commit message guidelines to find out how to format your commit messages, and at our contribution workflow to understand how to update your Pull Request. |
0c6f882
to
531427e
Compare
Fixed commit message according to guidelines. |
531427e
to
1a35155
Compare
Fixed coding guidelines |
46bf083
to
fc16995
Compare
Sorry for the noise, it took me some time to understand how to run compliance checks before push locally, and to see what needs to be fixed. All done now. |
Do not add fixup commits, squash into a single commit and force push. |
a560e60
to
e0b4fdf
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, thanks! Please see my comment regarding the documentation
e0b4fdf
to
4ee3630
Compare
4ee3630
to
44f9c27
Compare
44f9c27
to
927b94b
Compare
Add the cmake files for running static code analysis with the Polyspace tools in the west build. The analysis leverages the compilation database. Options for the analysis are documented in doc/develop/sca/polyspace.rst. Analysis results are printed as command line output and provided as CSV. Manually tested on v4.0.0 with various sample applications. Signed-off-by: Martin Becker <[email protected]>
927b94b
to
07965f5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Hi @mbeckersys! To celebrate this milestone and showcase your contribution, we'd love to award you the Zephyr Technical Contributor badge. If you're interested, please claim your badge by filling out this form: Claim Your Zephyr Badge. Thank you for your valuable input, and we look forward to seeing more of your contributions in the future! 🪁 |
This change adds support for the Polyspace Static Code Analysis tool on Zephyr.
When analysis finishes, the results are printed on the console. Usage examples are provided, with an option to analyze only the user code.