RTEMS CPU Kit with SuperCore  4.11.3
Macros
version.h File Reference

Current Version of avr-libc. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define __AVR_LIBC_VERSION_STRING__   "1.6.8"
 String literal representation of the current library version. More...
 
#define __AVR_LIBC_VERSION__   10608UL
 Numerical representation of the current library version. More...
 
#define __AVR_LIBC_DATE_STRING__   "20100211"
 String literal representation of the release date. More...
 
#define __AVR_LIBC_DATE_   20100211UL
 Numerical representation of the release date. More...
 
#define __AVR_LIBC_MAJOR__   1
 Library major version number. More...
 
#define __AVR_LIBC_MINOR__   6
 Library minor version number. More...
 
#define __AVR_LIBC_REVISION__   8
 Library revision number. More...
 

Detailed Description

Current Version of avr-libc.

This header file defines macros that contain version numbers and strings describing the current version of avr-libc.

The version number itself basically consists of three pieces that are separated by a dot: the major number, the minor number, and the revision number. For development versions (which use an odd minor number), the string representation additionally gets the date code (YYYYMMDD) appended.

This file will also be included by <avr/io.h>. That way, portable tests can be implemented using <avr/io.h> that can be used in code that wants to remain backwards-compatible to library versions prior to the date when the library version API had been added, as referenced but undefined C preprocessor macros automatically evaluate to 0.