AVR C Runtime Library - News
avr-libc-1.5.1.20071029 and avr-libc-1.4.7 released
Item posted by Joerg Wunsch <joerg_wunsch> on Tue 30 Oct 2007 08:16:35 PM UTC.
Two new versions of avr-libc have been released.
1.4.7 is the current version from the stable line. Please see the NEWS file at
http://www.nongnu.org/avr-libc/NEWS.txt
for a detailed list of changes since version 1.4.6.
Version 1.5.1 is a "sneak preview" of the avr-libc development tree. Its primary intention is to provide some kind of public gamma testing for the new features in it. In no particular order, the list of new things includes:
- A completely rewritten floating-point library, contributed by Dmitry Xmelkov. It is smaller and faster, but as it's an almost full rewrite, this triggered the intention to prepare a public release from the development source code base.
- A rewritten and much extended <avr/interrupt.h>, contributed by Dean Camera. This re-introduces the availability for a macro that can be used to declare an ISR that starts with interrupts initially enabled, but also simplifies declaring "naked" ISRs, and includes ISR aliasing features as well. The older ISR_ALIAS() macro has been deprecated in favour of the ISR_ALIASOF() attribute to the rewritten ISR() macro.
- An <util/setbaud.h> helper file, contributed by Cliff Lawson and Carlos Lamas. The idea behind that file is to provide a simple preprocessor logic for the calculation of AVR baud rate prescaler values, which also includes a check against a pre-defined acceptable baud-rate tolerance (2 % by default), and also automatically suggesting the use of the U2X bit when it's necessary in order to achieve the baud-rate tolerance.
- An <util/atomic.h>, also contributed by Dean Camera. This offers a nice wrapper to make certain brace-blocks in an application atomic with respect to being not interrupted.
So please test it, folks! By its time, the code base that can be seen there will eventually become release 1.6.0, forming a new stable release line.
Powered by Savane 3.14-8aba.
Corresponding source code