Dear Champs,
I am asking this for our customer.
The user wants to place the address value of _c_int00 (say, 0x00082836 in the .map) generated by the compiler on a flash location (.out is EABI format).
The user finds that the compiler has a error for the below statement because _c_int00 is not a constant to the compiler.
extern uint32_t _c_int00;
#pragma DATA_SECTION(testVar, "testEntryPoint")
#pragma RETAIN(testVar)
volatile const uint32_t testVar = (_c_int00);
Do you have any suggestion how the user can place the address value of _c_int00 on a flash location?
Wayne Huang