08365693b8Parser does not need to know all programmer types now, new programmers will update only the table in pgm_type.c. * config_gram.y, lexer.l: removed programmer type keywords, use now locate_programmer_type() function * pgm_type.[ch]: added new files for table of programmer types * main.c: allow list of programmer types by -c ?type * avrdude.conf.in: changed all type keywords to quoted strings * doc/avrdude.texi: changed description of type definition, list of valid types is now included from generated file * doc/Makefile.am: generate list of programmer types for doc * all programmers [hc]: add xxx_desc string for description of programmer
Rene Liebscher
2012-01-31 17:03:43 +00:00
a2a8927d8fBump required autoconf version to 2.60, as AC_PROG_SED requires this.
joerg_wunsch
2012-01-31 09:52:41 +00:00
1a154d2fcdBump required autoconf version to 2.60, as AC_PROG_SED requires this.
Joerg Wunsch
2012-01-31 09:52:41 +00:00
25433c4f08Bump required autoconf version to 2.60, as AC_PROG_SED requires this.
Joerg Wunsch
2012-01-31 09:52:41 +00:00
824d7c5178* configure.ac: fixed detection of yylex_destroy availability by checking the version number of flex
rliebscher
2012-01-30 20:47:26 +00:00
0cbe3c4705* configure.ac: fixed detection of yylex_destroy availability by checking the version number of flex
Rene Liebscher
2012-01-30 20:47:26 +00:00
6ebc317942* configure.ac: fixed detection of yylex_destroy availability by checking the version number of flex
Rene Liebscher
2012-01-30 20:47:26 +00:00
0f8e5057d5Replace the old, now-defunct #define YY_NO_UNPUT by the new %option nounput. This gets rid of a compiler warning, so we are warning-free again.
joerg_wunsch
2012-01-30 20:31:29 +00:00
0b92bf9a17Replace the old, now-defunct #define YY_NO_UNPUT by the new %option nounput. This gets rid of a compiler warning, so we are warning-free again.
Joerg Wunsch
2012-01-30 20:31:29 +00:00
90fae5f375Replace the old, now-defunct #define YY_NO_UNPUT by the new %option nounput. This gets rid of a compiler warning, so we are warning-free again.
Joerg Wunsch
2012-01-30 20:31:29 +00:00
a86aff7232Add a connection_type attribute to each programmer, rather than trying to hard-code the default port name in main.c.
joerg_wunsch
2012-01-30 17:08:48 +00:00
a68791b705Add a connection_type attribute to each programmer, rather than trying to hard-code the default port name in main.c.
Joerg Wunsch
2012-01-30 17:08:48 +00:00
793591c158Add a connection_type attribute to each programmer, rather than trying to hard-code the default port name in main.c.
Joerg Wunsch
2012-01-30 17:08:48 +00:00
cfe513363f* 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
rliebscher
2012-01-27 21:14:34 +00:00
d02083b738* 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
Rene Liebscher
2012-01-27 21:14:34 +00:00
a3ac01c572* 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
Rene Liebscher
2012-01-27 21:14:34 +00:00
38e72e4b99patch #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
rliebscher
2012-01-22 12:31:54 +00:00
d72a56ef01patch #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
Rene Liebscher
2012-01-22 12:31:54 +00:00
86c30c0cf0patch #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
Rene Liebscher
2012-01-22 12:31:54 +00:00
6047bf5569bug #21797: AT90PWM316: New part description * avrdude.conf.in: added pwm316 with parent pwm3b but 16KB flash
rliebscher
2012-01-22 09:24:22 +00:00
0e14a476f5bug #21797: AT90PWM316: New part description * avrdude.conf.in: added pwm316 with parent pwm3b but 16KB flash
Rene Liebscher
2012-01-22 09:24:22 +00:00
381ea18b08bug #21797: AT90PWM316: New part description * avrdude.conf.in: added pwm316 with parent pwm3b but 16KB flash
Rene Liebscher
2012-01-22 09:24:22 +00:00
097ca1468flibusb-win32 recently changed the name of their header file from usb.h to lusb0_usb.h (for whatever reason). Autoprobe for the filename during configure, and include whatever is appropriate.
joerg_wunsch
2012-01-20 09:39:56 +00:00
9250b467f7libusb-win32 recently changed the name of their header file from usb.h to lusb0_usb.h (for whatever reason). Autoprobe for the filename during configure, and include whatever is appropriate.
Joerg Wunsch
2012-01-20 09:39:56 +00:00
b403105824libusb-win32 recently changed the name of their header file from usb.h to lusb0_usb.h (for whatever reason). Autoprobe for the filename during configure, and include whatever is appropriate.
Joerg Wunsch
2012-01-20 09:39:56 +00:00
d342905ecb* 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.
rliebscher
2012-01-19 20:06:52 +00:00
7c85f6875e* 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.
Rene Liebscher
2012-01-19 20:06:52 +00:00
af991085ca* 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.
Rene Liebscher
2012-01-19 20:06:52 +00:00
4976fcf88ebug #34302: Feature request : device configuration with parent classes * config_gram.y: if memory section is overwritten old entry is removed
rliebscher
2012-01-17 20:56:37 +00:00
0a84dcee24bug #34302: Feature request : device configuration with parent classes * config_gram.y: if memory section is overwritten old entry is removed
Rene Liebscher
2012-01-17 20:56:37 +00:00
459aa147e7bug #34302: Feature request : device configuration with parent classes * config_gram.y: if memory section is overwritten old entry is removed
Rene Liebscher
2012-01-17 20:56:37 +00:00
fbb740ffdf* 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.
rliebscher
2012-01-17 17:37:23 +00:00
572d3236bf* 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.
Rene Liebscher
2012-01-17 17:37:23 +00:00
fe7be6301e* 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.
Rene Liebscher
2012-01-17 17:37:23 +00:00
fc92d9810dbug #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
rliebscher
2012-01-10 18:19:40 +00:00
f39e538c6bbug #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
Rene Liebscher
2012-01-10 18:19:40 +00:00
710b9350d0bug #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
Rene Liebscher
2012-01-10 18:19:40 +00:00
f47483fd66Add NEWS items for my recent changes.
joerg_wunsch
2012-01-10 07:32:37 +00:00
4ecc6bb0fbAdd NEWS items for my recent changes.
Joerg Wunsch
2012-01-10 07:32:37 +00:00
c6518e2a1cAdd NEWS items for my recent changes.
Joerg Wunsch
2012-01-10 07:32:37 +00:00
8ce3040691Submitted 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.
joerg_wunsch
2012-01-10 07:22:20 +00:00
3b0b63edadSubmitted 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.
Joerg Wunsch
2012-01-10 07:22:20 +00:00
13184383f9Submitted 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.
Joerg Wunsch
2012-01-10 07:22:20 +00:00
9ccde79fdeFixed 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
rliebscher
2012-01-08 17:09:40 +00:00
d34978a124Fixed 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
Rene Liebscher
2012-01-08 17:09:40 +00:00
3991a4a0fcFixed 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
Rene Liebscher
2012-01-08 17:09:40 +00:00
1c7843a191Reported by Jason Kotzin: * usbasp.c (usbasp_spi_paged_load, usbasp_spi_paged_write): Fix buffer address calculation.
joerg_wunsch
2012-01-03 22:38:59 +00:00
0b3feb71b8Reported by Jason Kotzin: * usbasp.c (usbasp_spi_paged_load, usbasp_spi_paged_write): Fix buffer address calculation.
Joerg Wunsch
2012-01-03 22:38:59 +00:00
df96c25878Reported by Jason Kotzin: * usbasp.c (usbasp_spi_paged_load, usbasp_spi_paged_write): Fix buffer address calculation.
Joerg Wunsch
2012-01-03 22:38:59 +00:00
b897f9624cpatch #7629 add support for atmega48p * avrdude.conf.in: Added m48p with parent m48 + different signature
rliebscher
2012-01-03 14:01:10 +00:00
965f879ab6patch #7629 add support for atmega48p * avrdude.conf.in: Added m48p with parent m48 + different signature
Rene Liebscher
2012-01-03 14:01:10 +00:00
e816040c22patch #7629 add support for atmega48p * avrdude.conf.in: Added m48p with parent m48 + different signature
Rene Liebscher
2012-01-03 14:01:10 +00:00
9c25498021bug #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
rliebscher
2012-01-02 15:20:18 +00:00
9086368bebbug #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
Rene Liebscher
2012-01-02 15:20:18 +00:00
f6b14731cdbug #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
Rene Liebscher
2012-01-02 15:20:18 +00:00
87da0d461f* avrdude.conf.in: Added is_at90s1200 option to part description * doc/avrdude.texi: Added missing options to part definition * config_gram.y: Fixed resetting of is_at90s1200 and is_avr32 flags
rliebscher
2011-12-30 23:03:42 +00:00
bb29664c84* avrdude.conf.in: Added is_at90s1200 option to part description * doc/avrdude.texi: Added missing options to part definition * config_gram.y: Fixed resetting of is_at90s1200 and is_avr32 flags
Rene Liebscher
2011-12-30 23:03:42 +00:00
041c91a43f* avrdude.conf.in: Added is_at90s1200 option to part description * doc/avrdude.texi: Added missing options to part definition * config_gram.y: Fixed resetting of is_at90s1200 and is_avr32 flags
Rene Liebscher
2011-12-30 23:03:42 +00:00
cb4d616c42patch #7693: Fix config file atmel URLs (+ URLs in avrdude.texi and avrpart.h)
rliebscher
2011-12-30 19:43:11 +00:00
b848e21fd9patch #7693: Fix config file atmel URLs (+ URLs in avrdude.texi and avrpart.h)
Rene Liebscher
2011-12-30 19:43:11 +00:00
144b52a851patch #7693: Fix config file atmel URLs (+ URLs in avrdude.texi and avrpart.h)
Rene Liebscher
2011-12-30 19:43:11 +00:00
a3ad8b0e98* ser_posix.c (baud_lookup_table): Conditionalize the inclusion of non-standard baud rates (only baud rates up to B38400 are standardized by the Single UNIX Specification).
joerg_wunsch
2011-12-30 16:38:58 +00:00
e1ed50e8e6* ser_posix.c (baud_lookup_table): Conditionalize the inclusion of non-standard baud rates (only baud rates up to B38400 are standardized by the Single UNIX Specification).
Joerg Wunsch
2011-12-30 16:38:58 +00:00
f7c2ed3eba* ser_posix.c (baud_lookup_table): Conditionalize the inclusion of non-standard baud rates (only baud rates up to B38400 are standardized by the Single UNIX Specification).
Joerg Wunsch
2011-12-30 16:38:58 +00:00
8a5c0972abbug #34302: Feature request : device configuration with parent classes (not in original patch) * avrpart.c: New function avr_dup_opcode. avr_dup_mem/avr_dup_part- functions now duplicate the opcodes in their op-array to avoid memory leaks. * doc/avrdude.texi: Added description of part parent f
rliebscher
2011-12-29 16:51:44 +00:00
7b66c21c05bug #34302: Feature request : device configuration with parent classes (not in original patch) * avrpart.c: New function avr_dup_opcode. avr_dup_mem/avr_dup_part- functions now duplicate the opcodes in their op-array to avoid memory leaks. * doc/avrdude.texi: Added description of part parent f
Rene Liebscher
2011-12-29 16:51:44 +00:00
eb5e7aa5d7bug #34302: Feature request : device configuration with parent classes (not in original patch) * avrpart.c: New function avr_dup_opcode. avr_dup_mem/avr_dup_part- functions now duplicate the opcodes in their op-array to avoid memory leaks. * doc/avrdude.texi: Added description of part parent f
Rene Liebscher
2011-12-29 16:51:44 +00:00
e20b95a8b0patch #7687: Autogenerating programmers and parts lists for docs * doc/Makefile.am: Add rule how to create avrdude before generating parts list
rliebscher
2011-12-29 13:24:02 +00:00
64b32eb829patch #7687: Autogenerating programmers and parts lists for docs * doc/Makefile.am: Add rule how to create avrdude before generating parts list
Rene Liebscher
2011-12-29 13:24:02 +00:00
574cd4a831patch #7687: Autogenerating programmers and parts lists for docs * doc/Makefile.am: Add rule how to create avrdude before generating parts list
Rene Liebscher
2011-12-29 13:24:02 +00:00
0f518dba3dpatch #7687: Autogenerating programmers and parts lists for docs (generating the parts lists, programmers lists follows later)
rliebscher
2011-12-29 12:53:20 +00:00
42a0bec885patch #7687: Autogenerating programmers and parts lists for docs (generating the parts lists, programmers lists follows later)
Rene Liebscher
2011-12-29 12:53:20 +00:00
3a1754ce5bpatch #7687: Autogenerating programmers and parts lists for docs (generating the parts lists, programmers lists follows later)
Rene Liebscher
2011-12-29 12:53:20 +00:00
bb3584db75* configure.ac: Add writing of definition of confsubst to config.status, so it can run alone, not only called by configure.
rliebscher
2011-12-22 19:44:37 +00:00
abb87167cf* configure.ac: Add writing of definition of confsubst to config.status, so it can run alone, not only called by configure.
Rene Liebscher
2011-12-22 19:44:37 +00:00
53e4a02350* configure.ac: Add writing of definition of confsubst to config.status, so it can run alone, not only called by configure.
Rene Liebscher
2011-12-22 19:44:37 +00:00
9f923bd4f6patch #7680: Fixing timeout problem in ser_recv in ser_win32.c
rliebscher
2011-12-17 20:18:36 +00:00
df51dbd421patch #7680: Fixing timeout problem in ser_recv in ser_win32.c
Rene Liebscher
2011-12-17 20:18:36 +00:00
182dc7ada7patch #7680: Fixing timeout problem in ser_recv in ser_win32.c
Rene Liebscher
2011-12-17 20:18:36 +00:00
dfb2335b07Fixed another memory leak, when define an operation more than once; also fixed the conf.in-file (This might need to be reworked when avr parts can have parents.)
rliebscher
2011-12-17 17:00:51 +00:00
c7467a3816Fixed another memory leak, when define an operation more than once; also fixed the conf.in-file (This might need to be reworked when avr parts can have parents.)
Rene Liebscher
2011-12-17 17:00:51 +00:00
f83447928dFixed another memory leak, when define an operation more than once; also fixed the conf.in-file (This might need to be reworked when avr parts can have parents.)
Rene Liebscher
2011-12-17 17:00:51 +00:00
d486dddebeRestructuring and compacting programmer definition part of grammar
rliebscher
2011-12-17 15:34:47 +00:00
ea63320928Restructuring and compacting programmer definition part of grammar
Rene Liebscher
2011-12-17 15:34:47 +00:00
a84a97cadfRestructuring and compacting programmer definition part of grammar
Rene Liebscher
2011-12-17 15:34:47 +00:00
8f1dee63cdupdate documentation of programmer definition in config file
rliebscher
2011-12-17 14:30:09 +00:00
8b64ec5b84update documentation of programmer definition in config file
Rene Liebscher
2011-12-17 14:30:09 +00:00
bbdee28f6cupdate documentation of programmer definition in config file
Rene Liebscher
2011-12-17 14:30:09 +00:00
0efb404152patch #7667: Minor memory handling fixes
rliebscher
2011-12-17 13:45:54 +00:00