aboutsummaryrefslogtreecommitdiffstats
path: root/BuildTests
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2012-03-04 18:21:54 +0000
committerDean Camera <dean@fourwalledcubicle.com>2012-03-04 18:21:54 +0000
commit5c3623a7c55ed238ae0c2b027b7addaadd461856 (patch)
tree478eea802553f9aeb714bb60ae87b4af047f3966 /BuildTests
parent9ffeac6992774224ebc279e346f99d5ed725bcd9 (diff)
downloadlufa-5c3623a7c55ed238ae0c2b027b7addaadd461856.tar.gz
lufa-5c3623a7c55ed238ae0c2b027b7addaadd461856.tar.bz2
lufa-5c3623a7c55ed238ae0c2b027b7addaadd461856.zip
Minor documentation improvements.
Diffstat (limited to 'BuildTests')
-rw-r--r--BuildTests/StaticAnalysisTest/makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/BuildTests/StaticAnalysisTest/makefile b/BuildTests/StaticAnalysisTest/makefile
index 8b15a7159..744120d87 100644
--- a/BuildTests/StaticAnalysisTest/makefile
+++ b/BuildTests/StaticAnalysisTest/makefile
@@ -14,14 +14,15 @@ LUFA_ROOT_PATH = ../..
# Filenames or directories (including fragments) to exclude from the analysis
EXCLUDE_LIST = FATFs/ \
PetiteFATFs/ \
- uip/
+ uip/
# Output message template for found warnings and errors
MESSAGE_TEMPLATE = "{file}:{line}: {severity} ({id}): {message}"
# Checks to suppress so that generated warnings are discarded
SUPPRESS_WARNINGS = variableScope \
- unusedFunction
+ unusedFunction \
+ missingInclude
# Extra paths to search for include files
INCLUDE_PATHS = $(LUFA_ROOT_PATH)/LUFA/CodeTemplates/
@@ -38,7 +39,7 @@ end:
@echo
staticcheck:
- cppcheck --quiet --inline-suppr --check-config $(SUPPRESS_WARNINGS:%=--suppress=%) --template=$(MESSAGE_TEMPLATE) $(INCLUDE_PATHS:%=-I%) $(EXCLUDE_LIST:%=-i%) $(LUFA_ROOT_PATH)
+ cppcheck --quiet --inline-suppr --check-config --template=$(MESSAGE_TEMPLATE) $(INCLUDE_PATHS:%=-I%) $(EXCLUDE_LIST:%=-i%) $(LUFA_ROOT_PATH)
cppcheck --quiet --inline-suppr --error-exitcode=1 --std=c99 --force --enable=all --inconclusive $(SUPPRESS_WARNINGS:%=--suppress=%) --template=$(MESSAGE_TEMPLATE) $(INCLUDE_PATHS:%=-I%) $(EXCLUDE_LIST:%=-i%) $(LUFA_ROOT_PATH)
-
+
%: \ No newline at end of file