feat: MISRA-C CI, stack usage analysis, hw benchmark configs#1
Merged
Conversation
REQ-BUILD-003: Add cppcheck MISRA C 2012 analysis CI job with fallback to built-in checks when the MISRA addon is unavailable. REQ-ARCH-040: Add hardware benchmark configuration for cycle-accurate PID benchmarking on nucleo_f446re and nucleo_h743zi using DWT CYCCNT. - Add misra job to CI workflow with suppression for known deviations - Add -fstack-usage to twister unit tests with 512-byte limit check - Upload .su files as CI artifacts alongside twister results - Create docs/safety/MISRA_DEVIATIONS.md documenting Rules 1.1, 11.3, 14.3, 20.9, 21.6 - Create tests/benchmarks/hw_benchmark/ with DWT CYCCNT timing, board overlays, testcase.yaml, and documentation Co-Authored-By: Oz <oz-agent@warp.dev>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
MISRA-C CI, Stack Usage Analysis & Hardware Benchmark Configs
Implements REQ-BUILD-003 (MISRA-C analysis CI) and REQ-ARCH-040 (hardware benchmark configurations).
Changes
MISRA-C CI job (.github/workflows/ci.yml)
Stack usage analysis (.github/workflows/ci.yml)
MISRA deviations doc (docs/safety/MISRA_DEVIATIONS.md)
Hardware benchmark ( ests/benchmarks/hw_benchmark/)
Test Results
Conversation: https://app.warp.dev/conversation/0c1afc16-259c-435a-9140-5e87c7d022ec
Run: https://oz.warp.dev/runs/019e88b0-c5e8-7189-b1f6-4660beea2e8d
This PR was generated with Oz.