rtdxlab.cmd

来自「SEED_TMS320vc5402dsk是在TI的TMS320VC5402DSK」· CMD 代码 · 共 58 行

CMD
58
字号
/*****************************************************************************/
/* 5402DSK One-day linker command file  Lab1.CMD                             */
/*                                                                           */
/* This command file is set up for OVLY = 1. So DARAM1 and 2 are both        */
/* accessable from program and data space                                    */
/*                                                                           */
/* Scott Bland  03/08/2000                                                   */
/*                                                                           */
/*****************************************************************************/

/* This symbol defines the interrupt mask to be applied to IMR inside
   RTDX Critical Code sections.
   This example masks the timer interrupt. ~0x0008
*/
_RTDX_interrupt_mask = ~0x0008;		/* interrupts masked by RTDX		*/
   

MEMORY
{
   PAGE 0: VECS:     origin = 0080h, length = 0080h  /* Internal Program RAM */
           DARAM1:   origin = 1400h, length = 2700h  /* Internal DARAM Blk 1 */           
           PRAM:     origin = 7600h, length = 8000h  /* External Program     */

   PAGE 1: SCRATCH:  origin = 0060h, length = 0020h  /* Scratch Pad Data RAM */
           STACK:    origin = 1000h, length = 0400h  /* Stack Memory Space   */
           BUFFRAM:  origin = 3B00h, length = 0500h  /* Audio Buffer RAM     */
}

/*****************************************************************************/
/* DSP Memory Allocation                                                     */
/*****************************************************************************/

SECTIONS
{
   .cinit    	> PRAM    PAGE 0    
   .pinit    	> PRAM    PAGE 0 
   .text     	> DARAM1    PAGE 0
   .vecs  		> VECS    PAGE 0
   
   .rtdx_text   > PRAM    PAGE 0      
   .rtdx_data   > PRAM    PAGE 0   

   audio_buffer > BUFFRAM PAGE 1, align (32)	
   .stack    	> STACK   PAGE 1
   .trap     	> SCRATCH PAGE 1
                                     
   .const    	> DARAM1  PAGE 0
   .bss      	> DARAM1  PAGE 0, align (32) 
   
   .fifo        > DARAM1  PAGE 0
   .cio         > DARAM1  PAGE 0
   
   asmcode		> DARAM1  PAGE 0 
   
   coefficients > DARAM1  PAGE 0, align (32)
   delay		> DARAM1  PAGE 0, align (32)

}

⌨️ 快捷键说明

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