Convert a Scatter (ARM) File to a GNU linker Script?

0

I have problems to convert a Keil Scatter File into a GNU ARM linker script. I will split the memory into two different segments. Please, can anybody gibe me some hints or a template? I tried to figure out with the help of this thread. But in the end it doesn't helps. How to convert a GNU linker Script ld to Scatter File (ARM)

I know, this is my first post and it's a thankless post so far...

ROM1 0x00000000 0x00008000  
{
  ER_ROM1 0x00000000 0x00008000  
  {
   *.o (RESET, +First)
   *(InRoot$$Sections)
   .ANY (+RO)
  }
  RW_RAM1 0x20000000 0x00004000  {
   .ANY (+RW +ZI)
  }
}

ROM2 0x00008000 0x00018000  
{
  ER_ROM2 0x00008000 0x00000100  
  {  
    example1.o (ex1, +FIRST)

  }  
  ER_ROM3 0x00008100 0x00017F00  
  {
    example2.o (ex2, +First)
    example2.o (+RO)
    ex3.o (ex2)
  }
}

Thanks a lot for any help! :)

gcc
arm
gnu
ld
scatter
asked on Stack Overflow Oct 20, 2017 by Ulfhetnar

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0