This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
I want to insert some const version nfo into my flash image, and I want linker to place it always at the end of whatever it linked , to be in flash.
So assume I only have one flash in my MEMORY, FLASH0.
Then I created :
GROUP(XXXXX_BLABLABLA)
{
.const : {}
.text : {}
/*other stuff here .. */
.fwversion_nfo : {} /* <-- this is what i use for attribute*/
} > FLASH0
I did a hexdump, and I see that is currently right at the end , as I want it
Does this then guarantee that it will always be at the end of my build? (after to bin conversion).
Hi,
I'm assigning this to an expert who will help shortly. Thank you for your patience.
Best,
Nate
Does this then guarantee that it will always be at the end of my build?
Yes. Because you use GROUP, all of those output sections are allocated in that exact order.
Thanks and regards,
-George