summaryrefslogtreecommitdiff
path: root/keyboards/mode/m75s/rules.mk
diff options
context:
space:
mode:
authorÁlvaro A. Volpato <alvaro.volpato@usp.br>2022-01-27 12:50:42 -0300
committerGitHub <noreply@github.com>2022-01-27 15:50:42 +0000
commitd55337ba4dae45f327b0dd6a9317cd9739f36520 (patch)
tree66c6d263506852bd56a85c4ed07300728a8c6b18 /keyboards/mode/m75s/rules.mk
parentf39e65493ec6a512def0f9cfe329b8fb70ea2f5b (diff)
Add support for Mode SeventyFive (#16030)
* Initial M75H support * Remove BSLS key * Add M75S initial support * Define DYNAMIC_KEYMAP_EEPROM_MAX_ADDR to allow VIA * Add layer 1 for M75H * Add layer 1 for M75H * Fix layouts * Add BOOTLOADER and remove BOOTLOADER address from rules.mk Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Ryan <fauxpark@gmail.com>
Diffstat (limited to 'keyboards/mode/m75s/rules.mk')
-rw-r--r--keyboards/mode/m75s/rules.mk23
1 files changed, 23 insertions, 0 deletions
diff --git a/keyboards/mode/m75s/rules.mk b/keyboards/mode/m75s/rules.mk
new file mode 100644
index 0000000000..f7659378cc
--- /dev/null
+++ b/keyboards/mode/m75s/rules.mk
@@ -0,0 +1,23 @@
+# MCU name
+MCU = STM32F401
+
+# 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 = no # Enable N-Key Rollover
+BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
+RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
+AUDIO_ENABLE = no # Audio output
+EEPROM_DRIVER = i2c
+LTO_ENABLE = yes
+
+# Enter lower-power sleep mode when on the ChibiOS idle thread
+OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE -DDEBUG_EEPROM_OUTPUT=TRUE