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).