162 lines
6.4 KiB
Plaintext
162 lines
6.4 KiB
Plaintext
2012-01-30 Rene Liebscher <R.Liebscher@gmx.de>
|
|
|
|
* configure.ac: fixed detection of yylex_destroy availability
|
|
by checking the version number of flex
|
|
|
|
2012-01-30 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
|
|
* lexer.l: Replace the old, now-defunct #define YY_NO_UNPUT by
|
|
the new %option nounput. This gets rid of a compiler warning.
|
|
|
|
2012-01-30 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
|
|
Add a connection_type attribute to each programmer, rather than
|
|
trying to hard-code the default port name in main.c.
|
|
* pgm.h: Add conntype to struct pgm.
|
|
* lexer.l: Extend grammar for connection_type.
|
|
* config_gram.y: (Dito.)
|
|
* config.h: Add DEFAULT_USB, for symmetry with default_parallel
|
|
and default_serial.
|
|
* main.c: Replace old default portname hack by avrdude.conf-based
|
|
knowledge.
|
|
* usbtiny.c: Drop an old hack that's no longer necessary.
|
|
* avrdude.conf.in: Add connection_type to each programmer
|
|
definition.
|
|
|
|
2012-01-27 Rene Liebscher <R.Liebscher@gmx.de>
|
|
|
|
* avrdude.conf.in: used parent parts for some other parts, added
|
|
abstract .xmega part as parent for xmegas
|
|
* main.c: hide parts starting with '.' from parts list
|
|
|
|
2012-01-22 Rene Liebscher <R.Liebscher@gmx.de>
|
|
|
|
patch #7688: Implement parent programmers feature
|
|
* avrdude.conf.in: updated documentation comment and some programmers
|
|
have now parents
|
|
* config_gram.y: initpgm will now called at first use of programmer
|
|
in main. parser sets only the function pointer in the pgm structure.
|
|
Pin and pin lists definitions can now be empty to remove the parents
|
|
setting.
|
|
* doc/avrdude.texi: updated documentation
|
|
* main.c: added call to pgm->initpgm after locate_programmer
|
|
* pgm.[hc]: added field initpgm in structure, added function pgm_dup
|
|
|
|
2012-01-21 Rene Liebscher <R.Liebscher@gmx.de>
|
|
|
|
bug #21797: AT90PWM316: New part description
|
|
* avrdude.conf.in: added pwm316 with parent pwm3b but 16KB flash
|
|
|
|
2012-01-20 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
|
|
* configure.ac: Check for presence of lusb_usb.h as an alternative
|
|
to usb.h; libusb-win32 switched to this name in version 1.2.5.0.
|
|
* avrftdi.c: Decide whether to include <usb.h>, or <lusb0_usb.h>.
|
|
* ser_avrdoper.c: (Dito.)
|
|
* usbasp.c: (Dito.)
|
|
* usb_libusb.c: (Dito.)
|
|
* usbtiny.c: (Dito.)
|
|
|
|
2012-01-19 Rene Liebscher <R.Liebscher@gmx.de>
|
|
|
|
* avr.c: Unsigned variable was used for return code of paged_write/load
|
|
functions. So a negative return code led never to a fallback to byte
|
|
functions.
|
|
|
|
2012-01-17 Rene Liebscher <R.Liebscher@gmx.de>
|
|
|
|
bug #34302: Feature request : device configuration with parent classes
|
|
* config_gram.y: if memory section is overwritten old entry is removed
|
|
|
|
(not in original patch)
|
|
* config_gram.y: if programmer or part is defined twice, a warning is
|
|
output and the first instance is removed
|
|
|
|
General cleanup and free functions, so valgrind does not report any lost
|
|
blocks at program end.
|
|
* avrpart.[hc]: added avr_free_(opcode|mem|part) functions
|
|
* pgm.[hc]: added pgm_free function
|
|
* update.[hc]: added free_update functions
|
|
* config.[hc]: added cleanup_config function, use yylex_destroy to reset
|
|
the lexer after usage. (So it can be reused.)
|
|
* main.c: add cleanup_main function which is called by atexit() (This
|
|
frees all lists so that at program exit only really lost memory is
|
|
reported by valgrind.)
|
|
* usbasp.c: added libusb_free_device_list() and libusb_exit() calls to
|
|
avoid lost memory
|
|
* buspirate.c: moved memory allocation from initpgm to setup and added
|
|
free in teardown
|
|
* configure.ac: add definition of HAVE_YYLEX_DESTROY if $LEX is flex.
|
|
* Makefile.am: added . in front of SUBDIRS to build avrdude before trying
|
|
to use it for creating the part list for the docs.
|
|
|
|
2012-01-17 Rene Liebscher <R.Liebscher@gmx.de>
|
|
|
|
* usbasp.c: USB vid/pid/vendor/product from config file are used, for
|
|
id "usbasp" nibobee and old usbasp are tried as they were currently
|
|
implemented within usbasp
|
|
* avrdude.conf.in: added usb params to "usbasp", added new entry "nibobee"
|
|
with params which were hardcoded in usbasp.c, and added an entry
|
|
"usbasb-clone" which only checks vid/pid.
|
|
|
|
2012-01-10 Rene Liebscher <R.Liebscher@gmx.de>
|
|
|
|
bug #35261 avrftdi uses wrong interface in avrftdi_paged_(write|load)
|
|
* avrftdi.c: Fixed interface and implementation of avrftdi_paged_(write|load)
|
|
patch #7672 adding support for O-Link (FTDI based JTAG) as programmer
|
|
* avrdude.conf.in: added o-link entry
|
|
|
|
2012-01-10 Rene Liebscher <R.Liebscher@gmx.de>
|
|
|
|
patch #7699 Read additional config files
|
|
* main.c: Added reading of additional config files
|
|
* avrdude.1: updated man page
|
|
* doc/avrdude.texi: updated documentation
|
|
|
|
2012-01-10 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
|
|
Submitted by Bob Frazier:
|
|
bug #35208: avrdude 5.11 on freebsd 8.2-STABLE does not reset
|
|
Arduino Uno properly
|
|
* arduino.c (arduino_open): Bump the timeout between pulling
|
|
the DTR and RTS lines low and high.
|
|
|
|
2012-01-08 Rene Liebscher <R.Liebscher@gmx.de>
|
|
|
|
Fixed following findings reported by cppcheck
|
|
* avr910.c:625 (error) Possible null pointer dereference: cmd - otherwise it is redundant to check if cmd is null at line 624
|
|
* avr910.c:626 (error) Possible null pointer dereference: cmd - otherwise it is redundant to check if cmd is null at line 624
|
|
* avr910.c:168 (information) The scope of the variable 'devtype_1st' can be reduced
|
|
* avr910.c:169 (information) The scope of the variable 'dev_supported' can be reduced
|
|
* avrftdi.c:647 (error) Using sizeof for array given as function argument returns the size of pointer.
|
|
* stk500v2.c:3347 (error) Memory leak: b
|
|
* stk500v2.c:3452 (error) Memory leak: b
|
|
* usbasp.c:554 (error) Using sizeof for array given as function argument returns the size of pointer.
|
|
* usbasp.c:485 (information) The scope of the variable 'dly' can be reduced
|
|
|
|
2012-01-03 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
|
|
Reported by Jason Kotzin:
|
|
* usbasp.c (usbasp_spi_paged_load, usbasp_spi_paged_write):
|
|
Fix buffer address calculation.
|
|
|
|
2012-01-03 Rene Liebscher <R.Liebscher@gmx.de>
|
|
|
|
patch #7629 add support for atmega48p
|
|
* avrdude.conf.in: Added m48p with parent m48 + different signature
|
|
|
|
* avrdude.conf.in: made part parents (m88p = m88 + different signature,
|
|
m168p = m168 + different signature)
|
|
|
|
2012-01-02 Rene Liebscher <R.Liebscher@gmx.de>
|
|
|
|
bug #21663 AT90PWM efuse incorrect
|
|
bug #30438 efuse bits written as 0 on at90pwmxx parts
|
|
* avrdude.conf.in: (pwm2, pwm2b, pwm3, pwm3b) <efuse.write>: Write
|
|
eight bits
|
|
|
|
* avrdude.conf.in: made part parents (pwm3 = pwm2, pwm3b = pwm2b,
|
|
pwm2b = pwm2 + different signature)
|
|
|
|
* ChangeLog-2011: New file, rotate ChangeLog for new year.
|