midi working

This commit is contained in:
Jack Humbert
2015-08-24 19:31:12 -04:00
parent b8425e8b58
commit cda23c754e
27 changed files with 1095 additions and 58 deletions

View File

@@ -1,11 +1,11 @@
LUFA_DIR = protocol/lufa
# Path to the LUFA library
ifeq (, $(wildcard $(TOP_DIR)/$(LUFA_DIR)/LUFA-git/LUFA/Version.h))
LUFA_PATH ?= $(LUFA_DIR)/LUFA-120730
else
#ifeq (, $(wildcard $(TOP_DIR)/$(LUFA_DIR)/LUFA-git/LUFA/Version.h))
# LUFA_PATH ?= $(LUFA_DIR)/LUFA-120730
#else
LUFA_PATH ?= $(LUFA_DIR)/LUFA-git
endif
#endif
# Create the LUFA source path variables by including the LUFA makefile
@@ -19,14 +19,15 @@ endif
LUFA_SRC = $(LUFA_DIR)/lufa.c \
$(LUFA_DIR)/descriptor.c \
$(LUFA_SRC_USB) \
$(LUFA_DIR)/midi/midi.c \
$(LUFA_SRC_USB)
ifdef MIDI_ENABLE
LUFA_SRC += $(LUFA_DIR)/midi/midi.c \
$(LUFA_DIR)/midi/midi_device.c \
$(LUFA_DIR)/midi/bytequeue/bytequeue.c \
$(LUFA_DIR)/midi/bytequeue/interrupt_setting.c \
$(LUFA_SRC_USB) \
$(LUFA_SRC_USBCLASS)
endif
SRC += $(LUFA_SRC)