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