mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-27 11:06:37 +06:00
0140baf7e0
* Reorder STM32 MCUs * Add STM32F4xx to mcu_selection.mk * Set MCU for phoenix and tkw/stoutgat/v2/f411
30 lines
908 B
Makefile
30 lines
908 B
Makefile
# MCU name
|
|
MCU = STM32F411
|
|
|
|
# Linker script to use
|
|
# - it should exist either in <chibios>/os/common/ports/ARMCMx/compilers/GCC/ld/
|
|
# or <this_dir>/ld/
|
|
MCU_LDSCRIPT = m20add_boot
|
|
|
|
# Board: it should exist either in <chibios>/os/hal/boards/
|
|
# or <this_dir>/boards
|
|
BOARD = m20add_bd
|
|
|
|
# Build Options
|
|
# comment out to disable the options.
|
|
#
|
|
BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration
|
|
MOUSEKEY_ENABLE = yes # 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 = no # USB Nkey Rollover
|
|
NO_USB_STARTUP_CHECK = yes # Disable initialization only when usb is plugged in
|
|
|
|
RGBLIGHT_ENABLE = yes
|
|
|
|
CUSTOM_MATRIX = lite
|
|
# project specific files
|
|
SRC += matrix.c tca6424.c rgb_ring.c issi/is31fl3731.c
|
|
QUANTUM_LIB_SRC += i2c_master.c
|