diff options
author | tmk <nobody@nowhere> | 2012-10-14 20:03:26 +0900 |
---|---|---|
committer | tmk <nobody@nowhere> | 2012-10-14 20:06:50 +0900 |
commit | 1ac674db66e47e69b87c4c78566932ab73225836 (patch) | |
tree | d4005c76a5c2f5ec06c5a74a27460a764c9589d6 /converter/ps2_usb/Makefile.vusb | |
parent | 9f05dc6f444e159af3805baf5117be4d0da2d349 (diff) | |
download | qmk_firmware-1ac674db66e47e69b87c4c78566932ab73225836.tar.gz qmk_firmware-1ac674db66e47e69b87c4c78566932ab73225836.zip |
Fix PS/2 protocol build options
Diffstat (limited to 'converter/ps2_usb/Makefile.vusb')
-rw-r--r-- | converter/ps2_usb/Makefile.vusb | 16 |
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 |