summaryrefslogtreecommitdiff
path: root/keyboards/moonlander/rules.mk
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2020-08-22 07:44:42 -0700
committerGitHub <noreply@github.com>2020-08-22 07:44:42 -0700
commit220b1c9db40d95271dcdd8d8050e46a2a3143c65 (patch)
treef98a2177f5ec0009df4400cfd5b100a3ff816297 /keyboards/moonlander/rules.mk
parent346bfb2a052f4e05cc91e55e1317c8529c405ac6 (diff)
downloadqmk_firmware-220b1c9db40d95271dcdd8d8050e46a2a3143c65.tar.gz
qmk_firmware-220b1c9db40d95271dcdd8d8050e46a2a3143c65.zip
[Keyboard] Add ZSA Moonlander (#9853)
Diffstat (limited to 'keyboards/moonlander/rules.mk')
-rw-r--r--keyboards/moonlander/rules.mk29
1 files changed, 29 insertions, 0 deletions
diff --git a/keyboards/moonlander/rules.mk b/keyboards/moonlander/rules.mk
new file mode 100644
index 0000000000..63e91fabb8
--- /dev/null
+++ b/keyboards/moonlander/rules.mk
@@ -0,0 +1,29 @@
+# MCU name
+MCU = STM32F303
+
+# 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 = yes # Console for debug
+COMMAND_ENABLE = yes # 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 = yes # Audio output
+CUSTOM_MATRIX = yes
+DEBOUNCE_TYPE = custom
+SWAP_HANDS_ENABLE = yes
+RGB_MATRIX_ENABLE = IS31FL3731
+#SERIAL_LINK_ENABLE = yes
+EEPROM_DRIVER = i2c
+
+#project specific files
+SRC += matrix.c
+QUANTUM_LIB_SRC += i2c_master.c