sram_sdram.lcf
来自「Freescale MCF5445evb 参考测试代码」· LCF 代码 · 共 71 行
LCF
71 行
#/* # * File: sram.lcf # * Purpose: Linker file targeting on-chip SRAM# * # * Notes: # */ MEMORY { sram (RX) : ORIGIN = 0x80000000, LENGTH = 0x8000}SECTIONS { ___FLASH1 = 0x00000000; ___FLASH1_SIZE = (16 * 1024 * 1024); ___FLASH0 = 0x04000000; ___FLASH0_SIZE = (512 * 1024); ___CPLD = 0x08000000; ___CPLD_SIZE = (16 * 1024 * 1024); ___FPGA = 0x09000000; ___FPGA_SIZE = (16 * 1024 * 1024); ___MRAM = 0x09100000; ___MRAM_SIZE = (512 * 1024); ___SDRAM = 0x40000000; ___SDRAM_SIZE = (256 * 1024 * 1024); ___SRAM = 0x80000000; ___SRAM_SIZE = (32 * 1024); ___VECTOR_RAM = ___SRAM; ___SP_INIT = ___SDRAM + ___SDRAM_SIZE; ___SP_END = ___SP_INIT - (4 * 1024); ___HEAP_END = ___SP_END; ___HEAP_START = ___HEAP_END - (32 * 1024 * 1024); .text : { vectors.s (.text) # Force vectors to the bottom of the map *(.text) *(.rodata) . = ALIGN(0x10); } > sram .data : { . = ALIGN(0x10); ___DATA_ROM = .; ___DATA_RAM = .; *(.data) *(.relocate_code) *(.relocate_const) *(.relocate_data) ___DATA_END = .; . = ALIGN(0x10); ___BSS_START = .; *(.sbss) *(SCOMMON) *(.bss) *(COMMON) . = ALIGN(0x10); ___BSS_END = .; } >> sram}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?