]> git.donarmstrong.com Git - tmk_firmware.git/blobdiff - keyboard/gh60/Makefile.lufa
Update of IS_COMMAND (thanks to ibm4704 branch)
[tmk_firmware.git] / keyboard / gh60 / Makefile.lufa
index 7548d47855b6ed0700d778f76138161cd3a6a41a..ad7d219e3ed8cc7f1bcaff526c41bb9cbbf0428b 100644 (file)
@@ -47,9 +47,8 @@ TOP_DIR = ../..
 # Directory keyboard dependent files exist
 TARGET_DIR = .
 
-
-# List C source files here. (C dependencies are automatically generated.)
-SRC += keymap.c \
+# project specific files
+SRC =  keymap.c \
        matrix.c \
        led.c
 
@@ -93,23 +92,33 @@ ARCH = AVR8
 #     CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
 F_USB = $(F_CPU)
 
+# Interrupt driven control endpoint task(+60)
+#OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
+
+
+# Boot Section Size in *bytes*
+#   Teensy halfKay   512
+#   Teensy++ halfKay 1024
+#   Atmel DFU loader 4096
+#   LUFA bootloader  4096
+#   USBaspLoader     2048
+OPT_DEFS += -DBOOTLOADER_SIZE=4096
+
 
 # Build Options
 #   comment out to disable the options.
 #
-MOUSEKEY_ENABLE = yes  # Mouse keys
-EXTRAKEY_ENABLE = yes  # Audio control and System control
-CONSOLE_ENABLE = yes   # Console for debug
+BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration(+1000)
+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
+SLEEP_LED_ENABLE = yes  # Breathing sleep LED during USB suspend
 #NKRO_ENABLE = yes     # USB Nkey Rollover - not yet supported in LUFA
-#PS2_MOUSE_ENABLE = yes        # PS/2 mouse(TrackPoint) support
-
 
-# Boot Section Size in bytes
-#   Teensy halfKay   512
-#   Atmel DFU loader 4096
-#   LUFA bootloader  4096
-OPT_DEFS += -DBOOT_SIZE=4096
 
+# Optimize size but this may cause error "relocation truncated to fit"
+#EXTRALDFLAGS = -Wl,--relax
 
 # Search Path
 VPATH += $(TARGET_DIR)
@@ -125,5 +134,8 @@ plain: all
 poker: OPT_DEFS += -DKEYMAP_POKER
 poker: all
 
-poker_stack: OPT_DEFS += -DKEYMAP_POKER_STACK
-poker_stack: all
+poker_set: OPT_DEFS += -DKEYMAP_POKER_SET
+poker_set: all
+
+poker_bit: OPT_DEFS += -DKEYMAP_POKER_BIT
+poker_bit: all