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