1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/boards/atxmega-a1u-xpro/include
Marian Buschsieweke 023b6ae7cf
cpu/atxmega: fix building with avr-libc 2.1.0
Due to the lack of new official avr-libc releases (which includes the
vendor header files needed to support different version of MCUs),
support for new MCUs was lacking. Distributions such as Debian addressed
this by extending the upstream code with vendor header files directly
obtained from Atmel / Microchip, but without paying attention to
details. As such, a naming inconsistency (ASIZE vs ASPACE) between
officially supported MCUs and new MCUs was introduced.

Now that avr-libc 2.1.0 is officially released, hardware support for new
MCUs is provided by upstream out of the box and only ASIZE is used as
name. This commit adds a bit of glue code to create aliases for ASIZE on
older avr-libc versions where needed. This fixes compilation with the
new avr-libc release and results in more consistent code.
2022-09-22 13:56:53 +02:00
..
board.h boards/atxmega-a1u-xpro: Add spi configuration 2021-05-14 23:26:08 -03:00
gpio_params.h boards: Introduce atxmega-a1u-xpro board 2021-03-15 20:16:10 -03:00
periph_conf.h cpu/atxmega: fix building with avr-libc 2.1.0 2022-09-22 13:56:53 +02:00