Re: [avr-libc-dev] Problem using section attribute

2008-12-18 Thread Roy Conrad
; 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

RE: [avr-libc-dev] Problem using section attribute

2008-12-17 Thread Weddington, Eric
-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"))) >

[avr-libc-dev] Problem using section attribute

2008-12-17 Thread Roy Conrad
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