]> git.friedersdorff.com Git - max/tmk_keyboard.git/blobdiff - converter/xt_usb/Makefile
xt_usb: Replace functions with macros
[max/tmk_keyboard.git] / converter / xt_usb / Makefile
index 6fc29cbf065c0743c4ef0ca5492fde909c572056..0cbf3b563419ee098a7be8b8c10c984372b378ab 100644 (file)
@@ -11,7 +11,8 @@ TMK_DIR = ../../tmk_core
 TARGET_DIR = .
 
 # project specific files
-SRC =  matrix.c \
+SRC =  protocol/xt_interrupt.c \
+       matrix.c \
        led.c
 
 ifdef KEYMAP
@@ -61,7 +62,7 @@ ARCH = AVR8
 F_USB = $(F_CPU)
 
 # Interrupt driven control endpoint task(+60)
-#OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
+OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
 
 
 # Boot Section Size in *bytes*
@@ -71,6 +72,7 @@ F_USB = $(F_CPU)
 #   LUFA bootloader  4096
 #   USBaspLoader     2048
 OPT_DEFS += -DBOOTLOADER_SIZE=512
+#OPT_DEFS += -DBOOTLOADER_SIZE=4096
 
 
 # Build Options
@@ -81,12 +83,7 @@ MOUSEKEY_ENABLE = yes        # Mouse keys(+4700)
 EXTRAKEY_ENABLE = yes  # Audio control and System control(+450)
 CONSOLE_ENABLE = yes   # Console for debug(+400)
 COMMAND_ENABLE = yes    # Commands for debug and configuration
-NKRO_ENABLE = yes      # USB Nkey Rollover - not yet supported in LUFA
-
-
-# XT/2 Options
-#
-XT_USE_INT = yes       # uses external interrupt for falling edge of PS/2 clock pin
+NKRO_ENABLE = yes      # USB Nkey Rollover
 
 
 # Optimize size but this may cause error "relocation truncated to fit"