summaryrefslogtreecommitdiff
path: root/keyboards/acheron/shark/beta/rules.mk
diff options
context:
space:
mode:
authorÁlvaro A. Volpato <alvaro.augusto.volpato@gmail.com>2022-04-18 06:07:49 -0300
committerGitHub <noreply@github.com>2022-04-18 02:07:49 -0700
commit5fe3b9ffa5bf1179c288f77a16e763e9fecaca0b (patch)
tree37215c5164c280f89f552c5bfaa6dfa7e0411eaf /keyboards/acheron/shark/beta/rules.mk
parentfdd4af9973573d5a629cf27d42ced315869cfd75 (diff)
[Keyboard] SharkPCB release Beta compatibility (#16713)
Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: Ryan <fauxpark@gmail.com>
Diffstat (limited to 'keyboards/acheron/shark/beta/rules.mk')
-rw-r--r--keyboards/acheron/shark/beta/rules.mk26
1 files changed, 26 insertions, 0 deletions
diff --git a/keyboards/acheron/shark/beta/rules.mk b/keyboards/acheron/shark/beta/rules.mk
new file mode 100644
index 0000000000..928ad2d49a
--- /dev/null
+++ b/keyboards/acheron/shark/beta/rules.mk
@@ -0,0 +1,26 @@
+MCU = STM32F411
+
+# Bootloader selection
+BOOTLOADER = stm32-dfu
+
+# 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 = yes # Commands for debug and configuration
+NKRO_ENABLE = yes # Enable N-Key rollover
+BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
+RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
+AUDIO_ENABLE = no # Audio output
+BACKLIGHT_DRIVER = pwm
+LTO_ENABLE = no
+ENCODER_ENABLE = yes
+
+LAYOUTS = ortho_4x12
+EEPROM_DRIVER = i2c
+
+# Enter lower-power sleep mode when on the ChibiOS idle thread
+OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE