keychron_qmk_firmware/protocol/vusb.mk

20 lines
269 B
Makefile

OPT_DEFS += -DHOST_VUSB
SRC += vusb.c \
usbdrv.c \
usbdrvasm.S \
oddebug.c \
bootloader_usbasp.c \
ifdef NO_UART
SRC += sendchar_null.c
else
SRC += sendchar_uart.c \
uart.c
endif
# Search Path
VPATH += $(TOP_DIR)/protocol/vusb:$(TOP_DIR)/protocol/vusb/usbdrv