⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 5500_ram.lcf

📁 mpc55**系列芯片的例程 包括SCI,SPI,TIMER,FIT,EDMA等几乎所有功能的实现
💻 LCF
字号:
/* 5500_ram.lcf - Simple minimal MPC5500 link file using 32 KB SRAM */
/* Aug 30 2007 initial version */
/* May 09 208 SM: Put stack in it's own 1KB (0x400) memory segment */

MEMORY
{
        interrupts_ram: org = 0x40000000, len = 0x3000
        internal_ram:   org = 0x40003000, len = 0x4C00
        stack_ram:      org = 0x40007C00, len = 0x0400
}

SECTIONS
{

  GROUP : {
      .ivor_branch_table    : {}              /* For MPC5516 core interrupts  */
      .intc_hw_branch_table ALIGN (2048) : {} /* For INTC in HW Vector Mode   */
      .ivor_handlers        : {}              /* Handlers for core interrupts */
  } > interrupts_ram
  
   
   GROUP : {
    	.intc_sw_isr_vector_table : {} /* For INTC in SW Vector Mode */
      .text : { 
             *(.text)
             *(.rodata)
             *(.ctors)
             *(.dtors)    
             *(.init) 
             *(.fini) 		
             *(.eini)
             . = (.+15);
        } 
	    .sdata2       : {}
	    extab      : {}
	    extabindex : {}
	 }	 > internal_ram


	GROUP : {
	    .data  (DATA) : {} 
	    .sdata (DATA) : {}
	    .sbss  (BSS)  : {}
	    .bss   (BSS)  : {}
	} > internal_ram
}   


/* Freescale CodeWarrior compiler address designations */

_stack_addr = ADDR(stack_ram)+SIZEOF(stack_ram);
_stack_end  = ADDR(stack_ram);

/* These are not currently being used
_heap_addr  = ADDR(.bss)+SIZEOF(.bss);
_heap_end   = ADDR(internal_ram)+SIZEOF(internal_ram);
*/
__IVPR_VALUE = ADDR(interrupts_ram);


/* L2 SRAM Location (used for L2 SRAM initialization) */

L2SRAM_LOCATION = 0x40000000;

⌨️ 快捷键说明

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