summaryrefslogtreecommitdiff
path: root/keyboards/soda/pocket/rules.mk
diff options
context:
space:
mode:
authorJeayo Keh <gezhaoyou@126.com>2023-02-15 05:11:45 +0800
committerGitHub <noreply@github.com>2023-02-14 14:11:45 -0700
commit7ae9dbca1d1551e397b256aa3864460775802db4 (patch)
tree62c905e0ecdfbefbd5a6bb9c561a0c5e62726128 /keyboards/soda/pocket/rules.mk
parent7d0358cfebc75f685ad1cf3ff7ae20ec6afe4430 (diff)
[Keyboard] add ‘soda/pocket’ (#19838)
Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: jack <0x6a73@protonmail.com>
Diffstat (limited to 'keyboards/soda/pocket/rules.mk')
-rw-r--r--keyboards/soda/pocket/rules.mk14
1 files changed, 14 insertions, 0 deletions
diff --git a/keyboards/soda/pocket/rules.mk b/keyboards/soda/pocket/rules.mk
new file mode 100644
index 0000000000..d8724cc6e6
--- /dev/null
+++ b/keyboards/soda/pocket/rules.mk
@@ -0,0 +1,14 @@
+RGB_MATRIX_ENABLE = yes
+RGB_MATRIX_DRIVER = WS2812
+
+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
+AUDIO_ENABLE = no # Audio output
+
+# Enter lower-power sleep mode when on the ChibiOS idle thread
+OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE