memory.ld

来自「ATMEL AT91M42800 开发板的源代码」· LD 代码 · 共 45 行

LD
45
字号
//*----------------------------------------------------------------------------
//*         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 EB42 Evaluation board
//*                       brun flash at 0x01100000
//* Creation            : GHS
//* Modification 13/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

// ANGEL occupies the last half of RAM
//  dram_memory  : ORIGIN = .,	 	LENGTH = 256K-128K
//  dram_rsvd2   : ORIGIN = 0x02020000, LENGTH = 128K

// 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 = 8K
    iram_no_remap: ORIGIN = 0x00300000, LENGTH = 8K

}

⌨️ 快捷键说明

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