📄 sram.lcf
字号:
#/* # * 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; .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 = .; . = . + (1 * 1024); ___SP_INIT = .;# ___HEAP_START = ___SDRAM;# ___HEAP_END = ___SDRAM + ___SDRAM_SIZE; ___HEAP_START = .; ___HEAP_END = ___SRAM + ___SRAM_SIZE; } >> sram}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -