midi working
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user