Ignore Folders without TF-M Code in Static Checks
Following folders do not include TF-M code:
platform/ext
bl2/ext
docs
lib
tools
These folders need to be ignored in cppcheck and checkpatch.
Signed-off-by: Xinyu Zhang <xinyu.zhang@arm.com>
Change-Id: I602a365f64f45688e9259062113bf23aa8e881c7
diff --git a/cppcheck/tfm-suppress-list.txt b/cppcheck/tfm-suppress-list.txt
index 0ab4fb6..25d5261 100644
--- a/cppcheck/tfm-suppress-list.txt
+++ b/cppcheck/tfm-suppress-list.txt
@@ -53,7 +53,9 @@
missingInclude:*/tfm_secure_api.h:11
//Exclude external qcbor code which does not comply with guidelines
-*:*/lib/ext/*
+*:*/lib/*
+*:*/docs/*
+*:*/tools/*
*:*/bl2/ext/*
*:*/platform/ext/*