2015-04-09 16:32:04 +00:00
|
|
|
VUSB_DIR = protocol/vusb
|
|
|
|
|
2020-05-30 20:14:59 +00:00
|
|
|
# Path to the V-USB library
|
|
|
|
VUSB_PATH = $(LIB_PATH)/vusb
|
2015-04-09 16:32:04 +00:00
|
|
|
|
2020-05-30 20:14:59 +00:00
|
|
|
SRC += $(VUSB_DIR)/main.c \
|
2015-04-09 16:32:04 +00:00
|
|
|
$(VUSB_DIR)/vusb.c \
|
2020-05-30 20:14:59 +00:00
|
|
|
$(VUSB_PATH)/usbdrv/usbdrv.c \
|
|
|
|
$(VUSB_PATH)/usbdrv/usbdrvasm.S \
|
|
|
|
$(VUSB_PATH)/usbdrv/oddebug.c
|
2015-04-09 16:32:04 +00:00
|
|
|
|
2020-05-03 00:25:39 +00:00
|
|
|
ifneq ($(strip $(CONSOLE_ENABLE)), yes)
|
|
|
|
ifndef NO_UART
|
2015-04-09 16:32:04 +00:00
|
|
|
SRC += $(COMMON_DIR)/sendchar_uart.c \
|
|
|
|
$(COMMON_DIR)/uart.c
|
|
|
|
endif
|
2020-05-03 00:25:39 +00:00
|
|
|
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)
|
2020-05-30 20:14:59 +00:00
|
|
|
VPATH += $(VUSB_PATH)
|
|
|
|
|
|
|
|
OPT_DEFS += -DPROTOCOL_VUSB
|