1 <!DOCTYPE Linker_Placement_File>
2 <Root name="Flash Section Placement">
3 <MemorySegment name="FLASH">
4 <ProgramSection load="Yes" inputsections="*(.vectors .vectors.*)" name=".vectors"/>
5 <ProgramSection alignment="4" load="Yes" inputsections="*(.init .init.*)" name=".init"/>
6 <ProgramSection alignment="4" load="Yes" inputsections="*(.text .text.* .glue_7t .glue_7 .gnu.linkonce.t.* .gcc_except_table)" name=".text"/>
7 <ProgramSection alignment="4" load="Yes" inputsections="KEEP (*(SORT(.dtors.*))) KEEP (*(.dtors))" name=".dtors"/>
8 <ProgramSection alignment="4" load="Yes" inputsections="KEEP (*(SORT(.ctors.*))) KEEP (*(.ctors))" name=".ctors"/>
9 <ProgramSection alignment="4" load="Yes" inputsections="*(.rodata .rodata.* .gnu.linkonce.r.*)" name=".rodata"/>
10 <ProgramSection alignment="4" load="Yes" runin=".fast_run" inputsections="*(.fast .fast.*)" name=".fast"/>
11 <ProgramSection alignment="4" load="Yes" runin=".data_run" inputsections="*(.data .data.* .gnu.linkonce.d.*)" name=".data"/>
13 <MemorySegment name="RAM">
14 <ProgramSection alignment="4" load="No" name=".fast_run"/>
15 <ProgramSection alignment="4" load="No" name=".data_run"/>
16 <ProgramSection alignment="4" load="No" inputsections="*(.bss .bss.* .gnu.linkonce.b.*) *(COMMON)" name=".bss"/>
17 <ProgramSection alignment="4" load="No" inputsections="*(.non_init .non_init.*)" name=".non_init"/>
18 <ProgramSection alignment="4" size="__HEAPSIZE__" load="No" name=".heap"/>
19 <ProgramSection alignment="4" size="__STACKSIZE__" load="No" name=".stack"/>
20 <ProgramSection alignment="4" size="__STACKSIZE_PROCESS__" load="No" name=".stack_process"/>
22 <MemorySegment name="AHBSRAM0">
23 <ProgramSection alignment="4" load="No" name=".ethram"/>
25 <MemorySegment name="AHBSRAM1">
26 <ProgramSection alignment="4" load="No" name=".usbram"/>
28 <MemorySegment name="FLASH2">
29 <ProgramSection alignment="4" load="Yes" inputsections="*(.text2 .text2.*)" name=".text2"/>
30 <ProgramSection alignment="4" load="Yes" inputsections="*(.rodata2 .rodata2.*)" name=".rodata2"/>
31 <ProgramSection alignment="4" load="Yes" runin=".data2_run" inputsections="*(.data2 .data2.*)" name=".data2"/>
33 <MemorySegment name="RAM2">
34 <ProgramSection alignment="4" load="No" name=".data2_run"/>
35 <ProgramSection alignment="4" load="No" inputsections="*(.bss2 .bss2.*" name=".bss2"/>