This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

fix address for variables which are stored in flash

I want allocate the fix address for variables which are stored in flash. for example:
const float engine_speed[6]={0,1000,2000,3000,4000,5000};
after compiling it, the address of these variables (engine_speed[6])is shown as bellow: C04000H engine_speed VAR --- NCONST ?NC?CR_MAP.
if i want to fix the address of the variables into flash memory: C1F000H,
how can i do? Thanks!

0