2020-01-10 02:31:01 +01:00
|
|
|
# MCU name
|
|
|
|
MCU = STM32F072
|
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
|
|
|
|
LINK_TIME_OPTIMIZATION_ENABLE = yes
|
2019-01-19 07:19:14 +01:00
|
|
|
BACKLIGHT_ENABLE = no
|
2020-05-19 22:15:16 +02:00
|
|
|
BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
|
2019-01-19 07:19:14 +01:00
|
|
|
## (Note that for BOOTMAGIC on Teensy LC you have to use a custom .ld script.)
|
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
|
|
|
|
SERIAL_LINK_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
|