我得cmd源程序是:-1rts2800.lib
-stack 400h
-heap 100
MEMORY
{
PAGE0ROG(R) rigin=0x3E8000,length=0x10000
PAGE0:BOOT(R) rigin=0x3FF000,length=0xFC0
PAGE0:RESET(R) rigin=0x3FFFC0,length=0x2
PAGE0:VECTORS(R) rigin=0x3FFFC2,length=0x3E
PAGE1:M0RAM(RW) rigin=0x000000,length=0x400
PAGE1:M1RAM(RW) rigin=0x000400,length=0x400
PAGE1:L0L1RAM(RW) rigin=0x008000,length=0x2000
PAGE1:H0RAM(RW) rigin=0x3F8000,length=0x2000
}
SECTIONS
{
.reset :>RESET,PAGE=0
.vectors :>VECTORS,PAGE=0
.pinit :>PROG, PAGE=0
.cinit :>PROG,PAGE=0
.text :>PROG,PAGE=0
.const :>L0L1RAM,PAGE=1
.bss :>L0L1RAM,PAGE=1
.stack :>M1RAM, PAGE=1
.sysmem :>M0RAM,PAGE=1
.ebss :>H0RAM,PAGE=1
.econst :>H0RAM,PAGE=1
.esysmem :>H0RAM,PAGE=1
}
1 rts2800.lib
编译得时候,有错误。
C:\\ICETEK-F2812-A-EDUlabv1.2\\DSP281x_examples\\CProgram\\CProgram.cmd, line 1: error:
syntax error
>> CProgram.cmd: error: can\'t open file \'stack.obj\' for input
请大家指点一下。 |