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

2008-12-18 Thread Roy Conrad
Hi Eric! I'm not sure about what you mean by memory-mapped, but it's working just like eeprom variables using avr-libc. In this case I've created specific functions to read and write from external eeprom that use the variable address given by the compiler/linker. This address is the external eepro

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

2008-12-17 Thread Weddington, Eric
Hi Roy, You'll have to use a custom linker file. Start with the standard linker file (*.x) and modify it to add your section for the external eeprom. See the GNU ld user manual (part of GNU Binutils) for more information on the linker file format. In your .eeprom_ext section in the linker file,