From d55337ba4dae45f327b0dd6a9317cd9739f36520 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=81lvaro=20A=2E=20Volpato?= <alvaro.volpato@usp.br>
Date: Thu, 27 Jan 2022 12:50:42 -0300
Subject: 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>
---
 keyboards/mode/m75s/rules.mk | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 keyboards/mode/m75s/rules.mk

(limited to 'keyboards/mode/m75s/rules.mk')

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
-- 
cgit v1.2.3

[cgit] Unable to lock slot /tmp/cgit/95300000.lock: Permission denied (13)