summaryrefslogtreecommitdiff
path: root/keyboards/mode/m80v1/m80h/rules.mk
diff options
context:
space:
mode:
authorÁlvaro A. Volpato <alvaro.volpato@usp.br>2021-12-29 07:57:22 -0300
committerGitHub <noreply@github.com>2021-12-29 02:57:22 -0800
commitdea23720e67d95278830a1172dac57a4e502a050 (patch)
tree11dada790ca5d4ad7292009b4b37d709d4fa60d8 /keyboards/mode/m80v1/m80h/rules.mk
parent9475767e7a0e0c6e0ceccc446bec848002d6fc77 (diff)
[Keyboard] Add Mode Eighty M80v2 PCB support (#15486)
Co-authored-by: Ryan <fauxpark@gmail.com>
Diffstat (limited to 'keyboards/mode/m80v1/m80h/rules.mk')
-rw-r--r--keyboards/mode/m80v1/m80h/rules.mk21
1 files changed, 21 insertions, 0 deletions
diff --git a/keyboards/mode/m80v1/m80h/rules.mk b/keyboards/mode/m80v1/m80h/rules.mk
new file mode 100644
index 0000000000..56294f95fd
--- /dev/null
+++ b/keyboards/mode/m80v1/m80h/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 = no # Enable Bootmagic Lite
+MOUSEKEY_ENABLE = no # Mouse keys
+EXTRAKEY_ENABLE = yes # Audio control and System control
+CONSOLE_ENABLE = no # Console for debug
+COMMAND_ENABLE = no # Commands for debug and configuration
+NKRO_ENABLE = yes # Enable N-Key Rollover
+BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
+RGBLIGHT_ENABLE = no # 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