; From:
>> avr-libc-dev-bounces+eweddington=cso.atmel@nongnu.org
>> [mailto:avr-libc-dev-bounces+eweddington=cso.atmel@nongnu.
>> org] On Behalf Of Roy Conrad
>> Sent: Wednesday, December 17, 2008 11:41 AM
>> To: avr-libc-dev@nongnu.org
>> Subject: [av
-libc-dev@nongnu.org
> Subject: [avr-libc-dev] Problem using section attribute
>
> Hi!
>
> I'm using the section attribute on variables that are supposed to be
> stored in an external eeprom:
>
> #define EEPROMEXT __attribute__((section(".eeprom_ext")))
>
Hi!
I'm using the section attribute on variables that are supposed to be
stored in an external eeprom:
#define EEPROMEXT __attribute__((section(".eeprom_ext")))
uint8_t EEPROMEXT outputs;
In the Makefile I set the starting address for that section:
LDFLAGS += -Wl,--section-start=.eeprom_ext