summaryrefslogtreecommitdiffstats
path: root/keyboards/melgeek/mj63/rev2/rules.mk
diff options
context:
space:
mode:
authorMelGeek <65591833+melgeek001365@users.noreply.github.com>2021-02-21 12:59:32 +0800
committerGitHub <noreply@github.com>2021-02-20 20:59:32 -0800
commit6e59fe0b4ab5b3512dd35a518e0cc8b3a31b0d42 (patch)
treea4026f61cdbd3584a8ad3e01a196e7ab7fb90c59 /keyboards/melgeek/mj63/rev2/rules.mk
parent03679f0532e951808a625486d62bfa45c4da9620 (diff)
[Keyboard] Update MJ63 architecture to support multi version (#11788)
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/melgeek/mj63/rev2/rules.mk')
-rw-r--r--keyboards/melgeek/mj63/rev2/rules.mk23
1 files changed, 23 insertions, 0 deletions
diff --git a/keyboards/melgeek/mj63/rev2/rules.mk b/keyboards/melgeek/mj63/rev2/rules.mk
new file mode 100644
index 0000000000..d5fc76b8e7
--- /dev/null
+++ b/keyboards/melgeek/mj63/rev2/rules.mk
@@ -0,0 +1,23 @@
+# 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 = 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 = no # Enable keyboard RGB underglow
+BLUETOOTH_ENABLE = no # Enable Bluetooth
+RGB_MATRIX_ENABLE = yes # Use RGB matrix
+RGB_MATRIX_DRIVER = IS31FL3741
+NO_USB_STARTUP_CHECK = no # Disable initialization only when usb is plugged in
+
+LAYOUTS = 60_ansi_arrow