diff options
| author | tmk <nobody@nowhere> | 2013-03-10 15:36:07 +0900 |
|---|---|---|
| committer | tmk <nobody@nowhere> | 2013-03-10 17:53:29 +0900 |
| commit | 51050875b7f1dd5216ba46298f95cf3030a36211 (patch) | |
| tree | 85c0c37023033f851c8a18e5b407b4845537c029 /keyboard/gh60 | |
| parent | f55c677ba46a8243f077195ef4f39cde1babf560 (diff) | |
| download | qmk_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/gh60')
| -rw-r--r-- | keyboard/gh60/Makefile.lufa | 7 | ||||
| -rw-r--r-- | keyboard/gh60/config.h | 12 |
2 files changed, 10 insertions, 9 deletions
diff --git a/keyboard/gh60/Makefile.lufa b/keyboard/gh60/Makefile.lufa index 65b6240ef..2076c919c 100644 --- a/keyboard/gh60/Makefile.lufa +++ b/keyboard/gh60/Makefile.lufa | |||
| @@ -107,13 +107,6 @@ CONSOLE_ENABLE = yes # Console for debug(+400) | |||
| 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 | # Atmel DFU loader 4096 | ||
| 113 | # LUFA bootloader 4096 | ||
| 114 | OPT_DEFS += -DBOOT_SIZE=4096 | ||
| 115 | |||
| 116 | |||
| 117 | # Search Path | 110 | # Search Path |
| 118 | VPATH += $(TARGET_DIR) | 111 | VPATH += $(TARGET_DIR) |
| 119 | VPATH += $(TOP_DIR) | 112 | VPATH += $(TOP_DIR) |
diff --git a/keyboard/gh60/config.h b/keyboard/gh60/config.h index 3a7a3f97f..be4d72384 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/>. | |||
| 25 | #define DEVICE_VER 0x0001 | 25 | #define DEVICE_VER 0x0001 |
| 26 | #define MANUFACTURER geekhack | 26 | #define MANUFACTURER geekhack |
| 27 | #define PRODUCT GH60 | 27 | #define PRODUCT GH60 |
| 28 | |||
| 29 | |||
| 30 | /* message strings */ | 28 | /* message strings */ |
| 31 | #define DESCRIPTION t.m.k. keyboard firmware for GH60 | 29 | #define DESCRIPTION t.m.k. keyboard firmware for GH60 |
| 32 | 30 | ||
| 33 | 31 | ||
| 32 | /* Boot Section Size in *BYTEs* | ||
| 33 | * Teensy halfKay 512 | ||
| 34 | * Teensy++ halfKay 1024 | ||
| 35 | * Atmel DFU loader 4096 | ||
| 36 | * LUFA bootloader 4096 | ||
| 37 | * USBaspLoader 2048 | ||
| 38 | */ | ||
| 39 | #define BOOTLOADER_SIZE 4096 | ||
| 40 | |||
| 41 | |||
| 34 | /* matrix size */ | 42 | /* matrix size */ |
| 35 | #define MATRIX_ROWS 5 | 43 | #define MATRIX_ROWS 5 |
| 36 | #define MATRIX_COLS 14 | 44 | #define MATRIX_COLS 14 |
