summaryrefslogtreecommitdiff
path: root/converter/ps2_usb/Makefile.vusb
diff options
context:
space:
mode:
Diffstat (limited to 'converter/ps2_usb/Makefile.vusb')
-rw-r--r--converter/ps2_usb/Makefile.vusb16
1 files changed, 7 insertions, 9 deletions
diff --git a/converter/ps2_usb/Makefile.vusb b/converter/ps2_usb/Makefile.vusb
index b08d30d574..d449e1e40f 100644
--- a/converter/ps2_usb/Makefile.vusb
+++ b/converter/ps2_usb/Makefile.vusb
@@ -1,8 +1,3 @@
-#
-# Makefile for V-USB
-#
-
-
# Target file name (without extension).
TARGET = ps2_usb_vusb
@@ -15,15 +10,18 @@ TARGET_DIR = .
# keyboard dependent files
SRC = keymap.c \
matrix.c \
- led.c \
- ps2_usart.c
+ led.c
+
+# Use USART for PS/2. With V-USB INT and BUSYWAIT code is not useful.
+SRC += protocol/ps2_usart.c
+OPT_DEFS += -DPS2_USE_USART
-CONFIG_H = config_vusb.h
+CONFIG_H = config.h
# V-USB debug level: To use ps2_usart.c level must be 0
# ps2_usart.c requires USART to receive PS/2 signal.
-OPT_DEFS = -DDEBUG_LEVEL=0
+OPT_DEFS += -DDEBUG_LEVEL=0
# MCU name, you MUST set this to match the board you are using