I would like to use the flash memory for store some data. For this reason I need to assure that some flash memory will be free.
Not using it, but GNU/GCC describes this in the linker script, so would imagine there's that, or dialogs or settings for the Target you can adjust.
As Clive said, the linker of any toolchain has a text file describing the microcontroller various memory segments (RAM, CCRAM, Flash, etc...).
One way is to modify the file to reserve a specific segment for your data.
Other ways can be to add a bin file describing the "reserved data default values" at link time with base address: If this option is available, it can be found in the linker compilation options or project linker settings.
Last way would be to create in a C file the default values and use a possible #pragma to put this const data (if flash) in a specific start address.
Thank you very much for your answers!
I understand what here is proposed. Nevertheless I do not exactly how to perform such configuration or even where to find such a file.
Does anyone has experience making such configuration?
Retrieving data ...