2012-06-30 14:44:14 +09:00
|
|
|
VUSB_DIR = protocol/vusb
|
|
|
|
|
2013-03-11 00:14:58 +09:00
|
|
|
OPT_DEFS += -DPROTOCOL_VUSB
|
2011-09-17 22:39:50 +09:00
|
|
|
|
2012-06-30 14:44:14 +09:00
|
|
|
SRC += $(VUSB_DIR)/main.c \
|
|
|
|
$(VUSB_DIR)/vusb.c \
|
|
|
|
$(VUSB_DIR)/usbdrv/usbdrv.c \
|
|
|
|
$(VUSB_DIR)/usbdrv/usbdrvasm.S \
|
|
|
|
$(VUSB_DIR)/usbdrv/oddebug.c
|
2011-09-22 16:56:36 +09:00
|
|
|
|
2011-09-17 22:39:50 +09:00
|
|
|
|
|
|
|
ifdef NO_UART
|
2013-04-18 15:51:14 +09:00
|
|
|
SRC += $(COMMON_DIR)/sendchar_null.c
|
2011-09-17 22:39:50 +09:00
|
|
|
else
|
2013-04-18 15:51:14 +09:00
|
|
|
SRC += $(COMMON_DIR)/sendchar_uart.c \
|
|
|
|
$(COMMON_DIR)/uart.c
|
2011-09-17 22:39:50 +09:00
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|
# Search Path
|
2012-06-07 12:35:24 +09:00
|
|
|
VPATH += $(TOP_DIR)/protocol/vusb:$(TOP_DIR)/protocol/vusb/usbdrv
|