How do you force the AVR-GCC C compiler to allocated an array to an absolute address in SRAM?
when defining variables as:
uint16_t wave_buf[0x1800] __attribute__ ((section (".data"))); // (0x1800) 6144 samples at 16-bits (total 12288 bytes)
and it is the first variable defined in my C code but the compiler decided on its own to allocated other variables before this one. You would think since it's the first defined, it would have address 0x800100 (realy 0x100) in internal SRAM. (I'm using a atmega1284p with 16k SRAM).