As Anatoly Sokolov wrote: > New ATtiny devices also have LPM Rx, Z+ instruction. When I added > avr25 architecture in GCC, I have introduced two gcc macros > __AVR_HAVE_MOVW__ and __AVR_HAVE_LPMX__. Now I have added > __AVR_HAVE_MUL__ macro in GCC for avr4 and avr5 architectures.
Does that mean __AVR_ENHANCED__ will eventually become obsolete then? How are the different compiler and library versions playing together? Say, we have an older compiler that doesn't know anything about the new macros but only sets __AVR_ENHANCED__, will the library code then assume all of __AVR_HAVE_MOVW__, __AVR_HAVE_LPMX__, and __AVR_HAVE_MUL__? -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) _______________________________________________ AVR-libc-dev mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/avr-libc-dev
