I need to put 2KB of const data at an exact location (internal flash) in final binary. This location is currently inside the text section of the memory.
The only logical way i can think of is to split my code such that i reserve the needed region inside MEMORY {..} definition and explicitly provide new section name for rest of the code.
Is there a much elegant way of doing this?