2012-06-30 05:44:14 +00:00
|
|
|
VUSB_DIR = protocol/vusb
|
|
|
|
|
2013-03-10 15:14:58 +00:00
|
|
|
OPT_DEFS += -DPROTOCOL_VUSB
|
2011-09-17 13:39:50 +00:00
|
|
|
|
2012-06-30 05:44:14 +00: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 07:56:36 +00:00
|
|
|
|
2011-09-17 13:39:50 +00:00
|
|
|
|
|
|
|
ifdef NO_UART
|
2013-04-18 06:51:14 +00:00
|
|
|
SRC += $(COMMON_DIR)/sendchar_null.c
|
2011-09-17 13:39:50 +00:00
|
|
|
else
|
2013-04-18 06:51:14 +00:00
|
|
|
SRC += $(COMMON_DIR)/sendchar_uart.c \
|
|
|
|
$(COMMON_DIR)/uart.c
|
2011-09-17 13:39:50 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|
# Search Path
|
2012-06-07 03:35:24 +00:00
|
|
|
VPATH += $(TOP_DIR)/protocol/vusb:$(TOP_DIR)/protocol/vusb/usbdrv
|