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

📄 sram.lcf

📁 Freescale MCF5445evb 参考测试代码
💻 LCF
字号:
#/*# * File:       sram.lcf# * Purpose:    Linker file targeting on-chip SRAM# *# * Notes:# */MEMORY {    sram    (RX) : ORIGIN = 0x80000000,  LENGTH = 0x8000}SECTIONS {    ___FLASH                = 0x00000000;    ___FLASH_SIZE           = (512 * 1024);    ___SDRAM                = 0x40000000;    ___SDRAM_SIZE           = (128 * 1024 * 1024);    ___SRAM                 = 0x80000000;    ___SRAM_SIZE            = (32 * 1024);    ___VECTOR_RAM           = ___SRAM;    .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          = .;        ___SP_END		    = .;        .                   = . + (2 * 1024);        ___SP_INIT		    = .;        ___HEAP_START	    = .;        ___HEAP_END 	    = ___SRAM + ___SRAM_SIZE;    } >> sram}

⌨️ 快捷键说明

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