diff options
author | lalalademaxiya1 <66767061+lalalademaxiya1@users.noreply.github.com> | 2022-12-20 14:44:23 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-20 17:44:23 +1100 |
commit | 8560280afe1d559aba58ab1a2e6f1f8fda9e4e46 (patch) | |
tree | 2ac6be8b7d7aa936fd8e4a75a5c3ab8a21052616 /keyboards/keychron/s1/ansi/white/rules.mk | |
parent | 8d43f20624d12f16cc1f64ce36d6735caa944362 (diff) |
Add Keychron S1 (#19378)
Diffstat (limited to 'keyboards/keychron/s1/ansi/white/rules.mk')
-rw-r--r-- | keyboards/keychron/s1/ansi/white/rules.mk | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/keyboards/keychron/s1/ansi/white/rules.mk b/keyboards/keychron/s1/ansi/white/rules.mk new file mode 100644 index 0000000000..2455c56cfd --- /dev/null +++ b/keyboards/keychron/s1/ansi/white/rules.mk @@ -0,0 +1,27 @@ +# MCU name +MCU = STM32L432 + +# 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 = no # Commands for debug and configuration +NKRO_ENABLE = yes # Enable USB N-key Rollover +BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality +RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow +AUDIO_ENABLE = no # Audio output +DIP_SWITCH_ENABLE = yes +LED_MATRIX_ENABLE = yes +LED_MATRIX_DRIVER = CKLED2001 +EEPROM_DRIVER = wear_leveling +WEAR_LEVELING_DRIVER = embedded_flash + +# Enter lower-power sleep mode when on the ChibiOS idle thread +OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE + |