Skip to main content
Exit0815
Senior
February 26, 2023
Question

Which command for compiling only specific memory address (area in linker script)

  • February 26, 2023
  • 0 replies
  • 524 views

Hello,

i have "splitted" the memory into several parts using the linker script.

Now i want to compile only one part to just upload that area.

They are splitted correct, so that an erase of one area will not touch the other areas.

i.e. external memory:

Area1 (r) : ORIGIN = 0x90000000, LENGTH = 2048K

Area2 (r) : ORIGIN = 0x90200000, LENGTH = 2048K

Now i just want to compile the Area2 that i have a file which only contains the Data from 0x90200000 to 0x903FFFFF

I hope that is possible.

Thank you very much.

This topic has been closed for replies.