2015-04-09 18:32:04 +02:00
|
|
|
VUSB_DIR = protocol/vusb
|
|
|
|
|
2020-05-30 22:14:59 +02:00
|
|
|
# Path to the V-USB library
|
|
|
|
VUSB_PATH = $(LIB_PATH)/vusb
|
2015-04-09 18:32:04 +02:00
|
|
|
|
2020-05-30 22:14:59 +02:00
|
|
|
SRC += $(VUSB_DIR)/main.c \
|
2015-04-09 18:32:04 +02:00
|
|
|
$(VUSB_DIR)/vusb.c \
|
2020-05-30 22:14:59 +02:00
|
|
|
$(VUSB_PATH)/usbdrv/usbdrv.c \
|
|
|
|
$(VUSB_PATH)/usbdrv/usbdrvasm.S \
|
|
|
|
$(VUSB_PATH)/usbdrv/oddebug.c
|
2015-04-09 18:32:04 +02:00
|
|
|
|
2020-05-03 02:25:39 +02:00
|
|
|
ifneq ($(strip $(CONSOLE_ENABLE)), yes)
|
|
|
|
ifndef NO_UART
|
2015-04-09 18:32:04 +02:00
|
|
|
SRC += $(COMMON_DIR)/sendchar_uart.c \
|
|
|
|
$(COMMON_DIR)/uart.c
|
|
|
|
endif
|
2020-05-03 02:25:39 +02:00
|
|
|
endif
|
2017-01-21 23:09:17 +01:00
|
|
|
|
2015-04-09 18:32:04 +02:00
|
|
|
# Search Path
|
2017-01-21 18:30:06 +01:00
|
|
|
VPATH += $(TMK_PATH)/$(VUSB_DIR)
|
2020-05-30 22:14:59 +02:00
|
|
|
VPATH += $(VUSB_PATH)
|
|
|
|
|
|
|
|
OPT_DEFS += -DPROTOCOL_VUSB
|