As S, Pitchumani wrote:

> It is possible to hard-code RAMPZ register address irrespective of
> device header file (gcc also hard-codes RAMPZ address) as follows:

> +#  define AVR_RAMPZ_REG   (_SFR_IO8(0x3B))
> +#  define AVR_RAMPZ_ADDR  (_SFR_IO8(0x3B))

> This will enable building library for a architecture than a device.

> Please give your feedback.

Sounds like a pragmatic approach to me, which does not have to wait
until someone eventually might find the time for a per-device library
build system.

Please add this remark to the bug tracker.
-- 
cheers, Joerg               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/
Never trust an operating system you don't have sources for. ;-)

_______________________________________________
AVR-libc-dev mailing list
AVR-libc-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/avr-libc-dev

Reply via email to