1 2 3 4 5 6 7 8 9 10 11
MEMORY { RAM (xrw) : ORIGIN = 0x80000000, LENGTH = (6 * 1024 * 1024) } REGION_ALIAS("FLASH_TEXT", RAM); _stack_size = 2K; INCLUDE "targets/riscv.ld"