2020-01-10 01:31:01 +00:00
|
|
|
# MCU name
|
|
|
|
MCU = STM32F072
|
2019-01-19 06:19:14 +00:00
|
|
|
|
2021-06-08 09:48:46 +00:00
|
|
|
# Bootloader selection
|
|
|
|
BOOTLOADER = stm32-dfu
|
|
|
|
|
2019-01-19 06:19:14 +00:00
|
|
|
# Build Options
|
|
|
|
# comment out to disable the options.
|
|
|
|
#
|
2019-06-06 20:08:27 +00:00
|
|
|
# EXTRAFLAGS+=-flto
|
2020-08-22 08:21:06 +00:00
|
|
|
LTO_ENABLE = yes
|
2019-01-19 06:19:14 +00:00
|
|
|
BACKLIGHT_ENABLE = no
|
2021-11-04 21:18:09 +00:00
|
|
|
BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
|
2019-02-22 16:46:05 +00:00
|
|
|
MOUSEKEY_ENABLE = no # Mouse keys
|
2019-01-19 06:19:14 +00:00
|
|
|
EXTRAKEY_ENABLE = yes # Audio control and System control
|
2019-06-06 20:08:27 +00:00
|
|
|
CONSOLE_ENABLE = no # Console for debug
|
|
|
|
COMMAND_ENABLE = no # Commands for debug and configuration
|
2019-01-19 06:19:14 +00:00
|
|
|
NKRO_ENABLE = yes # USB Nkey Rollover
|
|
|
|
AUDIO_ENABLE = no
|
|
|
|
RGBLIGHT_ENABLE = no
|
2020-01-02 22:58:34 +00:00
|
|
|
|
|
|
|
|
|
|
|
# Enter lower-power sleep mode when on the ChibiOS idle thread
|
|
|
|
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
|