summaryrefslogtreecommitdiffstats
path: root/keyboard/gh60
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2013-03-10 15:36:07 +0900
committertmk <nobody@nowhere>2013-03-10 17:53:29 +0900
commit51050875b7f1dd5216ba46298f95cf3030a36211 (patch)
tree85c0c37023033f851c8a18e5b407b4845537c029 /keyboard/gh60
parentf55c677ba46a8243f077195ef4f39cde1babf560 (diff)
Add BOOTLOADER_SIZE and remove BOOT_SIZE
- define BOOTLOADER_SIZE in config.h instead of Makefile
Diffstat (limited to 'keyboard/gh60')
-rw-r--r--keyboard/gh60/Makefile.lufa7
-rw-r--r--keyboard/gh60/config.h12
2 files changed, 10 insertions, 9 deletions
diff --git a/keyboard/gh60/Makefile.lufa b/keyboard/gh60/Makefile.lufa
index 65b6240efc..2076c919ca 100644
--- a/keyboard/gh60/Makefile.lufa
+++ b/keyboard/gh60/Makefile.lufa
@@ -107,13 +107,6 @@ CONSOLE_ENABLE = yes # Console for debug(+400)
#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
-
-
# Search Path
VPATH += $(TARGET_DIR)
VPATH += $(TOP_DIR)
diff --git a/keyboard/gh60/config.h b/keyboard/gh60/config.h
index 3a7a3f97fb..be4d72384e 100644
--- a/keyboard/gh60/config.h
+++ b/keyboard/gh60/config.h
@@ -25,12 +25,20 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DEVICE_VER 0x0001
#define MANUFACTURER geekhack
#define PRODUCT GH60
-
-
/* message strings */
#define DESCRIPTION t.m.k. keyboard firmware for GH60
+/* Boot Section Size in *BYTEs*
+ * Teensy halfKay 512
+ * Teensy++ halfKay 1024
+ * Atmel DFU loader 4096
+ * LUFA bootloader 4096
+ * USBaspLoader 2048
+ */
+#define BOOTLOADER_SIZE 4096
+
+
/* matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 14