keyboards/annepro2/ld: Add per-variant linker scripts (#24999)

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.
This commit is contained in:
Michał Kopeć 2025-04-26 02:40:17 +02:00 committed by GitHub
parent 3319474c5c
commit ca425971d5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 94 additions and 2 deletions

View file

@ -4,7 +4,7 @@ ARMV = 6
USE_FPU = no
MCU_FAMILY = HT32
MCU_SERIES = HT32F523xx
MCU_LDSCRIPT = HT32F52342_ANNEPRO2
MCU_LDSCRIPT = HT32F52352_ANNEPRO2_C18
MCU_STARTUP = ht32f523xx
BOARD = ANNEPRO2_C18