Hello,
I want to migrate from Segger project to gnu arm gcc project.
I Segger's project, I have add several RAM memory regions in flash_placement.xml. Now want to move all those memory regions in armgcc linker script (.ld).
Looking at linker script, it looks readable but difficult to add custom regions. Need your help understanding gnu linker script with examples.
For example, How to interpret below flash_placement.xml formatted region to GNU linker script.
<ProgramSection alignment="4" keep="Yes" load="No" name=".retained_section" address_symbol="__start_retained_section" end_symbol="__stop__retained_section" size="2048" />