Browse Source

Fix Makefile of gh60

tmk 12 years ago
parent
commit
f57a44261e
2 changed files with 11 additions and 1 deletions
  1. 8 1
      keyboard/gh60/Makefile.lufa
  2. 3 0
      keyboard/gh60/Makefile.pjrc

+ 8 - 1
keyboard/gh60/Makefile.lufa

@@ -48,7 +48,7 @@ TOP_DIR = ../..
 TARGET_DIR = .
 
 # project specific files
-SRC +=	keymap.c \
+SRC =	keymap.c \
 	matrix.c \
 	led.c
 
@@ -96,6 +96,13 @@ F_USB = $(F_CPU)
 #OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
 
 
+# Boot Section Size in bytes
+#   Teensy halfKay   512
+#   Atmel DFU loader 4096
+#   LUFA bootloader  4096
+OPT_DEFS += -DBOOT_SIZE=4096
+
+
 # Build Options
 #   comment out to disable the options.
 #

+ 3 - 0
keyboard/gh60/Makefile.pjrc

@@ -68,12 +68,14 @@ MCU = atmega32u4
 #   examples use this variable to calculate timings.  Do not add a "UL" here.
 F_CPU = 16000000
 
+
 # Boot Section Size in bytes
 #   Teensy halfKay   512
 #   Atmel DFU loader 4096
 #   LUFA bootloader  4096
 OPT_DEFS += -DBOOT_SIZE=4096
 
+
 # Build Options
 #   comment out to disable the options.
 #
@@ -82,6 +84,7 @@ MOUSEKEY_ENABLE = yes	# Mouse keys(+5000)
 EXTRAKEY_ENABLE = yes	# Audio control and System control(+600)
 CONSOLE_ENABLE = yes    # Console for debug
 COMMAND_ENABLE = yes    # Commands for debug and configuration
+SLEEP_LED_ENABLE = yes  # Breathing sleep LED during USB suspend
 NKRO_ENABLE = yes	# USB Nkey Rollover(+500)
 #PS2_MOUSE_ENABLE = yes	# PS/2 mouse(TrackPoint) support