mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-07-24 18:11:14 +00:00
C18 has an MCU with 16K SRAM, up from C15's 8K. Split the linker script into C15 and C18 variants to make use of the larger RAM capacity of C18.
22 lines
366 B
Makefile
22 lines
366 B
Makefile
# MCU
|
|
MCU = cortex-m0plus
|
|
ARMV = 6
|
|
USE_FPU = no
|
|
MCU_FAMILY = HT32
|
|
MCU_SERIES = HT32F523xx
|
|
MCU_LDSCRIPT = HT32F52342_ANNEPRO2_C15
|
|
MCU_STARTUP = ht32f523xx
|
|
|
|
BOARD = ANNEPRO2_C15
|
|
|
|
# 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 \
|