summaryrefslogtreecommitdiffstats
path: root/keyboards/xelus/rs60/rev2_1/rules.mk
diff options
context:
space:
mode:
authorXelus22 <17491233+Xelus22@users.noreply.github.com>2022-09-04 01:27:00 +1000
committerGitHub <noreply@github.com>2022-09-03 16:27:00 +0100
commit489b287e1ff2d4140f28b17f439daa5efdef5382 (patch)
treed975577cf3b5b4d855895cdb84d9d6c8dd2301e7 /keyboards/xelus/rs60/rev2_1/rules.mk
parent0c76a3c7d0a3d353c06956760b2ccdb16df98390 (diff)
[Keyboard] RS60 Rev2 change to eeprom emulation (#18201)
by xelus
Diffstat (limited to 'keyboards/xelus/rs60/rev2_1/rules.mk')
-rw-r--r--keyboards/xelus/rs60/rev2_1/rules.mk29
1 files changed, 29 insertions, 0 deletions
diff --git a/keyboards/xelus/rs60/rev2_1/rules.mk b/keyboards/xelus/rs60/rev2_1/rules.mk
new file mode 100644
index 0000000000..da1f821141
--- /dev/null
+++ b/keyboards/xelus/rs60/rev2_1/rules.mk
@@ -0,0 +1,29 @@
+# MCU name
+MCU = STM32L412
+
+# 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 = yes # 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
+
+EEPROM_DRIVER = wear_leveling
+WEAR_LEVELING_DRIVER = embedded_flash
+
+# Save hid interface
+KEYBOARD_SHARED_EP = yes
+
+# Enter lower-power sleep mode when on the ChibiOS idle thread
+OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
+
+LAYOUTS = 60_ansi_split_bs_rshift