aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar tmk <nobody@nowhere>2013-03-27 15:21:16 +0900
committerGravatar tmk <nobody@nowhere>2013-03-27 15:21:16 +0900
commitf57a44261ebf42b3c1b8e336230a8b40c61a13de (patch)
tree4be93f4f5aa839bfca497a3edf59c7ffaafb3b9b
parentafc3148e2341e4be982cdb628543e30923cfdaf7 (diff)
downloadqmk_firmware-f57a44261ebf42b3c1b8e336230a8b40c61a13de.tar.gz
Fix Makefile of gh60
-rw-r--r--keyboard/gh60/Makefile.lufa9
-rw-r--r--keyboard/gh60/Makefile.pjrc3
2 files changed, 11 insertions, 1 deletions
diff --git a/keyboard/gh60/Makefile.lufa b/keyboard/gh60/Makefile.lufa
index f153bc311..278f966de 100644
--- a/keyboard/gh60/Makefile.lufa
+++ b/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.
#
diff --git a/keyboard/gh60/Makefile.pjrc b/keyboard/gh60/Makefile.pjrc
index 290f7cb87..c12334fca 100644
--- a/keyboard/gh60/Makefile.pjrc
+++ b/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