diff --git a/tests/misra/coverage_table b/tests/misra/coverage_table index eb30437c..dcb5992b 100644 --- a/tests/misra/coverage_table +++ b/tests/misra/coverage_table @@ -9,7 +9,7 @@ 2.6 X (Cppcheck) 2.7 3.1 X (Addon) -3.2 +3.2 X (Addon) 4.1 X (Addon) 4.2 X (Addon) 5.1 X (Addon) @@ -123,7 +123,7 @@ 20.12 20.13 X (Addon) 20.14 X (Addon) -21.1 +21.1 X (Addon) 21.2 21.3 X (Addon) 21.4 X (Addon) @@ -134,7 +134,7 @@ 21.9 X (Addon) 21.10 X (Addon) 21.11 X (Addon) -21.12 +21.12 X (Addon) 22.1 X (Cppcheck) 22.2 X (Cppcheck) 22.3 diff --git a/tests/misra/suppressions.txt b/tests/misra/suppressions.txt index b98a491e..e0a27083 100644 --- a/tests/misra/suppressions.txt +++ b/tests/misra/suppressions.txt @@ -4,3 +4,5 @@ misra.19.2 misra.11.4 # Advisory: casting from void pointer to type pointer is ok. Done by STM libraries as well misra.11.5 +# Required: it's ok re-defining potentially reserved Macro names. Not likely to cause confusion +misra.21.1 diff --git a/tests/misra/test_misra.sh b/tests/misra/test_misra.sh index b681b400..25422907 100755 --- a/tests/misra/test_misra.sh +++ b/tests/misra/test_misra.sh @@ -4,7 +4,7 @@ mkdir /tmp/misra || true git clone https://github.com/danmar/cppcheck.git || true cd cppcheck git fetch -git checkout 7d6d561c84cfc6dd84f51378d3123a17fe0a1aa5 +git checkout bdd41151ed550e3d240a6dd6847859216b7ad736 make -j4 cd ../../../