aboutsummaryrefslogtreecommitdiff
path: root/keyboard/hhkb
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/hhkb
parentf55c677ba46a8243f077195ef4f39cde1babf560 (diff)
downloadqmk_firmware-51050875b7f1dd5216ba46298f95cf3030a36211.tar.gz
qmk_firmware-51050875b7f1dd5216ba46298f95cf3030a36211.zip
Add BOOTLOADER_SIZE and remove BOOT_SIZE
- define BOOTLOADER_SIZE in config.h instead of Makefile
Diffstat (limited to 'keyboard/hhkb')
-rw-r--r--keyboard/hhkb/Makefile.iwrap9
-rw-r--r--keyboard/hhkb/Makefile.lufa8
-rw-r--r--keyboard/hhkb/config.h10
-rw-r--r--keyboard/hhkb/config_iwrap.h10
4 files changed, 19 insertions, 18 deletions
diff --git a/keyboard/hhkb/Makefile.iwrap b/keyboard/hhkb/Makefile.iwrap
index 3ec1a3164..f87df0d2b 100644
--- a/keyboard/hhkb/Makefile.iwrap
+++ b/keyboard/hhkb/Makefile.iwrap
@@ -49,15 +49,6 @@ EXTRAKEY_ENABLE = yes # Audio control and System control
49#NKRO_ENABLE = yes # USB Nkey Rollover 49#NKRO_ENABLE = yes # USB Nkey Rollover
50 50
51 51
52# Boot Section Size in *BYTEs*
53# Teensy halfKay 512
54# Teensy++ halfKay 1024
55# Atmel DFU loader 4096
56# LUFA bootloader 4096
57# USBaspLoader 2048
58OPT_DEFS += -DBOOT_SIZE=2048
59
60
61 52
62#---------------- Programming Options -------------------------- 53#---------------- Programming Options --------------------------
63AVRDUDE = avrdude 54AVRDUDE = avrdude
diff --git a/keyboard/hhkb/Makefile.lufa b/keyboard/hhkb/Makefile.lufa
index 75c0310d6..e8b2414d3 100644
--- a/keyboard/hhkb/Makefile.lufa
+++ b/keyboard/hhkb/Makefile.lufa
@@ -107,14 +107,6 @@ CONSOLE_ENABLE = yes # Console for debug
107#PS2_MOUSE_ENABLE = yes # PS/2 mouse(TrackPoint) support 107#PS2_MOUSE_ENABLE = yes # PS/2 mouse(TrackPoint) support
108 108
109 109
110# Boot Section Size in *BYTEs*
111# Teensy halfKay 512
112# Teensy++ halfKay 1024
113# Atmel DFU loader 4096
114# LUFA bootloader 4096
115OPT_DEFS += -DBOOT_SIZE=1024
116
117
118# Search Path 110# Search Path
119VPATH += $(TARGET_DIR) 111VPATH += $(TARGET_DIR)
120VPATH += $(TOP_DIR) 112VPATH += $(TOP_DIR)
diff --git a/keyboard/hhkb/config.h b/keyboard/hhkb/config.h
index 72e4d26e9..3bfeb45ed 100644
--- a/keyboard/hhkb/config.h
+++ b/keyboard/hhkb/config.h
@@ -27,9 +27,17 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
27#define DEVICE_VER 0x0103 27#define DEVICE_VER 0x0103
28#define MANUFACTURER t.m.k. 28#define MANUFACTURER t.m.k.
29#define PRODUCT HHKB mod 29#define PRODUCT HHKB mod
30#define DESCRIPTION t.m.k. keyboard firmware for HHKB mod
30 31
31 32
32#define DESCRIPTION t.m.k. keyboard firmware for HHKB mod 33/* Boot Section Size in *BYTEs*
34 * Teensy halfKay 512
35 * Teensy++ halfKay 1024
36 * Atmel DFU loader 4096
37 * LUFA bootloader 4096
38 * USBaspLoader 2048
39 */
40#define BOOTLOADER_SIZE 1024
33 41
34 42
35/* matrix size */ 43/* matrix size */
diff --git a/keyboard/hhkb/config_iwrap.h b/keyboard/hhkb/config_iwrap.h
index d50b704d7..2c18cd817 100644
--- a/keyboard/hhkb/config_iwrap.h
+++ b/keyboard/hhkb/config_iwrap.h
@@ -27,6 +27,16 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
27#define DESCRIPTION t.m.k. keyboard firmware for HHKB mod 27#define DESCRIPTION t.m.k. keyboard firmware for HHKB mod
28 28
29 29
30/* Boot Section Size in *BYTEs*
31 * Teensy halfKay 512
32 * Teensy++ halfKay 1024
33 * Atmel DFU loader 4096
34 * LUFA bootloader 4096
35 * USBaspLoader 2048
36 */
37#define BOOTLOADER_SIZE 2048
38
39
30/* matrix size */ 40/* matrix size */
31#define MATRIX_ROWS 8 41#define MATRIX_ROWS 8
32#define MATRIX_COLS 8 42#define MATRIX_COLS 8