summaryrefslogtreecommitdiff
path: root/keyboards/geekboards/macropad_v2/rules.mk
diff options
context:
space:
mode:
authorSergey Omelchenko <ruddy.rudeman@gmail.com>2020-12-09 02:58:32 +0300
committerGitHub <noreply@github.com>2020-12-08 15:58:32 -0800
commite03d72d71eff9d6b1b3fbeb45bbf1b1c40989222 (patch)
tree17f13d26f48368c63ee9a525d11ed34434d5aebb /keyboards/geekboards/macropad_v2/rules.mk
parent563723392f40599c0a1c95330544e079a10140f2 (diff)
downloadqmk_firmware-e03d72d71eff9d6b1b3fbeb45bbf1b1c40989222.tar.gz
qmk_firmware-e03d72d71eff9d6b1b3fbeb45bbf1b1c40989222.zip
[Keyboard] Geekboards Macropad V2 keyboard (#11045)
* Initial commit of Geekboards Macropad V2 keyboard * Apply suggestions from code review Co-authored-by: Joel Challis <git@zvecr.com> * Apply suggestions from code review: delete unnecessary files * Fixed typos * Apply suggestions from code review Co-authored-by: Ryan <fauxpark@gmail.com> * Change RGB_MATRIX config syntax following recent core changes * Apply suggestions from drashna code review * Remove unnecessary file (it is now defined in the core) * Remove unnecessary code, due to PR 11084 approve Co-authored-by: Joel Challis <git@zvecr.com> Co-authored-by: Ryan <fauxpark@gmail.com>
Diffstat (limited to 'keyboards/geekboards/macropad_v2/rules.mk')
-rw-r--r--keyboards/geekboards/macropad_v2/rules.mk25
1 files changed, 25 insertions, 0 deletions
diff --git a/keyboards/geekboards/macropad_v2/rules.mk b/keyboards/geekboards/macropad_v2/rules.mk
new file mode 100644
index 0000000000..73575b6733
--- /dev/null
+++ b/keyboards/geekboards/macropad_v2/rules.mk
@@ -0,0 +1,25 @@
+# MCU name
+MCU = STM32F072
+
+# 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
+AUDIO_ENABLE = no # Audio output
+RGB_MATRIX_ENABLE = yes
+RGB_MATRIX_DRIVER = WS2812
+WS2812_DRIVER = pwm
+
+# Enter lower-power sleep mode when on the ChibiOS idle thread
+OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE