How to use Linker exported symbol in an application?
I am using #[STM32 MCUs] #Cortex-m0 . In linker file we have symbol: __ICFEDIT_region_ROM_start__
How we can use this symbol in application ?
I have assigned &__ICFEDIT_region_ROM_start__ to Pointer.
i.e int *p = &__ICFEDIT_region_ROM_start__
now using p we can fetch the data define by symbol __ICFEDIT_region_ROM_start__.
I want that data to be in macro definition. How i can use?
#define ROM_address __ICFEDIT_region_ROM_start__ ( ROM_address holds wrong data )