default.ld

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

LD
59
字号
//*----------------------------------------------------------------------------
//*         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 30/Mar/03                 
//*----------------------------------------------------------------------------

MEMORY {
// 256KB of Internal Sram starting at 0x02000000

    Sram         : ORIGIN = 0x02000000, LENGTH = 256K-8K

}

CONSTANTS {

    stack_reserve = 8K
    heap_reserve = 40K

}

SECTIONS
{
//
// The text segment
//
    .picbase                                            : > Sram
    .text                                               : > .
    .syscall                                            : > .
    .intercall                                          : > .
    .interfunc                                          : > .
    .fixaddr                                            : > .
    .fixtype                                            : > .
    .rodata                                             : > .
    .secinfo                                            : > .
//
// The data segment
//
    .pidbase                                  ALIGN(16) : > .
    .sdabase                                            : > .
    .sbss                                               : > .
    .sdata                                              : > .
    .data                                               : > .
    .bss                                                : > .
    .heap                  ALIGN(16) PAD(heap_reserve)  : > .
    .stack                 ALIGN(16) PAD(stack_reserve) : > .


}

⌨️ 快捷键说明

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