summaryrefslogtreecommitdiff
path: root/keyboards/viendi8l/rules.mk
diff options
context:
space:
mode:
authorÁlvaro A. Volpato <alvaro.augusto.volpato@gmail.com>2022-08-10 22:44:59 -0300
committerGitHub <noreply@github.com>2022-08-10 18:44:59 -0700
commit9898d6f4b02fb321c6e9e5796cf43c1e13314284 (patch)
tree2f69e250df825dc5746b9fa9decd502cc46f4eef /keyboards/viendi8l/rules.mk
parent90c4350af778951c9da2678842cd21734f8ec1d3 (diff)
[Keyboard] Add Viendi8L (#17943)
Co-authored-by: Ryan <fauxpark@gmail.com>
Diffstat (limited to 'keyboards/viendi8l/rules.mk')
-rw-r--r--keyboards/viendi8l/rules.mk28
1 files changed, 28 insertions, 0 deletions
diff --git a/keyboards/viendi8l/rules.mk b/keyboards/viendi8l/rules.mk
new file mode 100644
index 0000000000..e42bc577d7
--- /dev/null
+++ b/keyboards/viendi8l/rules.mk
@@ -0,0 +1,28 @@
+# MCU name
+MCU = STM32F401
+
+BOARD = GENERIC_STM32_F401XC
+
+# 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 = no # Enable N-Key Rollover
+BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
+RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
+WS2812_DRIVER = pwm
+AUDIO_ENABLE = no # Audio output
+ENCODER_ENABLE = yes
+LTO_ENABLE = no
+
+EEPROM_DRIVER = i2c
+
+# Enter lower-power sleep mode when on the ChibiOS idle thread
+OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE -DDEBUG_EEPROM_OUTPUT=TRUE