summaryrefslogtreecommitdiff
path: root/keyboards/gmmk/pro/rev2/iso/rules.mk
diff options
context:
space:
mode:
authorJoy Lee <joylee.lc@foxmail.com>2022-08-14 12:00:12 +0800
committerGitHub <noreply@github.com>2022-08-14 14:00:12 +1000
commite948fa6f6e184a3c9a317a7aa680e33e7629b0d4 (patch)
treed40bf0ef14a47125dcdc15237294a084d28098fa /keyboards/gmmk/pro/rev2/iso/rules.mk
parentdfc92d8f7b669af403c5be0121bbb678e5be8611 (diff)
Added support for gmmk pro rev2 keyboard. (#17655)
Co-authored-by: Joy <chang.li@westberrytech.com>
Diffstat (limited to 'keyboards/gmmk/pro/rev2/iso/rules.mk')
-rw-r--r--keyboards/gmmk/pro/rev2/iso/rules.mk26
1 files changed, 26 insertions, 0 deletions
diff --git a/keyboards/gmmk/pro/rev2/iso/rules.mk b/keyboards/gmmk/pro/rev2/iso/rules.mk
new file mode 100644
index 0000000000..cf6373ae46
--- /dev/null
+++ b/keyboards/gmmk/pro/rev2/iso/rules.mk
@@ -0,0 +1,26 @@
+# MCU name
+MCU = WB32F3G71
+
+# Bootloader selection
+BOOTLOADER = wb32-dfu
+
+# Build Options
+# change yes to no to disable
+#
+BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
+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
+AUDIO_ENABLE = no # Audio output
+ENCODER_ENABLE = yes
+RGB_MATRIX_ENABLE = yes
+RGB_MATRIX_DRIVER = AW20216
+EEPROM_DRIVER = wear_leveling
+WEAR_LEVELING_DRIVER = spi_flash