2007-01-24 Joerg Wunsch Major code cleanup. - Make all internal functions "static". - Make sure each module's header and implementation file match. - Remove all library-like functionality from main.c, so only the actual frontend remains in main.c. - Add C++ brackets to all header files. * avr.c: (Ditto.) * avr.h: (Ditto.) * avr910.c: (Ditto.) * avr910.h: (Ditto.) * avrdude.h: (Ditto.) * avrpart.c: (Ditto.) * avrpart.h: (Ditto.) * bitbang.h: (Ditto.) * butterfly.h: (Ditto.) * config.c: (Ditto.) * config.h: (Ditto.) * confwin.h: (Ditto.) * crc16.c: (Ditto.) * crc16.h: (Ditto.) * fileio.c: (Ditto.) * fileio.h: (Ditto.) * jtagmkI.h: (Ditto.) * jtagmkII.h: (Ditto.) * lexer.l: (Ditto.) * lists.h: (Ditto.) * main.c: (Ditto.) * par.h: (Ditto.) * pgm.c: (Ditto.) * pgm.h: (Ditto.) * ppi.c: (Ditto.) * ppi.h: (Ditto.) * safemode.h: (Ditto.) * serbb.h: (Ditto.) * serial.h: (Ditto.) * stk500.h: (Ditto.) * stk500v2.c: (Ditto.) * stk500v2.h: (Ditto.) * term.c: (Ditto.) * term.h: (Ditto.) * usbasp.h: (Ditto.) * update.c: New file. * update.h: New file. * Makefile.am: Include update.c and update.h. 2007-01-24 Joerg Wunsch Move all "extern" declarations into a centreal header file. * Makefile.am: Add new avrdude.h. * avrdude.h: New file. * avr.c: Replace private extern decl's by #include "avrdude.h". * avr910.c: (Ditto.) * avrpart.c: (Ditto.) * bitbang.c: (Ditto.) * butterfly.c: (Ditto.) * config.c: (Ditto.) * config_gram.y: (Ditto.) * fileio.c: (Ditto.) * jtagmkI.c: (Ditto.) * jtagmkII.c: (Ditto.) * lexer.l: (Ditto.) * main.c: (Ditto.) * par.c: (Ditto.) * pgm.c: (Ditto.) * ppi.c: (Ditto.) * ppiwin.c: (Ditto.) * ser_avrdoper.c: (Ditto.) * ser_posix.c: (Ditto.) * ser_win32.c: (Ditto.) * serbb_posix.c: (Ditto.) * serbb_win32.c: (Ditto.) * stk500.c: (Ditto.) * stk500generic.c: (Ditto.) * stk500v2.c: (Ditto.) * term.c: (Ditto.) * usb_libusb.c: (Ditto.) * usbasp.c: (Ditto.) 2007-01-13 Joerg Wunsch * avrdude.conf.in (ATmega8): Bump the delay values for flash and EEPROM, based on the current Atmel XML file. 2007-01-12 Joerg Wunsch * configure.ac: Improve the detection of the Win32 HID library, and the presence of the header ddk/hidsdi.h. It now works correctly under Cygwin and several flavours of MinGW. * Makefile.am: Add new LIBHID pattern. 2007-01-11 Joerg Wunsch * butterfly.c (butterfly_initialize): when sending the 'T' command (which is ignored by current AVR109 bootloaders), send the first reply from the list of supported device codes back rather than using avrdude.conf's idea about an AVR910 device code. Apparently, this solves disagreements between different versions of at least the ATmega8 AVR910 device code. Closes bug #18727: Writing flash failed 2007-01-07 Joerg Wunsch Reported by Till Harbaum: * avrdude.conf.in (ATtiny25/45/85): Change HVSP reset from 500 microseconds to 1 ms, matching the most recent Atmel XML specs.