Dear Sir, for example,I am written the following code in main.
#include........
#pragma arm section code="foo" int add1(int x) { return x++; } #pragma arm section codee
int main() {unsigned char t; ...... t=add1(t); ...... }
how can i place this function at a particular memory location in flash(ROM) using scatter file.Kindly tell me what should i write in scatter file to locate add1 at a particular memory location.
Thanks
i know about the data section not for code section. kindly tell me about code section. Thanks