summaryrefslogtreecommitdiff
path: root/keyboards/cassette42/rules.mk
diff options
context:
space:
mode:
authorMonksoffunk <monksoffunk@users.noreply.github.com>2021-03-15 04:55:59 +0900
committerGitHub <noreply@github.com>2021-03-15 06:55:59 +1100
commit45e6bb7add65d4fd733feb2ae1a059782d7f2cfc (patch)
tree3bc8d438205cad99ffbae78e0628e8fc53084958 /keyboards/cassette42/rules.mk
parent7b7689d30796c977b95197091c16e8bb97000101 (diff)
Add Cassette42 (#10562)
Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: Ryan <fauxpark@gmail.com>
Diffstat (limited to 'keyboards/cassette42/rules.mk')
-rw-r--r--keyboards/cassette42/rules.mk26
1 files changed, 26 insertions, 0 deletions
diff --git a/keyboards/cassette42/rules.mk b/keyboards/cassette42/rules.mk
new file mode 100644
index 0000000000..4fd8e384b3
--- /dev/null
+++ b/keyboards/cassette42/rules.mk
@@ -0,0 +1,26 @@
+# MCU name
+MCU = atmega32u4
+
+# Bootloader selection
+BOOTLOADER = caterina
+
+# Build Options
+# change yes to no to disable
+#
+BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration
+MOUSEKEY_ENABLE = no # 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 = no # 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
+OLED_DRIVER_ENABLE = yes
+
+SRC += ./common/oled_helper.c