qmk_firmware/tmk_core/protocol/vusb.mk

24 lines
460 B
Makefile
Raw Normal View History

VUSB_DIR = protocol/vusb
2020-05-30 22:14:59 +02:00
# Path to the V-USB library
VUSB_PATH = $(LIB_PATH)/vusb
2020-05-30 22:14:59 +02:00
SRC += $(VUSB_DIR)/main.c \
$(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
2020-05-03 02:25:39 +02:00
ifneq ($(strip $(CONSOLE_ENABLE)), yes)
ifndef NO_UART
SRC += $(COMMON_DIR)/sendchar_uart.c \
$(COMMON_DIR)/uart.c
endif
2020-05-03 02:25:39 +02:00
endif
# Search Path
VPATH += $(TMK_PATH)/$(VUSB_DIR)
2020-05-30 22:14:59 +02:00
VPATH += $(VUSB_PATH)
OPT_DEFS += -DPROTOCOL_VUSB