# Teensy halfKay 512 | # Teensy halfKay 512 | ||||
# Atmel DFU loader 4096 | # Atmel DFU loader 4096 | ||||
# LUFA bootloader 4096 | # LUFA bootloader 4096 | ||||
OPT_DEFS += -DBOOT_SIZE=4096 | |||||
OPT_DEFS += -DBOOTLOADER_SIZE=4096 | |||||
# Teensy halfKay 512 | # Teensy halfKay 512 | ||||
# Atmel DFU loader 4096 | # Atmel DFU loader 4096 | ||||
# LUFA bootloader 4096 | # LUFA bootloader 4096 | ||||
OPT_DEFS += -DBOOT_SIZE=4096 | |||||
OPT_DEFS += -DBOOTLOADER_SIZE=4096 | |||||
# Search Path | # Search Path |
# Atmel DFU loader 4096 | # Atmel DFU loader 4096 | ||||
# LUFA bootloader 4096 | # LUFA bootloader 4096 | ||||
# USBasp 2048 | # USBasp 2048 | ||||
OPT_DEFS += -DBOOT_SIZE=2048 | |||||
OPT_DEFS += -DBOOTLOADER_SIZE=2048 | |||||
# Search Path | # Search Path |
# Teensy halfKay 512 | # Teensy halfKay 512 | ||||
# Atmel DFU loader 4096 | # Atmel DFU loader 4096 | ||||
# LUFA bootloader 4096 | # LUFA bootloader 4096 | ||||
OPT_DEFS += -DBOOT_SIZE=4096 | |||||
OPT_DEFS += -DBOOTLOADER_SIZE=4096 | |||||
# Search Path | # Search Path |
/* legacy keymap support */ | /* legacy keymap support */ | ||||
#define USE_LEGACY_KEYMAP | #define USE_LEGACY_KEYMAP | ||||
/* Boot Section Size in *BYTEs* | |||||
* Teensy halfKay 512 | |||||
* Teensy++ halfKay 1024 | |||||
* Atmel DFU loader 4096 | |||||
* LUFA bootloader 4096 | |||||
* USBaspLoader 2048 | |||||
*/ | |||||
#define BOOTLOADER_SIZE 4096 | |||||
/* Serial(USART) configuration | /* Serial(USART) configuration | ||||
* asynchronous, negative logic, 1200baud, no flow control | * asynchronous, negative logic, 1200baud, no flow control |
# Teensy halfKay 512 | # Teensy halfKay 512 | ||||
# Atmel DFU loader 4096 | # Atmel DFU loader 4096 | ||||
# LUFA bootloader 4096 | # LUFA bootloader 4096 | ||||
#OPT_DEFS += -DBOOT_SIZE=4096 | |||||
#OPT_DEFS += -DBOOTLOADER_SIZE=4096 | |||||
#OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | #OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||||
# Boot Section Size in bytes | |||||
# Boot Section Size in *bytes* | |||||
# Teensy halfKay 512 | # Teensy halfKay 512 | ||||
# Teensy++ halfKay 1024 | |||||
# Atmel DFU loader 4096 | # Atmel DFU loader 4096 | ||||
# LUFA bootloader 4096 | # LUFA bootloader 4096 | ||||
OPT_DEFS += -DBOOT_SIZE=4096 | |||||
# USBaspLoader 2048 | |||||
OPT_DEFS += -DBOOTLOADER_SIZE=4096 | |||||
# Build Options | # Build Options | ||||
COMMAND_ENABLE = yes # Commands for debug and configuration | COMMAND_ENABLE = yes # Commands for debug and configuration | ||||
SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend | SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend | ||||
#NKRO_ENABLE = yes # USB Nkey Rollover - not yet supported in LUFA | #NKRO_ENABLE = yes # USB Nkey Rollover - not yet supported in LUFA | ||||
#PS2_MOUSE_ENABLE = yes # PS/2 mouse(TrackPoint) support | |||||
# Optimize size but this may cause error "relocation truncated to fit" | # Optimize size but this may cause error "relocation truncated to fit" |
F_CPU = 16000000 | F_CPU = 16000000 | ||||
# Boot Section Size in bytes | |||||
# Boot Section Size in *bytes* | |||||
# Teensy halfKay 512 | # Teensy halfKay 512 | ||||
# Atmel DFU loader 4096 | # Atmel DFU loader 4096 | ||||
# LUFA bootloader 4096 | # LUFA bootloader 4096 | ||||
OPT_DEFS += -DBOOT_SIZE=4096 | |||||
OPT_DEFS += -DBOOTLOADER_SIZE=4096 | |||||
# Build Options | # Build Options |
keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \ | keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \ | ||||
) | ) | ||||
/* Boot Section Size in *BYTEs* | |||||
* Teensy halfKay 512 | |||||
* Teensy++ halfKay 1024 | |||||
* Atmel DFU loader 4096 | |||||
* LUFA bootloader 4096 | |||||
* USBaspLoader 2048 | |||||
*/ | |||||
#define BOOTLOADER_SIZE 4096 | |||||
/* | /* |
# Teensy halfKay 512 | # Teensy halfKay 512 | ||||
# Atmel DFU loader 4096 | # Atmel DFU loader 4096 | ||||
# LUFA bootloader 4096 | # LUFA bootloader 4096 | ||||
OPT_DEFS += -DBOOT_SIZE=4096 | |||||
OPT_DEFS += -DBOOTLOADER_SIZE=4096 | |||||
# Search Path | # Search Path |
keyboard_report->mods == (MOD_BIT(KC_LALT) | MOD_BIT(KC_RALT)) \ | keyboard_report->mods == (MOD_BIT(KC_LALT) | MOD_BIT(KC_RALT)) \ | ||||
) | ) | ||||
/* Boot Section Size in *BYTEs* | |||||
* Teensy halfKay 512 | |||||
* Teensy++ halfKay 1024 | |||||
* Atmel DFU loader 4096 | |||||
* LUFA bootloader 4096 | |||||
* USBaspLoader 2048 | |||||
*/ | |||||
#define BOOTLOADER_SIZE 4096 | |||||
#endif | #endif |
#define DESCRIPTION t.m.k. keyboard firmware for HHKB mod | #define DESCRIPTION t.m.k. keyboard firmware for HHKB mod | ||||
/* Boot Section Size in *BYTEs* | |||||
* Teensy halfKay 512 | |||||
* Teensy++ halfKay 1024 | |||||
* Atmel DFU loader 4096 | |||||
* LUFA bootloader 4096 | |||||
* USBaspLoader 2048 | |||||
*/ | |||||
#define BOOTLOADER_SIZE 1024 | |||||
/* matrix size */ | /* matrix size */ | ||||
#define MATRIX_ROWS 8 | #define MATRIX_ROWS 8 | ||||
#define MATRIX_COLS 8 | #define MATRIX_COLS 8 |
#define DESCRIPTION t.m.k. keyboard firmware for HHKB mod | #define DESCRIPTION t.m.k. keyboard firmware for HHKB mod | ||||
/* Boot Section Size in *BYTEs* | |||||
* Teensy halfKay 512 | |||||
* Teensy++ halfKay 1024 | |||||
* Atmel DFU loader 4096 | |||||
* LUFA bootloader 4096 | |||||
* USBaspLoader 2048 | |||||
*/ | |||||
#define BOOTLOADER_SIZE 2048 | |||||
/* matrix size */ | /* matrix size */ | ||||
#define MATRIX_ROWS 8 | #define MATRIX_ROWS 8 | ||||
#define MATRIX_COLS 8 | #define MATRIX_COLS 8 |
# Teensy halfKay 512 | # Teensy halfKay 512 | ||||
# Atmel DFU loader 4096 | # Atmel DFU loader 4096 | ||||
# LUFA bootloader 4096 | # LUFA bootloader 4096 | ||||
OPT_DEFS += -DBOOT_SIZE=4096 | |||||
OPT_DEFS += -DBOOTLOADER_SIZE=4096 | |||||
# Build Options | # Build Options |
# Teensy halfKay 512 | # Teensy halfKay 512 | ||||
# Atmel DFU loader 4096 | # Atmel DFU loader 4096 | ||||
# LUFA bootloader 4096 | # LUFA bootloader 4096 | ||||
OPT_DEFS += -DBOOT_SIZE=4096 | |||||
OPT_DEFS += -DBOOTLOADER_SIZE=4096 | |||||
# Build Options | # Build Options |
keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \ | keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \ | ||||
) | ) | ||||
/* Boot Section Size in *BYTEs* | |||||
* Teensy halfKay 512 | |||||
* Teensy++ halfKay 1024 | |||||
* Atmel DFU loader 4096 | |||||
* LUFA bootloader 4096 | |||||
* USBaspLoader 2048 | |||||
*/ | |||||
#define BOOTLOADER_SIZE 4096 | |||||
// TODO: configurable | // TODO: configurable | ||||
#define DEBUG_LED 0 | #define DEBUG_LED 0 | ||||
#define DEBUG_LED_CONFIG | #define DEBUG_LED_CONFIG |
# Teensy halfKay 512 | # Teensy halfKay 512 | ||||
# Atmel DFU loader 4096 | # Atmel DFU loader 4096 | ||||
# LUFA bootloader 4096 | # LUFA bootloader 4096 | ||||
#OPT_DEFS += -DBOOT_SIZE=4096 | |||||
#OPT_DEFS += -DBOOTLOADER_SIZE=4096 | |||||
# Search Path | # Search Path |
keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \ | keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \ | ||||
) | ) | ||||
/* Boot Section Size in *BYTEs* | |||||
* Teensy halfKay 512 | |||||
* Teensy++ halfKay 1024 | |||||
* Atmel DFU loader 4096 | |||||
* LUFA bootloader 4096 | |||||
* USBaspLoader 2048 | |||||
*/ | |||||
#define BOOTLOADER_SIZE 4096 | |||||
/* PS/2 mouse */ | /* PS/2 mouse */ | ||||
#ifdef PS2_MOUSE_ENABLE | #ifdef PS2_MOUSE_ENABLE | ||||
# define PS2_CLOCK_PORT PORTF | # define PS2_CLOCK_PORT PORTF |
# Teensy halfKay 512 | # Teensy halfKay 512 | ||||
# Atmel DFU loader 4096 | # Atmel DFU loader 4096 | ||||
# LUFA bootloader 4096 | # LUFA bootloader 4096 | ||||
OPT_DEFS += -DBOOT_SIZE=512 | |||||
OPT_DEFS += -DBOOTLOADER_SIZE=512 | |||||
# Search Path | # Search Path |
keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \ | keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \ | ||||
) | ) | ||||
/* Boot Section Size in *BYTEs* | |||||
* Teensy halfKay 512 | |||||
* Teensy++ halfKay 1024 | |||||
* Atmel DFU loader 4096 | |||||
* LUFA bootloader 4096 | |||||
* USBaspLoader 2048 | |||||
*/ | |||||
#define BOOTLOADER_SIZE 4096 | |||||
// TODO: configurable | // TODO: configurable | ||||
#define DEBUG_LED 0 | #define DEBUG_LED 0 | ||||
#define DEBUG_LED_CONFIG | #define DEBUG_LED_CONFIG |