flash.ld.sram
来自「针对freescale的coldfire系列mcu的开源bootloader源码」· SRAM 代码 · 共 41 行
SRAM
41 行
MEMORY { flash : ORIGIN = 0xffe00000, LENGTH = 0x00100000 /* 1MB of flash (A[19] pulled high) */ ram : ORIGIN = 0x00600000, LENGTH = 0x00040000 /* 256Kbytes of sdram */ sram : ORIGIN = 0x20000000, LENGTH = 0x00018000 /* 96kbytes of sram */}SECTIONS { .text : { _stext = . ; *(.text) *(.rodata) _etext = . ; } > flash .data : AT (ADDR(.text) + SIZEOF(.text)) { _sdata = . ; *(.data) _edata = . ; } > ram .fastdata : AT (ADDR(.text) + SIZEOF(.text) + SIZEOF(.data)){ _sfdata = . ; *(.fdata) *(.data.flasher_data) . = ALIGN(0x4) ; *(.data.flasher_code) . = ALIGN(0x4) ; _efdata = . ; } > sram .bss : AT (ADDR(.text) + SIZEOF(.text) + SIZEOF(.data) + SIZEOF(.fastdata)) { _sbss = . ; *(.bss) *(COMMON) _ebss = . ; } > ram}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?