2015-04-09 16:32:04 +00:00
|
|
|
VUSB_DIR = protocol/vusb
|
|
|
|
|
|
|
|
OPT_DEFS += -DPROTOCOL_VUSB
|
|
|
|
|
2017-01-21 22:09:17 +00:00
|
|
|
SRC += $(VUSB_DIR)/main.c \
|
2015-04-09 16:32:04 +00:00
|
|
|
$(VUSB_DIR)/vusb.c \
|
|
|
|
$(VUSB_DIR)/usbdrv/usbdrv.c \
|
|
|
|
$(VUSB_DIR)/usbdrv/usbdrvasm.S \
|
|
|
|
$(VUSB_DIR)/usbdrv/oddebug.c
|
|
|
|
|
|
|
|
|
|
|
|
ifdef NO_UART
|
|
|
|
SRC += $(COMMON_DIR)/sendchar_null.c
|
|
|
|
else
|
|
|
|
SRC += $(COMMON_DIR)/sendchar_uart.c \
|
|
|
|
$(COMMON_DIR)/uart.c
|
|
|
|
endif
|
|
|
|
|
2017-01-21 22:09:17 +00:00
|
|
|
|
2015-04-09 16:32:04 +00:00
|
|
|
# Search Path
|
2017-01-21 17:30:06 +00:00
|
|
|
VPATH += $(TMK_PATH)/$(VUSB_DIR)
|
|
|
|
VPATH += $(TMK_PATH)/$(VUSB_DIR)/usbdrv
|