2021-09-10 21:14:39 +02:00
|
|
|
# MCU name
|
2022-05-05 10:08:35 +02:00
|
|
|
MCU = STM32F401
|
2022-08-15 19:55:21 +02:00
|
|
|
BOARD = GENERIC_STM32_F401XC
|
2021-09-10 21:14:39 +02:00
|
|
|
|
|
|
|
# Bootloader selection
|
2022-05-05 10:08:35 +02:00
|
|
|
BOOTLOADER = stm32-dfu
|
2021-09-10 21:14:39 +02:00
|
|
|
|
|
|
|
# Build Options
|
|
|
|
# change yes to no to disable
|
|
|
|
#
|
2021-11-04 22:18:09 +01:00
|
|
|
BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
|
2021-09-10 21:14:39 +02:00
|
|
|
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
|
2021-12-09 06:05:44 +01:00
|
|
|
NKRO_ENABLE = yes # Enable N-Key Rollover
|
2021-09-10 21:14:39 +02:00
|
|
|
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
|
|
|
|
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
|
|
|
|
AUDIO_ENABLE = no # Audio output
|
2022-05-05 10:08:35 +02:00
|
|
|
EEPROM_DRIVER = i2c
|
|
|
|
|
|
|
|
# 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
|
|
|
|
|
2021-09-10 21:14:39 +02:00
|
|
|
LAYOUTS = 60_ansi_split_bs_rshift
|