summaryrefslogtreecommitdiffstats
path: root/keyboards/work_louder/work_board/rules.mk
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2021-06-10 14:50:24 -0700
committerGitHub <noreply@github.com>2021-06-10 14:50:24 -0700
commit2e90ef05363893f3aa49c99af408e774609aa97a (patch)
tree4904c3b042a3ce13ba090fdaffaf70c7370016fa /keyboards/work_louder/work_board/rules.mk
parentd684b8cafed8298bed53c6fb184086fc573f4e91 (diff)
[Keyboard] Add Loop, Nano and Work boards from Work Louder (#12756)
Diffstat (limited to 'keyboards/work_louder/work_board/rules.mk')
-rw-r--r--keyboards/work_louder/work_board/rules.mk29
1 files changed, 29 insertions, 0 deletions
diff --git a/keyboards/work_louder/work_board/rules.mk b/keyboards/work_louder/work_board/rules.mk
new file mode 100644
index 0000000000..0731edd415
--- /dev/null
+++ b/keyboards/work_louder/work_board/rules.mk
@@ -0,0 +1,29 @@
+# MCU name
+MCU = atmega32u4
+
+# Bootloader selection
+BOOTLOADER = atmel-dfu
+
+# Build Options
+# change yes to no to disable
+#
+BOOTMAGIC_ENABLE = lite # 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 = yes # Enable keyboard RGB underglow
+BLUETOOTH_ENABLE = no # Enable Bluetooth
+AUDIO_ENABLE = no # Audio output
+ENCODER_ENABLE = yes
+LTO_ENABLE = yes
+
+RGB_MATRIX_ENABLE = yes
+RGB_MATRIX_DRIVER = WS2812
+
+SRC += encoder_actions.c rgb_functions.c