2020-01-10 01:31:01 +00:00
|
|
|
# MCU name
|
|
|
|
MCU = STM32F072
|
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
|
2020-05-19 20:15:16 +00:00
|
|
|
BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
|
2019-01-19 06:19:14 +00:00
|
|
|
## (Note that for BOOTMAGIC on Teensy LC you have to use a custom .ld script.)
|
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-02-22 16:46:05 +00:00
|
|
|
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
|
2019-01-19 06:19:14 +00:00
|
|
|
NKRO_ENABLE = yes # USB Nkey Rollover
|
|
|
|
AUDIO_ENABLE = no
|
|
|
|
RGBLIGHT_ENABLE = no
|
|
|
|
SERIAL_LINK_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
|