2020-03-19 02:33:17 +01:00
|
|
|
# MCU name
|
|
|
|
MCU = STM32F103
|
2019-09-25 20:52:17 +02:00
|
|
|
|
|
|
|
MCU_LDSCRIPT = stm32f103_bootloader
|
2021-01-19 14:35:24 +01:00
|
|
|
BOARD = ST_NUCLEO64_F103RB
|
2019-09-25 20:52:17 +02:00
|
|
|
|
2020-03-19 02:33:17 +01:00
|
|
|
CFLAGS += "-Wno-error=deprecated"
|
|
|
|
EXTRAFLAGS = -O0 -g
|
2019-09-25 20:52:17 +02:00
|
|
|
|
2021-08-07 08:59:56 +02:00
|
|
|
BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
|
2019-09-25 20:52:17 +02:00
|
|
|
MOUSEKEY_ENABLE = no # Mouse keys
|
|
|
|
EXTRAKEY_ENABLE = yes # Audio control and System control
|
|
|
|
CONSOLE_ENABLE = no # Console for debug
|
|
|
|
COMMAND_ENABLE = no # Commands for debug and configuration
|
|
|
|
NKRO_ENABLE = yes # USB Nkey Rollover
|
|
|
|
CUSTOM_MATRIX = yes # Custom matrix file
|
|
|
|
NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
|
|
|
|
UNICODE_ENABLE = yes # Unicode
|
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
|
2020-03-19 02:33:17 +01:00
|
|
|
|
|
|
|
SRC += matrix.c
|
|
|
|
QUANTUM_LIB_SRC += i2c_master.c
|