keychron_qmk_firmware/keyboards/annepro2/c18/rules.mk
jack bd1f1068f7
Fixup annepro2 (#23206)
Co-authored-by: Joel Challis <git@zvecr.com>
2024-03-08 08:27:40 -07:00

22 lines
362 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_C18
# Bootloader selection
BOOTLOADER = custom
PROGRAM_CMD = annepro2_tools --boot $(BUILD_DIR)/$(TARGET).bin
# Anne Pro 2
SRC = \
annepro2_ble.c \
ap2_led.c \
protocol.c \
rgb_driver.c \