Freescale MCF5445evb 参考测试代码
源代码在线查看: sbf_5227x.lcf
#/* # * File: sram.lcf # * Purpose: Linker file targeting on-chip SRAM # * # * Notes: # */ MEMORY { text (RX) : ORIGIN = 0x80000000, LENGTH = 0x8000 # sram (RX) : ORIGIN = 0x80000000, LENGTH = 0x8000 } SECTIONS { ___SDRAM = 0x40000000; ___SDRAM_SIZE = (16 * 1024 * 1024); ___CORE_SRAM = 0x80000000; ___CORE_SRAM_SIZE = (32 * 1024); ___EXT_SRAM = 0xC0000000; ___EXT_SRAM_SIZE = (512 * 1024); ___FLASH = 0x00000000; ___FLASH_SIZE = (2 * 1024 * 1024); ___PARAMS = 0x00004000; ___PARAMS_SIZE = 0x50; ___VECTOR_RAM = 0x40000000; ___DBUG_ADDRESS = ADDR(text); .text : { *(.text) } > text }