Fix up static analysis build test so that inline suppressions for missing header files are not required in the XPLAINBridge project.

This commit is contained in:
Dean Camera 2012-04-16 20:43:30 +00:00
parent 56aed4b3e6
commit b42642a5d6
2 changed files with 2 additions and 3 deletions

View File

@ -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

View File

@ -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>