Kinetis_FlashPlacement.xml 1.9 KB

1234567891011121314151617181920212223242526272829
  1. <!DOCTYPE Linker_Placement_File>
  2. <Root name="Flash Section Placement">
  3. <MemorySegment name="$(FLASH_NAME:FLASH)">
  4. <ProgramSection alignment="4" load="Yes" name=".vectors" inputsections="KEEP(*(.vectors .vectors.*))" start="$(FLASH_START:)" />
  5. <ProgramSection alignment="4" load="Yes" name=".flashconf" inputsections="KEEP(*(.flashconf .flashconf.*))" start="$(FLASH_START:)+0x400" size="0xF"/>
  6. <ProgramSection alignment="4" load="Yes" name=".init" />
  7. <ProgramSection alignment="4" load="Yes" name=".init_rodata" />
  8. <ProgramSection alignment="4" load="Yes" name=".text" />
  9. <ProgramSection alignment="4" load="Yes" name=".dtors" />
  10. <ProgramSection alignment="4" load="Yes" name=".ctors" />
  11. <ProgramSection alignment="4" load="Yes" name=".rodata" />
  12. <ProgramSection alignment="4" load="Yes" name=".ARM.exidx" address_symbol="__exidx_start" end_symbol="__exidx_end" />
  13. <ProgramSection alignment="4" load="Yes" runin=".fast_run" name=".fast" />
  14. <ProgramSection alignment="4" load="Yes" runin=".data_run" name=".data" />
  15. <ProgramSection alignment="4" load="Yes" runin=".tdata_run" name=".tdata" />
  16. </MemorySegment>
  17. <MemorySegment name="$(RAM_NAME:RAM);SRAM">
  18. <ProgramSection alignment="4" load="No" name=".vectors_ram" start="$(RAM_START:$(SRAM_START:))" />
  19. <ProgramSection alignment="4" load="No" name=".fast_run" />
  20. <ProgramSection alignment="4" load="No" name=".data_run" />
  21. <ProgramSection alignment="4" load="No" name=".tdata_run" />
  22. <ProgramSection alignment="4" load="No" name=".bss" />
  23. <ProgramSection alignment="4" load="No" name=".tbss" />
  24. <ProgramSection alignment="4" load="No" name=".non_init" />
  25. <ProgramSection alignment="4" size="__HEAPSIZE__" load="No" name=".heap" />
  26. <ProgramSection alignment="8" size="__STACKSIZE__" load="No" name=".stack" />
  27. <ProgramSection alignment="8" size="__STACKSIZE_PROCESS__" load="No" name=".stack_process" />
  28. </MemorySegment>
  29. </Root>