aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/hhkb_lite_2/rules.mk
diff options
context:
space:
mode:
authorYu-Xi Lim <thirteen37@users.noreply.github.com>2020-08-18 15:06:19 +0800
committerGitHub <noreply@github.com>2020-08-18 00:06:19 -0700
commit4237d35e83826d0d8949a45dffa27d6c68d3d4f9 (patch)
tree99c3e8b0310b3687cf083ebaecf1e4bc8a84aeaf /keyboards/hhkb_lite_2/rules.mk
parent0d65bbaa44b8b911744b5496fc9d8fca181d6ef5 (diff)
downloadfirmware-4237d35e83826d0d8949a45dffa27d6c68d3d4f9.tar.gz
firmware-4237d35e83826d0d8949a45dffa27d6c68d3d4f9.tar.bz2
firmware-4237d35e83826d0d8949a45dffa27d6c68d3d4f9.zip
[Keyboard] HHKB Lite 2 (#9188)
* Initial commit for HHKB Lite 2 * Rearrange keymap * Clean up config * Fix pin assignments * Code and filename cleanup * Add README * Apply suggestions from code review Code cleanup * Update keyboards/hhkb_lite_2/README.md Documentation cleanup * Change Vendor ID to unused * One more LAYOUT * Via keymap for HHKB Lite 2 * Remove redundant keymap.c * Add README for Via keymap * Fix vendorId for Via keymap * Apply suggestions from code review Cleanup based on review feedback * Clean up via keymap makefile rules * Switch to C keymap instead of JSON for Via layout * Move bootmagic key config to main Moved to main keyboard config to be shared by all keymaps. * Address PR feedback * Reformat config comments * Format rules.mk comments * Rename README -> readme * Use `make` instead of `qmk` in examples
Diffstat (limited to 'keyboards/hhkb_lite_2/rules.mk')
-rw-r--r--keyboards/hhkb_lite_2/rules.mk23
1 files changed, 23 insertions, 0 deletions
diff --git a/keyboards/hhkb_lite_2/rules.mk b/keyboards/hhkb_lite_2/rules.mk
new file mode 100644
index 000000000..dd0271792
--- /dev/null
+++ b/keyboards/hhkb_lite_2/rules.mk
@@ -0,0 +1,23 @@
+# MCU name
+MCU = atmega32u4
+
+# Bootloader selection
+BOOTLOADER = halfkay
+
+# Build Options
+# change yes to no to disable
+#
+BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration
+MOUSEKEY_ENABLE = yes # Mouse keys
+EXTRAKEY_ENABLE = yes # Audio control and System control
+CONSOLE_ENABLE = no # Console for debug
+COMMAND_ENABLE = no # Commands for debug and configuration
+# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
+SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
+# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
+NKRO_ENABLE = yes # USB Nkey Rollover
+BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
+RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
+BLUETOOTH_ENABLE = no # Enable Bluetooth
+AUDIO_ENABLE = no # Audio output
+UNICODE_ENABLE = yes