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