2020-01-10 07:31:01 +06:00
|
|
|
# MCU name
|
|
|
|
MCU = STM32F072
|
2019-01-19 12:19:14 +06:00
|
|
|
|
|
|
|
# Build Options
|
|
|
|
# comment out to disable the options.
|
|
|
|
#
|
2019-06-07 02:08:27 +06:00
|
|
|
# EXTRAFLAGS+=-flto
|
2020-08-22 14:21:06 +06:00
|
|
|
LTO_ENABLE = yes
|
2019-01-19 12:19:14 +06:00
|
|
|
BACKLIGHT_ENABLE = no
|
2020-05-20 02:15:16 +06:00
|
|
|
BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
|
2019-02-22 22:46:05 +06:00
|
|
|
MOUSEKEY_ENABLE = no # Mouse keys
|
2019-01-19 12:19:14 +06:00
|
|
|
EXTRAKEY_ENABLE = yes # Audio control and System control
|
2019-06-07 02:08:27 +06:00
|
|
|
CONSOLE_ENABLE = no # Console for debug
|
|
|
|
COMMAND_ENABLE = no # Commands for debug and configuration
|
2019-02-22 22:46:05 +06:00
|
|
|
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
|
2019-01-19 12:19:14 +06:00
|
|
|
NKRO_ENABLE = yes # USB Nkey Rollover
|
|
|
|
AUDIO_ENABLE = no
|
|
|
|
RGBLIGHT_ENABLE = no
|
2020-01-03 04:58:34 +06:00
|
|
|
|
|
|
|
|
|
|
|
# Enter lower-power sleep mode when on the ChibiOS idle thread
|
|
|
|
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
|