summaryrefslogtreecommitdiffstats
path: root/keyboards/smallkeyboard/rules.mk
diff options
context:
space:
mode:
authorzhouqiong19840119 <82140728+zhouqiong19840119@users.noreply.github.com>2021-09-22 06:52:39 +0800
committerGitHub <noreply@github.com>2021-09-21 15:52:39 -0700
commitbb754069e95237bec69cc23845e2515eea5f33e4 (patch)
tree50332fd6b6394e02f6a780e1363ac4b98392624c /keyboards/smallkeyboard/rules.mk
parent32a96be09321870e7d7d084c893dee599e47132b (diff)
[Keyboard] smallkeyboard support (#12817)
Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com> Co-authored-by: Drashna Jaelre <drashna@live.com>
Diffstat (limited to 'keyboards/smallkeyboard/rules.mk')
-rw-r--r--keyboards/smallkeyboard/rules.mk26
1 files changed, 26 insertions, 0 deletions
diff --git a/keyboards/smallkeyboard/rules.mk b/keyboards/smallkeyboard/rules.mk
new file mode 100644
index 0000000000..54c776b6ec
--- /dev/null
+++ b/keyboards/smallkeyboard/rules.mk
@@ -0,0 +1,26 @@
+# MCU name
+MCU = atmega32u4
+
+# Bootloader selection
+BOOTLOADER = atmel-dfu
+
+# Build Options
+# change yes to no to disable
+#
+BOOTMAGIC_ENABLE = lite # Enable Bootmagic Lite
+MOUSEKEY_ENABLE = yes # Mouse keys
+EXTRAKEY_ENABLE = yes # Audio control and System control
+CONSOLE_ENABLE = yes # 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 = no # USB Nkey Rollover
+BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
+RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
+AUDIO_ENABLE = no # Audio output
+
+RGB_MATRIX_ENABLE = yes
+RGB_MATRIX_DRIVER = IS31FL3731
+
+RGB_MATRIX_SUPPORTED = yes