cancel
Showing results for 
Search instead for 
Did you mean: 

mapping of a C function code

guyl
Associate II
Posted on May 01, 2003 at 09:14

mapping of a C function code

1 REPLY 1
guyl
Associate II
Posted on May 17, 2011 at 11:53

I'm using both secondary flash (boot as common) and main flash .

I need to know how to map a C function code to a fixed program memory address .

Which means that for example I want a C function program to reside in a fixed program address like 0x8000 (Bank#0)

and that this address won't be changed by the compiler each time the project addresses are changed .

I saw that the _AT_ directive is used for specifying a fixed address but it is relevant only for data variables and data space and not for code/program space.