Dear Sir, I have read example code. #pragma arm section rwdata = "foo", rodata = "bar" int x2 = 5; // in foo (data part of region) int y2[100]; // in .bss int const z2[3] = {1,2,3};
Now i want to place x2 data at a particular memory location(0x40000020) using scatter file. how can i do this.As pragma is used to name the section and this name is used to link using scatter file.
Kindly tell, how can i use this pragma to name the section and then placing the variable at a particular memory location using scatter file.
Thanks