diff --git a/dist/tools/cppcheck/check.sh b/dist/tools/cppcheck/check.sh index b79884fafb29a719cfa2f37a516e276dc3319039..81c8d1351306592685e49fecde3909d6fcd5f437 100755 --- a/dist/tools/cppcheck/check.sh +++ b/dist/tools/cppcheck/check.sh @@ -18,7 +18,7 @@ fi BRANCH=${1} FILEREGEX='\.([CcHhSs]|[ch]pp)$' -EXCLUDE='^(cpu/saml21/include/atmel/)|^(cpu/cortexm_common/include/)' +EXCLUDE='^(.+/include/vendor/)' # If no branch but an option is given, unset BRANCH. # Otherwise, consume this parameter.