Add in new invalid event hook check targets to project makefiles to produce compilation errors when invalid event names are used in a project.

Re-add in flip, flip-ee, dfu and dfu-ee targets to project makefiles (thanks to Opendous Inc.)

Fix allowable F_CPU values comment in project makefiles.
This commit is contained in:
Dean Camera 2009-09-06 05:58:40 +00:00
parent f6700c0ea5
commit 0486f12e3e
52 changed files with 2357 additions and 1468 deletions

View file

@ -33,10 +33,18 @@ LUFA_SRC_FILES = ./Drivers/USB/LowLevel/DevChapter9.c \
./Drivers/Peripheral/Serial.c \
./Drivers/Peripheral/SerialStream.c \
all:
LUFA_Events.lst:
@echo
@echo Generating LUFA event name list...
@$(shell) cat `find ./ -name "*.h"` | egrep "EVENT_[^\(]*\(" | \
sed -n -e 's/^.*EVENT_/EVENT_/p' | \
cut -d'(' -f1 | sort | uniq > LUFA_Events.lst
all: LUFA_Events.lst
clean:
rm -f $(LUFA_SRC_FILES:%.c=%.o)
rm -f LUFA_Events.lst
clean_list: