board.lcf

来自「一个基于dsp的灯闪实验程序」· LCF 代码 · 共 55 行

LCF
55
字号
/* File         :    board.lcf

   Description  :    C54XX DSK link loader control file. 

   Targets      :    TMS320C54XX.

   Conditions   :    None.

   Author       :    Kwame Kyiamah.

   Distribution :    None

   Restrictions :    The memory definitions MUST be preserved: VECTORS, XFER, SCRATCH, XFERHDR 
                     and FIFO. FIFO is important for proper function of the HPI 
					 implemented fifo.

   Date         :    2.15.99    Created.
 */

-stack 0x0400                                        /* do not change */
-heap  0x0400

blink.obj

-o blink.out 
-m blink.map

MEMORY
{
   PAGE 0 : SCRATCH ( RW )   :  o = 0x0060,  l = 0x0020  /* scratch memory */    
            STACK   ( RW )   :  o = 0x0080,  l = 0x0080  /* stack space */
            XFER    ( RWXI ) :  o = 0x0100,  l = 0x0300  /* reserve 0x300 words for comm kernel */      
            XFERHDR ( RWI )  :  o = 0x0400,  l = 0x003a  /* reserve 0x3a words for kernel header */      
            FIFO    ( RWI )  :  o = 0x043a,  l = 0x0046  /* reserve 0x46 words for fifo */      
            VECTORS ( RWXI ) :  o = 0x0480,  l = 0x0080  /* interrupt vectors */
			DATA1   ( RWI )  :  o = 0x0500,  l = 0x3b00	 /* on-chip ram 5402 & 5410 */
			DATA2   ( RWI )  :  o = 0x4000,  l = 0x4000	 /* 5410 only */
            EXTRAM  ( RWI )  :  o = 0x8000,  l = 0x8000  /* external SRAM */  
}

SECTIONS
{
   .trap		: load = 0x0062 PAGE 0
   .hpires		: load = 0x2000 PAGE 0			/* for 5410 only */
   .vectors     : > VECTORS align 0x80 PAGE 0
   .fifo    	: > FIFO 	PAGE 0
   .text		: > DATA1	PAGE 0
   .cinit		: > DATA1	PAGE 0
   .cio 		: > DATA1	PAGE 0
   .switch		: > DATA1	PAGE 0
   .bss			: > DATA1	PAGE 0
   .const		: > DATA1	PAGE 0
   .sysmem		: > DATA1	PAGE 0
   .stack		: > DATA1	PAGE 0
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?