forked from mfulz_github/qmk_firmware
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:
parent
56aed4b3e6
commit
b42642a5d6
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue