summaryrefslogtreecommitdiff
path: root/keyboards/mode/m80v2/m80v2s/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/m80v2/m80v2s/rules.mk
parent9475767e7a0e0c6e0ceccc446bec848002d6fc77 (diff)
[Keyboard] Add Mode Eighty M80v2 PCB support (#15486)
Co-authored-by: Ryan <fauxpark@gmail.com>
Diffstat (limited to 'keyboards/mode/m80v2/m80v2s/rules.mk')
-rw-r--r--keyboards/mode/m80v2/m80v2s/rules.mk21
1 files changed, 21 insertions, 0 deletions
diff --git a/keyboards/mode/m80v2/m80v2s/rules.mk b/keyboards/mode/m80v2/m80v2s/rules.mk
new file mode 100644
index 0000000000..5422160c87
--- /dev/null
+++ b/keyboards/mode/m80v2/m80v2s/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 = 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 -DDEBUG_EEPROM_OUTPUT=TRUE