flash_placement.xml 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <!DOCTYPE Linker_Placement_File>
  2. <Root name="Flash Section Placement">
  3. <MemorySegment name="FLASH" start="$(FLASH_PH_START)" size="$(FLASH_PH_SIZE)">
  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" keep="Yes" load="Yes" name=".log_const_data" inputsections="*(SORT(.log_const_data*))" address_symbol="__start_log_const_data" end_symbol="__stop_log_const_data" />
  9. <ProgramSection alignment="4" keep="Yes" load="Yes" name=".log_backends" inputsections="*(SORT(.log_backends*))" address_symbol="__start_log_backends" end_symbol="__stop_log_backends" />
  10. <ProgramSection alignment="4" keep="Yes" load="Yes" name=".nrf_balloc" inputsections="*(.nrf_balloc*)" address_symbol="__start_nrf_balloc" end_symbol="__stop_nrf_balloc" />
  11. <ProgramSection alignment="4" keep="Yes" load="No" name=".nrf_sections" address_symbol="__start_nrf_sections" />
  12. <ProgramSection alignment="4" keep="Yes" load="Yes" name=".log_dynamic_data" inputsections="*(SORT(.log_dynamic_data*))" runin=".log_dynamic_data_run"/>
  13. <ProgramSection alignment="4" keep="Yes" load="Yes" name=".log_filter_data" inputsections="*(SORT(.log_filter_data*))" runin=".log_filter_data_run"/>
  14. <ProgramSection alignment="4" load="Yes" name=".dtors" />
  15. <ProgramSection alignment="4" load="Yes" name=".ctors" />
  16. <ProgramSection alignment="4" load="Yes" name=".rodata" />
  17. <ProgramSection alignment="4" load="Yes" name=".ARM.exidx" address_symbol="__exidx_start" end_symbol="__exidx_end" />
  18. <ProgramSection alignment="4" load="Yes" runin=".fast_run" name=".fast" />
  19. <ProgramSection alignment="4" load="Yes" runin=".data_run" name=".data" />
  20. <ProgramSection alignment="4" load="Yes" runin=".tdata_run" name=".tdata" />
  21. </MemorySegment>
  22. <MemorySegment name="RAM" start="$(RAM_PH_START)" size="$(RAM_PH_SIZE)">
  23. <ProgramSection alignment="0x100" load="No" name=".vectors_ram" start="$(RAM_START)" address_symbol="__app_ram_start__"/>
  24. <ProgramSection alignment="4" keep="Yes" load="No" name=".nrf_sections_run" address_symbol="__start_nrf_sections_run" />
  25. <ProgramSection alignment="4" keep="Yes" load="No" name=".log_dynamic_data_run" address_symbol="__start_log_dynamic_data" end_symbol="__stop_log_dynamic_data" />
  26. <ProgramSection alignment="4" keep="Yes" load="No" name=".log_filter_data_run" address_symbol="__start_log_filter_data" end_symbol="__stop_log_filter_data" />
  27. <ProgramSection alignment="4" keep="Yes" load="No" name=".nrf_sections_run_end" address_symbol="__end_nrf_sections_run" />
  28. <ProgramSection alignment="4" load="No" name=".fast_run" />
  29. <ProgramSection alignment="4" load="No" name=".data_run" />
  30. <ProgramSection alignment="4" load="No" name=".tdata_run" />
  31. <ProgramSection alignment="4" load="No" name=".bss" />
  32. <ProgramSection alignment="4" load="No" name=".tbss" />
  33. <ProgramSection alignment="4" load="No" name=".non_init" />
  34. <ProgramSection alignment="4" size="__HEAPSIZE__" load="No" name=".heap" />
  35. <ProgramSection alignment="8" size="__STACKSIZE__" load="No" place_from_segment_end="Yes" name=".stack" address_symbol="__StackLimit" end_symbol="__StackTop"/>
  36. <ProgramSection alignment="8" size="__STACKSIZE_PROCESS__" load="No" name=".stack_process" />
  37. </MemorySegment>
  38. </Root>