On Mon, Apr 25, 2005 at 01:38:57PM -0500, David Kelly wrote:
>
> As for the syntax of compiling EEPROM variables all I can say is, "I've
> done it" but don't have an example under my fingertips or in CVS. IIRC
> the variables were defined in a .c source file reserved specifically for
> this purpose. In the Makefile this one source file was compiled with an
> option to map .data to .eeprom, or some such thing.
It was simpler than I remembered. This puts ee_serial_number in EEPROM:
uint32_t ee_serial_number __attribute__ ((section (".eeprom")));
--
David Kelly N4HHE, dkelly@HiWAAY.net
========================================================================
Whom computers would destroy, they must first drive mad.Message
Re: [AVR-Chat] Re: need variables to be stored in EEPROM
2005-04-25 by David Kelly