lf2407.cmd

来自「DSP2407与sed1354的接口程序」· CMD 代码 · 共 34 行

CMD
34
字号
-stack 100

MEMORY
{
    PAGE 0 :   	VECS		: origin =    0h , 	length =    40h	 				/* PROGRAM */
		      	PVECS		: origin =   44h , 	length =    100h  					/* Peripheral Interrupt Vectors */
	       	PROG		: origin =  150h , 	length =  7eb0h	 				/* FLASH on Chip*/
		

    PAGE 1 :   	REGS		: origin =    0h , 	length =   5Fh	 					/* MMRS            */
	       	B2		   	: origin = 0060h , 	length =   020h	 				/* DARAM B2 BLOCK  */
	       	B0		    	: origin = 0200h , 	length =   100h	 				/* DARAM B0 BLOCK  */
	       	B1		    	: origin = 0300h , 	length =   100h	 				/* DARAM B1 BLOCK  */
	       	SARAM   		: origin = 0800h , 	length =   800h             			/* SARAM BLOCK     */
			PERIPH      	: origin = 7000h , 	length =  1000h
	       	EXT		    	: origin = 8000h , 	length =  8000h	 				/* Ext. memory     */       
}

/*--------------------------------------------------------------------------*/
/* SECTIONS ALLOCATION                                                     						*/
/*--------------------------------------------------------------------------*/

SECTIONS
{
	.reset: 		{ } > VECS      	PAGE 0 	   								/* Interrupt Vector Table*/
    	.vectors: 		{ } > VECS      	PAGE 0	   								/* INTERRUPT VECTOR TABLE*/
    	.pvecs: 		{ } > PVECS    	PAGE 0	   								/* Peripheral INTERRUPT VECTOR TABLE*/
    	.text: 		{ } > PROG      	PAGE 0	   								/* CODE*/
    	.cinit: 		{ } > PROG      	PAGE 0    
    	.needletable:	{ } > PROG	  	PAGE 0
	.const: 		{ } > SARAM    	PAGE 1
	.bss: 		{ } > SARAM    	PAGE 1		
    	.stack: 		{ } > B1           	PAGE 1	   								/* Stack--40 units*/	
} 

⌨️ 快捷键说明

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