summaryrefslogtreecommitdiff
path: root/Demo/lwIP_Demo_Rowley_ARM7/flash_placement.xml
blob: 0df08fd2636399c9711d7ed3cdc257545523fd5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<!DOCTYPE Linker_Placement_File>
<Root name="Flash Section Placement" >
  <MemorySegment name="FLASH" >
    <ProgramSection load="Yes" inputsections="*(.vectors .vectors.*)" name=".vectors" />
    <ProgramSection alignment="4" load="Yes" inputsections="*(.init .init.*)" name=".init" />
    <ProgramSection alignment="4" load="No" name=".text_load" />
    <ProgramSection alignment="4" load="Yes" inputsections="*(.text .text.* .glue_7t .glue_7 .gnu.linkonce.t.*)" name=".text" />
    <ProgramSection alignment="4" load="Yes" inputsections="KEEP (*(SORT(.dtors.*))) KEEP (*(.dtors))" name=".dtors" />
    <ProgramSection alignment="4" load="Yes" inputsections="KEEP (*(SORT(.ctors.*))) KEEP (*(.ctors))" name=".ctors" />
    <ProgramSection alignment="4" load="Yes" inputsections="*(.rodata .rodata.* .gnu.linkonce.r.*)" name=".rodata" />
    <ProgramSection alignment="4" load="Yes" runin=".fast_run" inputsections="*(.fast .fast.*)" name=".fast" />
    <ProgramSection alignment="4" load="Yes" runin=".data_run" inputsections="*(.data .data.* .gnu.linkonce.d.*)" name=".data" />
  </MemorySegment>
  <MemorySegment name="External SRAM;SRAM;SDRAM;DRAM" >
    <ProgramSection alignment="4" load="No" name=".data_run" />
    <ProgramSection alignment="4" load="No" inputsections="*(.bss .bss.* .gnu.linkonce.b.*) *(COMMON)" name=".bss" />
    <ProgramSection alignment="4" size="__HEAPSIZE__" load="No" name=".heap" />
    <ProgramSection alignment="4" size="__STACKSIZE__" load="No" name=".stack" />
    <ProgramSection alignment="4" size="0x190" load="No" name=".stack_irq" />
    <ProgramSection alignment="4" size="0x0" load="No" name=".stack_fiq" />
    <ProgramSection alignment="4" size="0x190" load="No" name=".stack_svc" />
    <ProgramSection alignment="4" size="0x0" load="No" name=".stack_abt" />
    <ProgramSection alignment="4" size="0x0" load="No" name=".stack_und" />
  </MemorySegment>
  <MemorySegment name="Internal SRAM;SRAM;SDRAM;DRAM" >
    <ProgramSection size="0x3C" load="No" name=".vectors_ram" />
    <ProgramSection alignment="4" load="No" name=".fast_run" />
  </MemorySegment>
</Root>