I wish to change the section layout in my F28335 project.
Right now I have two sections Section1 and Section2. They are defined in the linker command file as follows:
Section1 : > RAML0
START(_Section1_Start),
END( _Section1_End)
Section2 : > MODDATAPAGE
where MODDATAPAGE is defined as
MODDATAPAGE : origin = 0x00A000, length = 0x40
I.e., all locations inside Section2 belong to the same data page.
Now, I wish to make Section2 reside inside Section1, i.e., the addresses of all objects of Section2 should be between &Section1_Start and &Section1_End, and Section2 should still be a data page (64 words long and properly aligned).
How do I do that?