2004-12-31 Joerg Wunsch Last-minute cleanup for release 1.2.0: * include/compat: New directory. * include/compat/ina90.h: Moved from avr/ina90.h. * include/compat/twi.h: Moved from avr/twi.h. * include/avr/ina90.h: Removed from old location. * include/avr/twi.h: Ditto. * include/avr/parity.h: Document. * doc/avr-libc-reference.html: Remove obsolete file. * doc/examples/twitest/twitest.c: twi.h is in compat/ now. * doc/examples/twitest/twitest.dox: Ditto. * doc/TODO: Delete items done. * AUTHORS: Mention Ted Roth as alumni admin. * README: Upgrade info on tool versions. * NEWS: Mention forgotten items: realloc(), Copyright unification, extended delay API, man page generation, moved header files. Index: AUTHORS =================================================================== RCS file: /cvsroot/avr-libc/avr-libc/AUTHORS,v retrieving revision 1.5 retrieving revision 1.6 diff -u -u -r1.5 -r1.6 --- AUTHORS 19 Nov 2004 00:35:07 -0000 1.5 +++ AUTHORS 31 Dec 2004 15:43:48 -0000 1.6 @@ -1,10 +1,14 @@ Project Administrators ---------------------- Marek Michalkiewicz -Theodore A. Roth Joerg Wunsch +Project Administrator alumni +---------------------------- +Theodore A. Roth + + Authors (in Last Name alphabetical order) ----------------------------------------- Keith Gudger Index: NEWS =================================================================== RCS file: /cvsroot/avr-libc/avr-libc/NEWS,v retrieving revision 1.33 retrieving revision 1.35 diff -u -u -r1.33 -r1.35 --- NEWS 30 Dec 2004 20:32:53 -0000 1.33 +++ NEWS 31 Dec 2004 15:38:22 -0000 1.35 @@ -1,3 +1,6 @@ +*** Changes since avr-libc-1.2: + + *** Changes in avr-libc-1.2: * Bugs fixed: @@ -47,6 +50,11 @@ . (PRG_RDB). + . removed completely. +* Moved header files: + + + moved to + + moved to + * New devices supported: + ATmega165 @@ -121,10 +129,34 @@ vsnprintf vsnprintf_P -* Use newer Doxygen. +* Extend malloc API. + +Implement realloc(). + +* Extend delay API (). + +Implement inline functions for specifying delays in microseconds, or +milliseconds directly (based on the macro F_CPU specifying the CPU +clock frequency). + +* Documentation changes: + + + Use newer Doxygen. + + Many fixes and added documentation. + + Unix-style man pages are generated now when doc generation has been + enabled in ./configure * Optimize slightly strtol and strtoul functions. +* Unified copyright. + +All of the avr-libc files are now distributed under a single license. +All of the authors of the files agreed to this step. The new license +is a 3-clause simplified ``BSD-style'' license which is believed to be +fully compatible with the GPL on one hand, yet imposes as minimal +restrictions as possible for any kind of commercial use in +applications based on avr-libc. + To build the documentation, doxygen-1.3.4 or newer is strongly recommended. *** Changes in avr-libc-1.0: Index: README =================================================================== RCS file: /cvsroot/avr-libc/avr-libc/README,v retrieving revision 1.3 retrieving revision 1.4 diff -u -u -r1.3 -r1.4 --- README 9 Oct 2003 17:20:30 -0000 1.3 +++ README 31 Dec 2004 15:38:22 -0000 1.4 @@ -1,11 +1,11 @@ This is avr-libc. It is a C library implementation for use with GNU GCC and GNU binutils for development of programs for Atmel's AVR microcontrollers. -The current branch (1.1), requires the following versions of gcc and binutils: +The current branch (1.3), requires the following versions of gcc and binutils: Tool Minimal Version Preferred Version =========== =============== ================= - binutils 2.13 2.14 - gcc 3.3 Latest 3.3.x + binutils 2.13 2.15 + gcc 3.3 Latest 3.4.x For details on installing and using AVR Libc, see the users manual in the doc/api directory or online at: Index: doc/TODO =================================================================== RCS file: /cvsroot/avr-libc/avr-libc/doc/TODO,v retrieving revision 1.27 retrieving revision 1.28 diff -u -u -r1.27 -r1.28 --- doc/TODO 19 Dec 2004 22:43:38 -0000 1.27 +++ doc/TODO 31 Dec 2004 15:38:23 -0000 1.28 @@ -1,14 +1,9 @@ TODO for avr-libc: -Before 1.2: - - Move the following to include/compat and document - * include/avr/ina90.h - * include/avr/twi.h - - Move the following to examples and document +Before 1.4: + - Move the following to examples * include/avr/parity.h - Document: - * include/avr/crc16.h - * include/avr/parity.h * merge chapter 3 from Rich Neswold's doc. Needs some rewriting to update for newer tools. (explanation of start code) * gcrt1.S Index: doc/examples/twitest/twitest.c =================================================================== RCS file: /cvsroot/avr-libc/avr-libc/doc/examples/twitest/twitest.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -u -r1.2 -r1.3 --- doc/examples/twitest/twitest.c 9 Aug 2004 21:43:37 -0000 1.2 +++ doc/examples/twitest/twitest.c 31 Dec 2004 15:10:28 -0000 1.3 @@ -19,7 +19,7 @@ #include #include -#include /* Note [1] */ +#include /* Note [1] */ #define DEBUG 1 Index: doc/examples/twitest/twitest.dox =================================================================== RCS file: /cvsroot/avr-libc/avr-libc/doc/examples/twitest/twitest.dox,v retrieving revision 1.5 retrieving revision 1.6 diff -u -u -r1.5 -r1.6 --- doc/examples/twitest/twitest.dox 9 Aug 2004 21:43:37 -0000 1.5 +++ doc/examples/twitest/twitest.dox 31 Dec 2004 15:10:28 -0000 1.6 @@ -97,7 +97,7 @@ \par Note [1] -The header file <avr/io.h> contains some macro +The header file <compat/twi.h> contains some macro definitions for symbolic constants used in the TWI status register. These definitions match the names used in the Atmel datasheet except that all names have been prefixed with \c TW_. Index: include/avr/parity.h =================================================================== RCS file: /cvsroot/avr-libc/avr-libc/include/avr/parity.h,v retrieving revision 1.3 retrieving revision 1.4 diff -u -u -r1.3 -r1.4 --- include/avr/parity.h 1 Nov 2004 22:23:56 -0000 1.3 +++ include/avr/parity.h 31 Dec 2004 15:24:33 -0000 1.4 @@ -1,4 +1,5 @@ /* Copyright (c) 2002, Marek Michalkiewicz + Copyright (c) 2004, Joerg Wunsch All rights reserved. Redistribution and use in source and binary forms, with or without @@ -35,6 +36,15 @@ #ifndef _AVR_PARITY_H_ #define _AVR_PARITY_H_ +/** \defgroup avr_parity Parity bit generation + \code #include \endcode + + This header file contains optimized assembler code to calculate + the parity bit for a byte. +*/ +/** \def parity_even_bit + \ingroup avr_parity + \returns 1 if \c val has an odd number of bits set. */ #define parity_even_bit(val) ({ \ unsigned char __t; \ __asm__ ( \