qmk_firmware/keyboards/annepro2/c15/rules.mk
Joel Challis c48f372c87
Migrate annepro2 away from custom matrix (#23221)
* Migrate annepro2 away from custom matrix

* LTO
2024-03-06 17:02:52 +00:00

35 lines
790 B
Makefile

# MCU
MCU = cortex-m0plus
ARMV = 6
USE_FPU = no
MCU_FAMILY = HT32
MCU_SERIES = HT32F523xx
MCU_LDSCRIPT = HT32F52342_ANNEPRO2
MCU_STARTUP = ht32f523xx
BOARD = ANNEPRO2_C15
# Bootloader selection
BOOTLOADER = custom
PROGRAM_CMD = annepro2_tools --boot $(BUILD_DIR)/$(TARGET).bin
# Build Options
# change yes to no to disable
#
BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
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 = no # Enable N-Key Rollover
# Custom RGB matrix handling
RGB_MATRIX_ENABLE = yes
# Anne Pro 2
SRC = \
annepro2_ble.c \
ap2_led.c \
protocol.c \
rgb_driver.c \