Freescale MCF5445evb 参考测试代码

源代码在线查看: sdram.lcf

软件大小: 746 K
上传用户: pengcong2008_
关键词: Freescale 5445 MCF evb
下载地址: 免注册下载 普通下载 VIP

相关代码

				#/*				# * File:       sram.lcf				# * Purpose:    Linker file targeting on-chip SRAM				# *				# * Notes:				# */								MEMORY 				{				    text    (RX) : ORIGIN = 0x40020000,  LENGTH = 0				    data    (RW) : ORIGIN = AFTER(text), LENGTH = 0				}								SECTIONS 				{				    ___FLASH                = 0x00000000;				    ___FLASH_SIZE           = (512 * 1024);								    ___SDRAM                = 0x40000000;				    ___SDRAM_SIZE           = (256 * 1024 * 1024);								    ___SRAM                 = 0x80000000;				    ___SRAM_SIZE            = (32 * 1024);								    ___VECTOR_RAM           = ___SRAM;								    .text :				    {				        ___TEXT_START        = .;				        vectors.s (.text)   # Force vectors to the bottom of the map				        *(.text)				        *(.rodata)				        .                   = ALIGN(0x10);				        ___TEXT_END         = .;				    } > text								    .data :				    {				        .                   = ALIGN(0x10);				        ___DATA_ROM         = .;				        ___DATA_RAM         = .;				        *(.data)				        *(.sdata)						*(.relocate_code)						*(.relocate_const)						*(.relocate_data)				        ___DATA_END         = .;				        .                   = ALIGN(0x10);				        ___BSS_START        = .;				        *(.sbss)				        *(SCOMMON)				        *(.bss)				        *(COMMON)				        .                   = ALIGN(0x10);				        ___BSS_END          = .;				        ___SP_END		    = .;				        ___SP_INIT		    = ___SP_END + (2 * 1024);				        ___HEAP_START	    = ___SP_INIT;				        ___HEAP_END 	    = ___SDRAM + ___SDRAM_SIZE;				    } > data				}			

相关资源