On 08.06.2017 12:44, Georg-Johann Lay wrote:
Hi,
this patch adds avrxmega3 support and the 2 multilib versions
associated with it.
avr-gcc doesn't yet have respective support, but the Makefiles
scale accordingly. As is is easier to get something into avr-gcc,
and because the libc and gcc must agree on the support, I am
starting with the "hard" part.
FYI, the respective extension has been added to GCC and is
available since
https://gcc.gnu.org/r249124
It
* Adds -mmcu=avrxmega3
* Adds -mshort-calls
* Adds some devices (not yet supported by avr-libc)
* Adds a configure check so it's restrictive in that it
requires https://sourceware.org/PR21472 to build avr-gcc.
Johann
Add multilib support for avrxmega3 + avrxmega3/short-calls.
* configure.ac (CHECK_AVR_DEVICE): Add one for avrxmega3.
(AM_CONDITIONAL): Add one for HAS_avrxmega3.
(AC_CONFIG_FILES): Add avr/lib/avrxmega3/Makefile,
avr/lib/avrxmega3/short-calls/Makefile.
* devtools/gen-avr-lib-tree.sh (CFLAGS_SHORT_CALLS): New.
(AVRXMEGA3_DEV_INFO): New.
(AVRXMEGA3SC_DEV_INFO): New.
(AVR_ARH_INFO): Add entries avrxmega3, avrxmega3/short-calls.
* include/avr/pgmspace.h (__AVR_HAVE_RAMPD__): Fix comment.
_______________________________________________
AVR-libc-dev mailing list
AVR-libc-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/avr-libc-dev