summaryrefslogtreecommitdiff
path: root/keyboards/molecule/rules.mk
diff options
context:
space:
mode:
authorbbrfkr <bbrfkr@gmail.com>2021-06-07 14:08:20 +0900
committerGitHub <noreply@github.com>2021-06-06 22:08:20 -0700
commit7b666245d6e6baea939e0088fbbf9104d8efaca1 (patch)
treeab6aa9d8594731bd377aa53faa8d02faa0cae78f /keyboards/molecule/rules.mk
parent23631de1919da3de393d1870d8c9606d1cd4849b (diff)
[Keyboard] add molecule (#12601)
Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Drashna Jaelre <drashna@live.com>
Diffstat (limited to 'keyboards/molecule/rules.mk')
-rwxr-xr-xkeyboards/molecule/rules.mk27
1 files changed, 27 insertions, 0 deletions
diff --git a/keyboards/molecule/rules.mk b/keyboards/molecule/rules.mk
new file mode 100755
index 0000000000..9130ab8ec9
--- /dev/null
+++ b/keyboards/molecule/rules.mk
@@ -0,0 +1,27 @@
+# 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 = no # 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
+
+# Add trackball support
+POINTING_DEVICE_ENABLE = yes
+SRC += adns.c
+QUANTUM_LIB_SRC += spi_master.c