X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=converter%2Fps2_usb%2FMakefile.vusb;h=1bb44f8875d7c5e03035bf77825f199e7121aef6;hb=e93188021c0b1578ffbb6e0fadcd94e1e5132dcf;hp=b08d30d574adfcdd965666719a32c3cb3bd56b77;hpb=fca518f90dfc7f72132ff7950b000cfbd5709807;p=max%2Ftmk_keyboard.git diff --git a/converter/ps2_usb/Makefile.vusb b/converter/ps2_usb/Makefile.vusb index b08d30d5..1bb44f88 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 @@ -89,7 +87,7 @@ PROGRAM_CMD = $(AVRDUDE) $(AVRDUDE_FLAGS) $(AVRDUDE_WRITE_FLASH) $(AVRDUDE_WRITE # Atmel DFU loader 4096 # LUFA bootloader 4096 # USBasp 2048 -OPT_DEFS += -DBOOT_SIZE=2048 +OPT_DEFS += -DBOOTLOADER_SIZE=2048 # Search Path