flash_placement.xml 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <!DOCTYPE Linker_Placement_File>
  2. <Root name="Flash Section Placement">
  3. <MemorySegment name="$(FLASH_NAME:FLASH)">
  4. <ProgramSection alignment="0x100" load="Yes" name=".vectors" start="$(FLASH_START:)" />
  5. <ProgramSection alignment="4" load="Yes" name=".init" />
  6. <ProgramSection alignment="4" load="Yes" name=".init_rodata" />
  7. <ProgramSection alignment="4" load="Yes" name=".text" />
  8. <ProgramSection alignment="4" load="Yes" name=".dtors" />
  9. <ProgramSection alignment="4" load="Yes" name=".ctors" />
  10. <ProgramSection alignment="4" load="Yes" name=".rodata" />
  11. <ProgramSection alignment="4" load="Yes" name=".ARM.exidx" address_symbol="__exidx_start" end_symbol="__exidx_end" />
  12. <ProgramSection alignment="4" load="Yes" runin=".fast_run" name=".fast" />
  13. <ProgramSection alignment="4" load="Yes" runin=".data_run" name=".data" />
  14. <ProgramSection alignment="4" load="Yes" runin=".tdata_run" name=".tdata" />
  15. </MemorySegment>
  16. <MemorySegment name="$(RAM_NAME:RAM);SRAM">
  17. <ProgramSection alignment="0x100" load="No" name=".vectors_ram" start="$(RAM_START:$(SRAM_START:))" />
  18. <ProgramSection alignment="4" load="No" name=".fast_run" />
  19. <ProgramSection alignment="4" load="No" name=".data_run" />
  20. <ProgramSection alignment="4" load="No" name=".tdata_run" />
  21. <ProgramSection alignment="4" load="No" name=".bss" />
  22. <ProgramSection alignment="4" load="No" name=".tbss" />
  23. <ProgramSection alignment="4" load="No" name=".non_init" />
  24. <ProgramSection alignment="4" size="__HEAPSIZE__" load="No" name=".heap" />
  25. <ProgramSection alignment="8" size="__STACKSIZE__" load="No" place_from_segment_end="Yes" name=".stack" />
  26. <ProgramSection alignment="8" size="__STACKSIZE_PROCESS__" load="No" name=".stack_process" />
  27. </MemorySegment>
  28. <MemorySegment name="$(FLASH2_NAME:FLASH2)">
  29. <ProgramSection alignment="4" load="Yes" name=".text2" />
  30. <ProgramSection alignment="4" load="Yes" name=".rodata2" />
  31. <ProgramSection alignment="4" load="Yes" runin=".data2_run" name=".data2" />
  32. </MemorySegment>
  33. <MemorySegment name="$(RAM2_NAME:RAM2)">
  34. <ProgramSection alignment="4" load="No" name=".data2_run" />
  35. <ProgramSection alignment="4" load="No" name=".bss2" />
  36. </MemorySegment>
  37. </Root>