avrdudes / avr-libc

The AVR-LibC package provides a subset of the standard C library for AVR 8-bit RISC microcontrollers.
https://avrdudes.github.io/avr-libc/
Other
261 stars 56 forks source link

[bug #28901] Xmega header files are missing definitions for GPIO_t and CPU_t #420

Closed avrs-admin closed 2 years ago

avrs-admin commented 2 years ago

Mon 15 Feb 2010 02:59:39 PM CET

GPIO and CPU are defined in terms of these missing types and are thus unusable.

For instance:

define CPU    ((CPU_t ) 0x0030)  / CPU Registers /

All xmega header files in Winavr/avr/include/avr have this problem.  These are the header files starting with iox.

This issue was migrated from https://savannah.nongnu.org/bugs/?28901

avrs-admin commented 2 years ago

Eric Weddington Wed 31 Mar 2010 06:30:12 AM CEST

I fixed the xml/avrgcc-header script so future xmega header file generation won't contain this bug. This is only a partial fix as the existing header files need changing. There is a patch for this portion in process.