MEMORY
{
PAGE 0 : BOOT(R) : origin = 0x3f8000, length = 0x80
PAGE 0 : PROG(R) : origin = 0x3f8080, length = 0x1f80
PAGE 0 : RESET(R) : origin = 0x3fffc0, length = 0x2
PAGE 1 : M0RAM(RW) : origin = 0x000000, length = 0x400
PAGE 1 : M1RAM(RW) : origin = 0x000400, length = 0x400
PAGE 1 : L0L1RAM(RW) : origin = 0x008000, length = 0x2000
}
SECTIONS
{
/* 22-bit program sections */
.reset : > RESET, PAGE = 0, TYPE = DSECT
.pinit : > PROG, PAGE = 0
.cinit : > PROG, PAGE = 0
.text : > PROG, PAGE = 0
/* 16-Bit data sections */
.const : > M0RAM, PAGE = 1
.bss : > M1RAM, PAGE = 1
.stack : > M1RAM, PAGE = 1
.sysmem : > M0RAM, PAGE = 1
/* 32-bit data sections */
.ebss : > L0L1RAM, PAGE = 1
.econst : > L0L1RAM, PAGE = 1
.esysmem : > L0L1RAM, PAGE = 1
.boot > BOOT
{
-lrts2800_ml.lib (.text)
}
}复制代码