2020-05-21 22:34:28 +02:00
|
|
|
# MCU name
|
|
|
|
MCU = STM32F103
|
|
|
|
|
|
|
|
# GENERIC STM32F103C8T6 board - mass storage bootloader
|
|
|
|
MCU_LDSCRIPT = wm1_f103
|
2020-10-15 03:55:31 +02:00
|
|
|
BOARD = STM32_F103_STM32DUINO
|
2020-05-21 22:34:28 +02:00
|
|
|
|
2020-10-12 18:19:50 +02:00
|
|
|
PROGRAM_CMD = echo 'CLI flashing not supported' >&2
|
2020-05-21 22:34:28 +02:00
|
|
|
|
|
|
|
# Build Options
|
|
|
|
# change yes to no to disable
|
|
|
|
#
|
2021-08-07 08:59:56 +02:00
|
|
|
BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
|
2020-05-21 22:34:28 +02:00
|
|
|
MOUSEKEY_ENABLE = yes # Mouse keys
|
|
|
|
EXTRAKEY_ENABLE = yes # Audio control and System control
|
|
|
|
CONSOLE_ENABLE = yes # Console for debug
|
|
|
|
COMMAND_ENABLE = yes # Commands for debug and configuration
|
|
|
|
# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
|
|
|
|
NKRO_ENABLE = yes # USB Nkey Rollover
|
|
|
|
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
|
|
|
|
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
|
2021-09-21 12:04:03 +02:00
|
|
|
AUDIO_ENABLE = no # Audio output
|
2021-12-01 11:13:00 +01:00
|
|
|
SLEEP_LED_ENABLE = yes
|
2020-05-21 22:34:28 +02:00
|
|
|
LTO_ENABLE = yes
|
|
|
|
|
|
|
|
# Enter lower-power sleep mode when on the ChibiOS idle thread
|
|
|
|
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
|