]> git.friedersdorff.com Git - max/tmk_keyboard.git/blobdiff - converter/ps2_usb/Makefile.vusb
Merge branch 'locking_caps'
[max/tmk_keyboard.git] / converter / ps2_usb / Makefile.vusb
index b08d30d574adfcdd965666719a32c3cb3bd56b77..d449e1e40f3eb0cf548f759cb9b4345a0b74d2c0 100644 (file)
@@ -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