[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] Upgraded and re-compiled a current project and a func
Re: [avr-gcc-list] Upgraded and re-compiled a current project and a function was converted to in-line and a function.
Mon, 21 Apr 2008 18:21:17 +0200 (MET DST)
Ray Hurst <address@hidden> wrote:
> Looking into the reason I see that the compiler generated my
> EEPROM_read function and then started generating the function
> in-line in all of the places I called it.
> Any reason for this?
We needed per-device EEPROM routines (as opposed to per-model, as it
used to be before), and since we don't have the infrastructure in
place (yet) for per-device libraries, the only way to get this was to
implement all EEPROM functions as inline code (since it's completely
contained within the header file that way).
Per-device libraries is a larger untertaking, but it appears we won't
get around that in the long run.
cheers, J"org .-.-. --... ...-- -.. . DL8DTL
http://www.sax.de/~joerg/ NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)