Skip to content
Snippets Groups Projects
Commit c8f7cf76 authored by Dean Camera's avatar Dean Camera
Browse files

Fix up the StaticAnalysis build test so that it does not report invalid configurations.

parent 45a56b4d
Branches
Tags
No related merge requests found
......@@ -657,6 +657,11 @@ int hard_reboot(void)
#include <dev/usb/usb_ioctl.h>
#endif
#ifndef USB_GET_DEVICEINFO
# define USB_GET_DEVICEINFO 0
# error The USB_GET_DEVICEINFO ioctl() value is not defined for your system.
#endif
int open_usb_device(int vid, int pid)
{
int r, fd;
......
......@@ -14,9 +14,12 @@ LUFA_PATH := ../../LUFA/
CPPCHECK_EXCLUDES := FATFs/ \
PetiteFATFs/ \
uip/
CPPCHECK_INCLUDES := $(patsubst %/,%,$(LUFA_PATH))/CodeTemplates/ \
$(patsubst %/,%,$(LUFA_PATH))/../Projects/AVRISP-MKII/
CPPCHECK_FLAGS := -U TEMPLATE_FUNC_NAME
SRC := $(patsubst %/,%,$(LUFA_PATH))/..
all: begin cppcheck end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment