summaryrefslogtreecommitdiff
path: root/keyboards/soda/cherish/rules.mk
diff options
context:
space:
mode:
authorZhaoYou <gezhaoyou@126.com>2022-08-17 15:26:35 +0800
committerGitHub <noreply@github.com>2022-08-17 00:26:35 -0700
commit6b78d07e647b488569cd6ee8666f2347f47051d9 (patch)
tree5b6011ebcdeb86fad4156ca13285dae49e25c510 /keyboards/soda/cherish/rules.mk
parent39337373f528a36f8ccb5bd515fe6fbfc6d3b7d8 (diff)
[Keyboard] add 'soda/cherish' (#18057)
Co-authored-by: Drashna Jaelre <drashna@live.com>
Diffstat (limited to 'keyboards/soda/cherish/rules.mk')
-rw-r--r--keyboards/soda/cherish/rules.mk21
1 files changed, 21 insertions, 0 deletions
diff --git a/keyboards/soda/cherish/rules.mk b/keyboards/soda/cherish/rules.mk
new file mode 100644
index 0000000000..490b5aab76
--- /dev/null
+++ b/keyboards/soda/cherish/rules.mk
@@ -0,0 +1,21 @@
+# MCU name
+MCU = STM32F072
+
+# Bootloader selection
+BOOTLOADER = stm32-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 = yes # Console for debug
+COMMAND_ENABLE = yes # Commands for debug and configuration
+NKRO_ENABLE = yes # Enable N-Key Rollover
+BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
+RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
+AUDIO_ENABLE = no # Audio output
+
+# Enter lower-power sleep mode when on the ChibiOS idle thread
+OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE