COLDFIRE 5282SC的文件

源代码在线查看: ext_flash.dld

软件大小: 212 K
上传用户: anniesprite
关键词: COLDFIRE 5282 SC
下载地址: 免注册下载 普通下载 VIP

相关代码

				/*
				 * File:		ext_flash.dld
				 * Purpose:		Linker file for the M5282EVB
				 *
				 * Notes:		Project running in top half of Flash (th_flash)
				 *
				 */
				
				MEMORY
				{
					sdram		: org = 0x00000000, len = 0x01000000
					vector_ram	: org = 0x00000000, len = 0x00000400
					user		: org = 0x00020000, len = 0x00FE0000
					sram		: org = 0x20000000, len = 0x00010000
					ext_sram	: org = 0x30000000, len = 0x00080000
					ipsbar		: org = 0x40000000, len = 0x40000000
					flash 		: org = 0xF0000000, len = 0x00080000	
					ext_flash 	: org = 0xFFE00000, len = 0x00200000	
					th_flash	: org = 0xFFF00000, len = 0x00100000	
				}
				
				SECTIONS
				{
					.vectors :
					{
						vectors.o (.text)
					} > th_flash
				
					.text :
					{
						*(.text)
						*(.rdata)
						*(.rodata)
						___DATA_ROM = .;
					} > th_flash
				
					.data LOAD(___DATA_ROM) :
					{
						___DATA_RAM = .;
						*(.data)
						*(.sdata)
						___DATA_END = .;
					} > user
				
					.bss (BSS):
					{
						___BSS_START = .;
						*(.bss)
						*(.sbss)
						___BSS_END = .;
					} > user
				
					.custom (BSS) :
					{
						___HEAP_START	= .;
						___HEAP_END		= .;
						___SP_END		= .;
						.				= . + 0x1000;
						___SP_INIT		= .;
					} > user
				}
				
				/* 
				 * Memory Map information for use in source files
				 */
				___IPSBAR			= ADDR(ipsbar);
				___VECTOR_RAM		= ADDR(vector_ram);
				
				___SDRAM			= ADDR(sdram);
				___SDRAM_SIZE		= SIZEOF(sdram);
				
				___SRAM				= ADDR(sram);
				___SRAM_SIZE		= SIZEOF(sram);
				
				___EXT_SRAM			= ADDR(ext_sram);
				___EXT_SRAM_SIZE	= SIZEOF(ext_sram);
				
				___FLASH			= ADDR(flash);
				___FLASH_SIZE		= SIZEOF(flash);
				
				___EXT_FLASH		= ADDR(ext_flash);
				___EXT_FLASH_SIZE	= SIZEOF(ext_flash);			

相关资源