ps2_usb: Fix for VUSB configuration
[tmk_keyboard.git] / tmk_core / protocol / vusb.mk
1 VUSB_DIR = protocol/vusb
2
3 OPT_DEFS += -DPROTOCOL_VUSB
4
5 SRC += $(VUSB_DIR)/main.c \
6 $(VUSB_DIR)/vusb.c \
7 $(VUSB_DIR)/usbdrv/usbdrv.c \
8 $(VUSB_DIR)/usbdrv/usbdrvasm.S \
9 $(VUSB_DIR)/usbdrv/oddebug.c
10
11
12 ifdef NO_UART
13 OPT_DEFS += -DNO_UART
14 SRC += $(COMMON_DIR)/sendchar_null.c
15 else
16 SRC += $(COMMON_DIR)/sendchar_uart.c \
17 $(COMMON_DIR)/uart.c
18 endif
19
20
21 # Search Path
22 VPATH += $(TMK_DIR)/protocol/vusb:$(TMK_DIR)/protocol/vusb/usbdrv
Imprint / Impressum