| 
  |||||||||||
| 技術(shù)交流 | 電路欣賞 | 工控天地 | 數(shù)字廣電 | 通信技術(shù) | 電源技術(shù) | 測(cè)控之家 | EMC技術(shù) | ARM技術(shù) | EDA技術(shù) | PCB技術(shù) | 嵌入式系統(tǒng) 驅(qū)動(dòng)編程 | 集成電路 | 器件替換 | 模擬技術(shù) | 新手園地 | 單 片 機(jī) | DSP技術(shù) | MCU技術(shù) | IC 設(shè)計(jì) | IC 產(chǎn)業(yè) | CAN-bus/DeviceNe  | 
  
最新avr-libc-1.4.0 | 
  
| 作者:testcode 欄目:單片機(jī) | 
http://www.avrfreaks.net/index.php?NAME=pnphpbb2&file=viewtopic&t=33545p *** Changes in avr-libc-1.4.0: * Major API changes: - The INTERRUPT() macro has been deprecated, and it will be removed in a future version. Use __attribute__((interrupt)) explicitly if this functionality is really needed. - A new ISR() macro has been added, and is now the preferred for to introduce an interrupt service routine. It is equivalent to the old SIGNAL() macro, which might become deprecated in a future version. - A new HEADER file, <compat/deprecated.h> has been established. Its purpose is to collect deprecated items from older versions of the library, starting out with the enable_external_int(), timer_enable_int(), and INTERRUPT() macros/functions, as well as the old obsoleted inp/outp/sbi/cbi macros. - A new include file subdirectory NAMEd "util/" has been created. The files <compat/twi.h>, <avr/crc16.h>, <avr/delay.h>, and <avr/parity.h> have been moved into the new util/ subdirectory. - A new set of interrupt vector NAMEs has been added, closely matching the NAMEs given in the datasheet, and more compatible to other compilers available for the AVR platform. The table of interrupt vector NAMEs in the documentation is now automatically generated, and explicitly mentions the MCU type for each vector NAME. - The STANDARD IO facilities API has been enhanced . The backend functions put and get that are passed to fdevopen() during the setup of a stream now take the stream itself as an additional argument. By defining the macro __STDIO_FDEVOPEN_COMPAT_12 before including <stdio.h>, an fdevopen() function prototype will be declared that is backwards-compatible with avr-libc version 1.2 and before. . It is possible to tie user data to a stream using fdev_set_udata(), and to retrieve them using fdev_get_udata(). Together with the additional argument to the backend functions, these functions can now e.g. KEEP track of internal user state, or distinguish two different DEVICEs using the same backend function. . The get backend function can now return _FDEV_EOF to indicate an end-of-file condition, in addition to _FDEV_ERR for an error condition. This will affect the internal state that can be queried using the STANDARD feof() and ferror() functions. . A new macro fdev_setup_stream() is provided to setup a user-supplied stream without the need to call fdevopen(), and thus without requiring malloc(). A similar macro FDEV_SETUP_STREAM() exists that can be used to initialized a FILE object. The floating-point implementations of vfscanf() and vfprintf() now allocate their conversion buffer on the stack, so they do not need malloc() anymore either. - An API has been added to track the library version NUMBER. See the documentation of the new HEADER file <avr/version.h>. * Bugs fixed: [#3573] Make local symbols in .S files truely local [#12324] overview: boot_page_write_safe, etc. [#12333] STANDARD requires libstdc to define vprintf and vscanf [#12495] about Busy-wait delay loops(document) [#12496] about set_sleep_mode() and tiny26/tiny2313 [#12735] No SUPPORT for AT94K DEVICEs in sleep.h [#12739] Gcc assumes that target libc provides ffs function [#12775] Possible Bug in sscanf on string end [#13340] Math lib documentation/lib mismatch [#13557] small typo in avr-libc-user-manual-1.2.3 [#14224] _delay_ms() not inlining if called more than once in a unit [#14241] 'eeprom_is_ready' is not compiled with ATMEGA48 [#14262] avr-libc documentation error about .init sections [#14266] use __extension__ in avr-libc HEADER files [#14327] wdt_disable() missing a cli [#14378] EEPROM library d'not SUPPORT AT86RF401 DEVICE [#14380] configure/make work ONLY in source directory [#14433] Improve documentation of <avr/delay.h> [#14486] some macros from boot.h doesn't compile correctly [#14503] strnlen_P is wrong with classic AVRs [#14798] several IO registers definition issue in HEADER files [#14852] fp pow function broken for negative x * Other changes: [PATCH #3592] speedup tanh function in libm [PATCH #3750] Allow passing user data to stdio fdevopen() get and put methods. (This is PART of the API changes mentioned above.) [PATCH #3780] <assert.h> HEADER [PATCH #3781] add DUMMY fflush() to <stdio.h> [PATCH #3782] modernize <stdint.h> [PATCH #3912] Fix ctype.S linker error due to asm branches out of range [PATCH #3925] DALLAS iButton 8-bit CRC [PATCH #4087] C99 conformal HEADERs stdint.h and inttypes.h [PATCH #4505] Unified interrupt vector NAMEs in HEADER files [PATCH #4557] Adds to the fplib usage of MUL instruction in GROUP avr4; avr5 DEVICEs [PATCH #4608] rpm spec file update [PATCH #4622] unify doc file location in rpms - Update the build SYSTEM to recent versions of autoconf/automake; the old "doconf" and "domake" scripts are gone now, "reconf" has been reNAMEd to "bootstrap". - Update the documentation SYSTEM to doxygen >= 1.4.1. - Major overhaul of the documentation, new layout of the HTML pages, several clarifications and additions. - Add SUPPORT for the following new DEVICEs (depending on the ability &n  | 
  
| 2樓: | >>參與討論 | 
| 作者: hotpower 于 2005/11/20 12:01:00 發(fā)布:
         真快,還來不及試  | 
  |
| 3樓: | >>參與討論 | 
| 作者: AIRWILL 于 2005/11/21 20:55:00 發(fā)布:
         好象沒有能夠打開啊  | 
  |
| 4樓: | >>參與討論 | 
| 作者: AIRWILL 于 2005/11/23 21:13:00 發(fā)布:
         下載到了,只是他的PDF文檔沒有能夠打開,奇怪  | 
  |
| 5樓: | >>參與討論 | 
| 作者: AIRWILL 于 2005/11/23 21:15:00 發(fā)布:
         第一個(gè)感覺 INTERRUPT () 變成了 ISR() 了,不知道為什么要這么改?  | 
  |
  | 
    
 
  | 
  
| 免費(fèi)注冊(cè)為維庫電子開發(fā)網(wǎng)會(huì)員,參與電子工程師社區(qū)討論,點(diǎn)此進(jìn)入 | 
Copyright © 1998-2006 www.udpf.com.cn 浙ICP證030469號(hào)  |