2020-09-19 05:00:18 +02:00
|
|
|
# MCU name
|
|
|
|
MCU = STM32F411
|
2020-08-22 22:45:06 +02:00
|
|
|
|
|
|
|
# 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
|
2021-01-19 14:35:24 +01:00
|
|
|
BOARD = ST_NUCLEO64_F411RE
|
2020-08-22 22:45:06 +02:00
|
|
|
|
2022-02-07 04:09:21 +01:00
|
|
|
# Bootloader selection
|
|
|
|
BOOTLOADER = custom
|
|
|
|
|
2020-08-22 22:45:06 +02:00
|
|
|
# Build Options
|
2021-12-13 03:05:37 +01:00
|
|
|
# change yes to no to disable
|
2020-08-22 22:45:06 +02:00
|
|
|
#
|
2021-11-04 22:18:09 +01:00
|
|
|
BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
|
2020-08-22 22:45:06 +02:00
|
|
|
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
|
2021-12-09 06:05:44 +01:00
|
|
|
NKRO_ENABLE = no # Enable N-Key Rollover
|
2020-08-22 22:45:06 +02:00
|
|
|
NO_USB_STARTUP_CHECK = yes # Disable initialization only when usb is plugged in
|
|
|
|
|
|
|
|
RGBLIGHT_ENABLE = yes
|
|
|
|
|
|
|
|
CUSTOM_MATRIX = lite
|
|
|
|
# project specific files
|
2021-07-31 21:18:11 +02:00
|
|
|
SRC += matrix.c tca6424.c rgb_ring.c drivers/led/issi/is31fl3731.c
|
2023-10-13 08:25:32 +02:00
|
|
|
I2C_DRIVER_REQUIRED = yes
|