mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-13 05:38:51 +06:00
19c180ef88
* ChibiOS conf upgrade for akegata_denki/device_one akegata_denki/device_one - 0d9f891416decbbb533c6c1147632ef7c55a2d9f * ChibiOS conf upgrade for chavdai40 chavdai40/rev1 - 06bca6ec34948c8005e73254299488cdba3429f8 chavdai40/rev2 - f55650a8d7aa755eb72564e95a144910dd902a73 * ChibiOS conf upgrade for ergodox_stm32 ergodox_stm32 - 04433b80e4cd231c15163ace77428db72b5483ad * ChibiOS conf upgrade for jm60 jm60 - a127e6cfccad74ed1a9e47e9213dc41cf0d26f1d * ChibiOS conf upgrade for matrix/m20add matrix/m20add - e2e556dad666ed9b1eea09e46d0eb14e19bda8b8 * ChibiOS conf upgrade for matrix/noah matrix/noah - c6fd3caf0b7d444085283d4f0a9204ab283d5202
26 lines
836 B
Makefile
26 lines
836 B
Makefile
# MCU name
|
|
MCU = STM32F103
|
|
|
|
MCU_LDSCRIPT = stm32f103_bootloader
|
|
BOARD = ST_NUCLEO64_F103RB
|
|
|
|
CFLAGS += "-Wno-error=deprecated"
|
|
EXTRAFLAGS = -O0 -g
|
|
|
|
BOOTMAGIC_ENABLE = no
|
|
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
|
|
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
|
|
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
|
|
|
|
# Enter lower-power sleep mode when on the ChibiOS idle thread
|
|
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
|
|
|
|
SRC += matrix.c
|
|
QUANTUM_LIB_SRC += i2c_master.c
|