2021-09-13 21:01:23 +00:00
|
|
|
# MCU name
|
|
|
|
MCU = STM32F401
|
2022-07-01 14:36:08 +00:00
|
|
|
BOARD = GENERIC_STM32_F401XC
|
2021-09-13 21:01:23 +00:00
|
|
|
|
2022-01-05 19:55:46 +00:00
|
|
|
# Bootloader selection
|
|
|
|
BOOTLOADER = stm32-dfu
|
|
|
|
|
2021-09-13 21:01:23 +00:00
|
|
|
# Build Options
|
|
|
|
# change yes to no to disable
|
|
|
|
#
|
2021-11-04 21:18:09 +00:00
|
|
|
BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
|
2021-09-13 21:01:23 +00:00
|
|
|
MOUSEKEY_ENABLE = no # Mouse keys
|
2021-09-16 20:42:26 +00:00
|
|
|
EXTRAKEY_ENABLE = yes # Audio control and System control
|
|
|
|
CONSOLE_ENABLE = no # Console for debug
|
2021-09-13 21:01:23 +00:00
|
|
|
COMMAND_ENABLE = no # Commands for debug and configuration
|
2021-12-09 05:05:44 +00:00
|
|
|
NKRO_ENABLE = no # Enable N-Key Rollover
|
2021-09-13 21:01:23 +00:00
|
|
|
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
|
|
|
|
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
|
|
|
|
AUDIO_ENABLE = no # Audio output
|
|
|
|
EEPROM_DRIVER = i2c
|
2022-01-05 19:55:46 +00:00
|
|
|
|
2021-09-13 21:01:23 +00:00
|
|
|
# Enter lower-power sleep mode when on the ChibiOS idle thread
|
|
|
|
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE -DDEBUG_EEPROM_OUTPUT=TRUE
|