]> git.friedersdorff.com Git - max/tmk_keyboard.git/blobdiff - keyboard/gh60/Makefile.lufa
Bugfix: wrong order during init
[max/tmk_keyboard.git] / keyboard / gh60 / Makefile.lufa
index 8042ff3f49610462ae0347375061a90ae551bcc7..ad7d219e3ed8cc7f1bcaff526c41bb9cbbf0428b 100644 (file)
@@ -48,7 +48,7 @@ TOP_DIR = ../..
 TARGET_DIR = .
 
 # project specific files
-SRC += keymap.c \
+SRC  keymap.c \
        matrix.c \
        led.c
 
@@ -96,6 +96,15 @@ F_USB = $(F_CPU)
 #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.
 #
@@ -103,13 +112,13 @@ 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
 
 
 # Optimize size but this may cause error "relocation truncated to fit"
-EXTRALDFLAGS = -Wl,--relax
+#EXTRALDFLAGS = -Wl,--relax
 
 # Search Path
 VPATH += $(TARGET_DIR)