diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2012-04-16 20:43:30 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2012-04-16 20:43:30 +0000 |
commit | b42642a5d6011f84422d338e38a2bfca46ed3ee8 (patch) | |
tree | 53e913ea56067365cd8d2505a82cc135e7154268 | |
parent | 56aed4b3e6f4172d34dd20dca3f5479d4c912104 (diff) | |
download | lufa-b42642a5d6011f84422d338e38a2bfca46ed3ee8.tar.gz lufa-b42642a5d6011f84422d338e38a2bfca46ed3ee8.tar.bz2 lufa-b42642a5d6011f84422d338e38a2bfca46ed3ee8.zip |
Fix up static analysis build test so that inline suppressions for missing header files are not required in the XPLAINBridge project.
-rw-r--r-- | BuildTests/StaticAnalysisTest/makefile | 3 | ||||
-rw-r--r-- | Projects/XPLAINBridge/XPLAINBridge.h | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/BuildTests/StaticAnalysisTest/makefile b/BuildTests/StaticAnalysisTest/makefile index 817727ea3..70adf0f15 100644 --- a/BuildTests/StaticAnalysisTest/makefile +++ b/BuildTests/StaticAnalysisTest/makefile @@ -24,7 +24,8 @@ SUPPRESS_WARNINGS = variableScope \ missingInclude
# Extra paths to search for include files
-INCLUDE_PATHS = $(LUFA_ROOT_PATH)/LUFA/CodeTemplates/
+INCLUDE_PATHS = $(LUFA_ROOT_PATH)/LUFA/CodeTemplates/ \
+ $(LUFA_ROOT_PATH)/Projects/AVRISP-MKII/
# Configuration options to pass to cppcheck
CPPCHECK_OPTIONS = --template=$(MESSAGE_TEMPLATE) $(INCLUDE_PATHS:%=-I%) $(EXCLUDE_LIST:%=-i%) --inline-suppr --force --error-exitcode=1 --std=c99
diff --git a/Projects/XPLAINBridge/XPLAINBridge.h b/Projects/XPLAINBridge/XPLAINBridge.h index 5570a1a0a..33c66bf51 100644 --- a/Projects/XPLAINBridge/XPLAINBridge.h +++ b/Projects/XPLAINBridge/XPLAINBridge.h @@ -46,9 +46,7 @@ #include "AVRISPDescriptors.h" #include "USARTDescriptors.h" - // cppcheck-suppress missingInclude #include "Lib/V2Protocol.h" - // cppcheck-suppress missingInclude #include "Lib/SoftUART.h" #include <LUFA/Version.h> |