[avr-libc-dev] [bug #22447] Summary of iom?8p.h header updates needed

2008-02-29 Thread CurtVM
URL: http://savannah.nongnu.org/bugs/?22447 Summary: Summary of iom?8p.h header updates needed Project: AVR C Runtime Library Submitted by: curtvm Submitted on: Friday 02/29/2008 at 16:19 Category: None

Re: [avr-libc-dev] [RFC] New eeprom.h

2008-02-29 Thread Shaun Jackman
On Thu, Feb 28, 2008 at 11:48 AM, Rick Altherr [EMAIL PROTECTED] wrote: ... There might be an intermediate ground where the core functionality could be written as a set of inline functions. The library code could just make a non-inline function that calls the inline routine. In the header,

Re: [avr-libc-dev] [RFC] New eeprom.h

2008-02-29 Thread Shaun Jackman
On Fri, Feb 29, 2008 at 11:29 AM, Rick Altherr [EMAIL PROTECTED] wrote: If you look at Dmitry's header, you'll see that you pass the address of eeprom_read_byte or eeprom_write_byte. How many versions of eeprom_read_byte and eeprom_write_byte are there? I haven't seen Dmitry's header. Is it

Re: [avr-libc-dev] [RFC] New eeprom.h

2008-02-29 Thread Rick Altherr
On Feb 29, 2008, at 11:41 AM, Shaun Jackman wrote: On Fri, Feb 29, 2008 at 11:29 AM, Rick Altherr [EMAIL PROTECTED] wrote: If you look at Dmitry's header, you'll see that you pass the address of eeprom_read_byte or eeprom_write_byte. How many versions of eeprom_read_byte and

Re: [avr-libc-dev] [RFC] New eeprom.h

2008-02-29 Thread Rick Altherr
On Feb 29, 2008, at 12:32 PM, Shaun Jackman wrote: On Fri, Feb 29, 2008 at 11:46 AM, Rick Altherr [EMAIL PROTECTED] wrote: It was on the mailing list. There are only one of each, but they are inline functions defined in the header so they will be correct for every device. The address of

Re: [avr-libc-dev] [RFC] New eeprom.h

2008-02-29 Thread Shaun Jackman
On Fri, Feb 29, 2008 at 12:43 PM, Rick Altherr [EMAIL PROTECTED] wrote: Many linkers will coalesce copies of the same function from multiple object files. I'm not familiar with binutils enough to know if it does or not. In the standard use of avr-libc with gcc and binutils, you will get

Re: [avr-libc-dev] [RFC] New eeprom.h

2008-02-29 Thread Rick Altherr
On Feb 29, 2008, at 3:00 PM, Shaun Jackman wrote: On Fri, Feb 29, 2008 at 12:43 PM, Rick Altherr [EMAIL PROTECTED] wrote: Many linkers will coalesce copies of the same function from multiple object files. I'm not familiar with binutils enough to know if it does or not. In the standard use

Re: [avr-libc-dev] [RFC] New eeprom.h

2008-02-29 Thread Shaun Jackman
On Fri, Feb 29, 2008 at 3:05 PM, Rick Altherr [EMAIL PROTECTED] wrote: The example I am most familiar with is text coalescing with Apple's ld. Sadly, I can't give out details on how it works nor can I provide source. Alright. Back to EEPROM functions... When using binutils and gcc,

Re: [avr-libc-dev] [RFC] New eeprom.h

2008-02-29 Thread Dmitry K.
Hi all. Rick, thank you for fine explanation of 'project 1'! Now I have include this project into my local Avr-libc copy, build and test. Now I am busy to add DOXYGEN. The list of changes is: New variant of EEPROM functions: inline byte procedures and library multibyte