summaryrefslogtreecommitdiff
path: root/keyboards/emery65/rules.mk
diff options
context:
space:
mode:
authoryiancar <yiangosyiangou@cytanet.com.cy>2021-11-16 19:15:35 +0000
committerGitHub <noreply@github.com>2021-11-16 11:15:35 -0800
commitbed4ab6f6fb0b5b111d9a82eb07b9dcdceea6a12 (patch)
treea8b93b4230e058b1848668a4bd6d0bf2567653c3 /keyboards/emery65/rules.mk
parent22eba600418696542a6b84125f4dff2f37638c1e (diff)
[Keyboard] Emery65 (#15145)
Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: yiancar <yiancar@gmail.com>
Diffstat (limited to 'keyboards/emery65/rules.mk')
-rw-r--r--keyboards/emery65/rules.mk29
1 files changed, 29 insertions, 0 deletions
diff --git a/keyboards/emery65/rules.mk b/keyboards/emery65/rules.mk
new file mode 100644
index 0000000000..853d4afb29
--- /dev/null
+++ b/keyboards/emery65/rules.mk
@@ -0,0 +1,29 @@
+# MCU name
+MCU = STM32F072
+
+# Bootloader selection
+BOOTLOADER = stm32-dfu
+
+# Wildcard to allow APM32 MCU
+DFU_SUFFIX_ARGS = -v FFFF -p FFFF
+
+# Do not put the microcontroller into power saving mode
+# when we get USB suspend event. We want it to keep updating
+# backlight effects.
+OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
+
+# 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