[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-gcc-list] Non initialized data in EEPROM

From: dimax un
Subject: [avr-gcc-list] Non initialized data in EEPROM
Date: Wed, 6 Dec 2006 12:00:33 +0200

I have an array and some config data in eeprom

char config_data __attribute__ ((section (".eeprom"))) = 5;
char eep_array[1024] __attribute__ ((section (".eeprom")));

I use array as temporary storage. The make produces hex file for
EEPROM image that is 1024+1 = 1025 bytes long. Actually I do not need
eep_array to be initialized and thus do not want to burn it. Do you
see any chance to declare some place in eeprom but make it non
initialized and do not have it in EEPROM image hex file to minimize
burning time.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]