We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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
but you already asked and got answers! why start a new thread?
i know about the data section not for code section. kindly tell me about code section. Thanks