Commit b42642a5 authored by Dean Camera's avatar Dean Camera
Browse files

Fix up static analysis build test so that inline suppressions for missing...

Fix up static analysis build test so that inline suppressions for missing header files are not required in the XPLAINBridge project.
parent 56aed4b3
...@@ -24,7 +24,8 @@ SUPPRESS_WARNINGS = variableScope \ ...@@ -24,7 +24,8 @@ SUPPRESS_WARNINGS = variableScope \
missingInclude missingInclude
# Extra paths to search for include files # 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 # 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 CPPCHECK_OPTIONS = --template=$(MESSAGE_TEMPLATE) $(INCLUDE_PATHS:%=-I%) $(EXCLUDE_LIST:%=-i%) --inline-suppr --force --error-exitcode=1 --std=c99
......
...@@ -46,9 +46,7 @@ ...@@ -46,9 +46,7 @@
#include "AVRISPDescriptors.h" #include "AVRISPDescriptors.h"
#include "USARTDescriptors.h" #include "USARTDescriptors.h"
// cppcheck-suppress missingInclude
#include "Lib/V2Protocol.h" #include "Lib/V2Protocol.h"
// cppcheck-suppress missingInclude
#include "Lib/SoftUART.h" #include "Lib/SoftUART.h"
#include <LUFA/Version.h> #include <LUFA/Version.h>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment