memory.ld

来自「ATMEL AT91RM9200开发板配套光盘上的全部示例程序」· LD 代码 · 共 42 行

LD
42
字号
//*----------------------------------------------------------------------------
//*         ATMEL Microcontroller Software Support  -  ROUSSET  -
//*----------------------------------------------------------------------------
//* The software is delivered "AS IS" without warranty or condition of any
//* kind, either express, implied or statutory. This includes without
//* limitation any warranty or condition with respect to merchantability or
//* fitness for any particular purpose, or against the infringements of
//* intellectual property rights of others.
//*----------------------------------------------------------------------------
//* File Name           : memory.ld
//* Object              : Memory definition for EB55 Evaluation board
//*                       brun flash at 0x01100000
//* Creation            : GHS
//* Modification 10/12/02 JPP add the iram definition
//*                     
//*----------------------------------------------------------------------------

MEMORY {

// 256KB of dram starting at 0x02000000
// If the ANGEL monitor is in use,
// it will occupy the last half of RAM

    dram_rsvd1   : ORIGIN = 0x02000000, LENGTH = 0
    dram_memory  : ORIGIN = .,	 	LENGTH = 256K
    dram_rsvd2   : ORIGIN = 0x02020000, LENGTH = 0


// 2MB of flash starting at 0x01000000

    flash_rsvd1  : ORIGIN = 0x01000000, LENGTH = 0K
    flash_memory : ORIGIN = .,          LENGTH = 2M-0K
    flash_rsvd2  : ORIGIN = .,          LENGTH = 0

// 8KB of iram (internal RAM) starting at 0x00000000 if remap effective
// 8KB of iran starting at 0x00300000 if no remap effective
    iram_remap   : ORIGIN = 0x00000000, LENGTH = 100
    iram_remap_pgm   : ORIGIN = 0x00000100, LENGTH = 8K-100
    iram_no_remap: ORIGIN = 0x00300000, LENGTH = 8K
}

⌨️ 快捷键说明

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