Skip to content
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

Cppcheck 2.14 #1951

Merged
merged 6 commits into from
May 28, 2024
Merged

Cppcheck 2.14 #1951

merged 6 commits into from
May 28, 2024

Conversation

dzid26
Copy link
Contributor

@dzid26 dzid26 commented May 21, 2024

This upgrades to Cppcheck 2.14 and fixes new violations that showed up after the upgrade.

Related #1794, #1954

@dzid26
Copy link
Contributor Author

dzid26 commented May 22, 2024

97b2ca8 was tested with panda by running recover.py twice (first time to flash bootstub, second time to see if it still jumps to dfu bootloader correctly)

@dzid26 dzid26 marked this pull request as ready for review May 22, 2024 02:09
board/early_init.h Outdated Show resolved Hide resolved
tests/misra/test_misra.sh Outdated Show resolved Hide resolved
@dzid26 dzid26 marked this pull request as draft May 26, 2024 20:04
board/early_init.h Outdated Show resolved Hide resolved
Avoid casting between pointer to void and an arithmetic type.
Refactor bootloader address casting for easier understanding.
- force cppecheck tag fetch
@dzid26
Copy link
Contributor Author

dzid26 commented May 26, 2024

To be sure I tested the bootloader function again by running recover.py twice.

The new minor version of cppcheck just came out and caused fetching error when running test_misra.py. - I bumped the version and also added --force for the future.

@dzid26 dzid26 marked this pull request as ready for review May 26, 2024 20:59
@adeebshihadeh adeebshihadeh merged commit 6ff6733 into commaai:master May 28, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants