I need to place specific data (default values which could be changed via IAP) into specific address on flash when I program the MCU.
I found cr_section_macros.h - Placing code/rodata into different FLASH blocks
There is macro
#define __RODATA_EXT(bank,name) __SECTION_EXT(rodata, bank, name)
It´s ok but there is no option to define specific address where the data will be placed.
Is there any option/approach How I can complete this task?
Is it possible to create variable in flash somehow via pointer?
There is another solution which could work but I would prefer something which is easier...