I'm considering moving an 8051 based project to a new design with a Mega1281 and AVR Studio 6.2. Up till now my "C" exposure has been simple projects, but now I have a design with external RAM and a lot of mapped I/O hardware.
Using a Keil compiler with an 8051 target, I would declare variables into different memory areas using BIT, DATA, or XDATA as part of the variables declaration. As part of the project setup, you told it how much (if any) external RAM you have, and what the address range is.
I don't see anything like this in AS 6.2, am I just missing something obvious?
How do I tell the compiler/linker I have external RAM and what variables to put there?
For the external hardware mapping, I assume I can just use pointers to access those specific areas of memory.