> --- On Fri, 5/22/09, David Kelly <dke...@hiwaay.net>
> wrote:
> > AVR Studio convention is that internal .eeprom starts
> at 0x00810000. So what I'd do if I were you and wanted the compiler to
> assign static memory addresses in an external eeprom would be:
> > 
> > #define    EEEXT
> > __attribute__((section(".eeexternal")))
> > 
> > am not certain 0x00a10000 is available.
> > 
> > LDFLAGS+=--section-start=.eeprom=00a10000
> > 

Hello David Kelly,
I tried as you mentioned and seems to work fine. One more question is, how to 
know the address ranges used by WinAVR? so one can use the unused ranges for 
external EEPROM, FLASH etc. Thank you.

Regards
Nayani P








_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Reply via email to