This document describes a way, how to place custom constant data into specific flash memory area.
- Create a custom linker section in the linker file (.ld), where custom data should be placed into.
- Use the KEEP keyword in case you would like to avoid dead stripping if and object is not referenced.
- add the __attribute__ section statements to the custom data definition.
- Map file should looks like this way
Hope it helps.