cmd文件是这样的:
MEMORY
{
L2SRAM : o = 00000000h l = 00030000h
L2CACHE : o = 00030000h l = 00010000h /* 64K Cache */
CE0 : o = 80000000h l = 10000000h
CE1 : o = 90000000h l = 10000000h
}
SECTIONS
{
.text > L2SRAM
.stack > L2SRAM
.far > L2SRAM
.switch > L2SRAM
.tables > L2SRAM
.data > L2SRAM
.bss > L2SRAM
.sysmem > L2SRAM
.cinit > L2SRAM
.const > L2SRAM
.cio > L2SRAM
.vectors> L2SRAM
.system > L2SRAM
}
cmd文件是这样的:
MEMORY
{
L2SRAM : o = 00000000h l = 00030000h
L2CACHE : o = 00030000h l = 00010000h /* 64K Cache */
CE0 : o = 80000000h l = 10000000h
CE1 : o = 90000000h l = 10000000h
}
SECTIONS
{
.text > L2SRAM
.stack > L2SRAM
.far > L2SRAM
.switch > L2SRAM
.tables > L2SRAM
.data > L2SRAM
.bss > L2SRAM
.sysmem > L2SRAM
.cinit > L2SRAM
.const > L2SRAM
.cio > L2SRAM
.vectors> L2SRAM
.system > L2SRAM
}
举报