2016-08-07 20:04:39 +06:00
|
|
|
# MCU name
|
|
|
|
MCU = atmega32u4
|
|
|
|
|
2019-10-21 01:51:37 +06:00
|
|
|
# Bootloader selection
|
|
|
|
BOOTLOADER = atmel-dfu
|
2016-08-07 20:04:39 +06:00
|
|
|
|
|
|
|
# Build Options
|
2021-12-13 08:05:37 +06:00
|
|
|
# change yes to no to disable
|
2016-08-07 20:04:39 +06:00
|
|
|
#
|
2021-11-05 03:18:09 +06:00
|
|
|
BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
|
2020-01-31 00:47:48 +06:00
|
|
|
MOUSEKEY_ENABLE = yes # Mouse keys
|
|
|
|
EXTRAKEY_ENABLE = yes # Audio control and System control
|
|
|
|
CONSOLE_ENABLE = yes # Console for debug
|
2017-07-01 02:09:52 +06:00
|
|
|
COMMAND_ENABLE = yes # Commands for debug and configuration
|
|
|
|
CUSTOM_MATRIX = yes # Custom matrix file for the HHKB
|
2021-12-09 11:05:44 +06:00
|
|
|
NKRO_ENABLE = no # Enable N-Key Rollover
|
2022-07-02 18:18:56 +06:00
|
|
|
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
|
2018-07-10 07:12:59 +06:00
|
|
|
|
2022-07-02 18:18:56 +06:00
|
|
|
HHKB_RN42_ENABLE = no # Enable support for hasu's BT alt controller -- code borrowed from tmk source tree.
|
2018-07-10 07:12:59 +06:00
|
|
|
|
|
|
|
# Either uncomment the HHKB_RN42_ENABLE line above, or run make enabling the
|
|
|
|
# feature. Be sure to clean any existing build before trying to enable rn42
|
|
|
|
# support. For example:
|
|
|
|
#
|
|
|
|
# make hhkb-keymap-clean
|
|
|
|
# make hhkb-keymap-dfu HHKB_RN42_ENABLE=yes
|
|
|
|
|
2019-10-21 01:51:37 +06:00
|
|
|
# project specific files
|
|
|
|
SRC = matrix.c
|
|
|
|
|
2017-08-24 08:29:07 +06:00
|
|
|
# debug-on: EXTRAFLAGS += -DDEBUG -DDEBUG_ACTION
|
|
|
|
# debug-on: all
|
2016-08-07 20:04:39 +06:00
|
|
|
|
2017-08-24 08:29:07 +06:00
|
|
|
# debug-off: EXTRAFLAGS += -DNO_DEBUG -DNO_PRINT
|
|
|
|
# debug-off: OPT_DEFS := $(filter-out -DCONSOLE_ENABLE,$(OPT_DEFS))
|
|
|
|
# debug-off: all
|
2020-04-05 13:29:17 +06:00
|
|
|
|
|
|
|
LAYOUTS = 60_hhkb
|