Commit Graph

26 Commits

Author SHA1 Message Date
Joerg Wunsch 556eb032ef Change the check for libusb from using usb_open() to
usb_get_string_simple() as the latter is only found in recent enough
versions of libusb.  That way, silently build without USB support
unless a recent version is available.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@480 81a1dc3b-b13d-400b-aceb-764788c761c2
2005-06-20 18:15:13 +00:00
Joerg Wunsch f5882fc781 Implement and document a libusb-based USB transport for the JTAG ICE
mkII.

The serial transport methods have been moved out into a record of
function pointers for that purpose, defaulting to the actual serial
connection that natively applies to the hosting system.  Iff inside
the JTAG ICE mkII handler a port name starting with "usb" has been
detected, the record of function pointers is switched to USB.
Optionally, a serial number might be specified, so only the JTAG ICE
mkII matching the given serial number will be opened.  The match is
done right-to-left, so only the least significant bytes of the serial
number need to be given.

In order to make the change as least intrusive to existing drivers as
possible, the entire naming scheme of the serial_foo() function entry
points has been maintained as access macros that encapsulate these
into the respective indirect function calls via serdev->foo().


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@478 81a1dc3b-b13d-400b-aceb-764788c761c2
2005-06-19 21:38:03 +00:00
Brian S. Dean 2578ff829a Update version after tagging the beta release.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@470 81a1dc3b-b13d-400b-aceb-764788c761c2
2005-05-14 15:53:00 +00:00
Brian S. Dean 33da1ebf09 Update version and copyright message.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@467 81a1dc3b-b13d-400b-aceb-764788c761c2
2005-05-14 14:56:00 +00:00
Brian S. Dean 94c0dd6377 doc/Makefile is now dependent on whether or not doc is enabled.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@446 81a1dc3b-b13d-400b-aceb-764788c761c2
2005-02-10 15:39:42 +00:00
Brian S. Dean d0b33a875e Patch to disable the doc build by default; the tools needed to build
doc are either not available on all systems or are at best
inconvenient to build and install.  The doc can still be built, one
just needs to specify --enable-doc at configure time.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@445 81a1dc3b-b13d-400b-aceb-764788c761c2
2005-02-10 14:54:57 +00:00
Theodore A. Roth 678d5c8248 * avrdude.1: Remove reference to ppi programmer schematic.
* configure.ac (AC_INIT): Set version to "4.4.0cvs".


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@435 81a1dc3b-b13d-400b-aceb-764788c761c2
2004-07-19 22:09:09 +00:00
Theodore A. Roth bcf113ca8d * Makefile.am (EXTRA_DIST): Remove avrdude.pdf since it is no longer supplied.
* NEWS: Fix typo.
* bootstrap: Delete the autom4te.cache dir before running the autotools.
* configure.ac (AC_INIT): Set version to 4.4.0.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@433 81a1dc3b-b13d-400b-aceb-764788c761c2
2004-07-19 06:10:43 +00:00
kiwi64ajs be4f46c49e merged in changes to allow native Win32 build with no cygwin DLL dependancy
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@419 81a1dc3b-b13d-400b-aceb-764788c761c2
2004-06-24 11:05:07 +00:00
Theodore A. Roth 0ce273af5a * configure.ac (AC_INIT): Post release version update.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@405 81a1dc3b-b13d-400b-aceb-764788c761c2
2004-01-27 04:39:06 +00:00
Theodore A. Roth 2a18831d23 * configure.ac: Update copyright year.
(AC_INIT): Set version to 4.3.0.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@403 81a1dc3b-b13d-400b-aceb-764788c761c2
2004-01-27 04:27:18 +00:00
Theodore A. Roth f5bf4c3a01 * NEWS: Add 'Current:' header.
* configure.ac (AC_INIT): Add cvs back to version since we're
back in dev cycle (post release).


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@367 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-09-06 18:17:58 +00:00
Theodore A. Roth 5564554e9a * NEWS: Update for 4.2.0 release. Add note about read/write of fuses
support for avr910.
* configure.ac (AC_INIT): Set version to 4.2.0.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@365 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-09-06 17:47:16 +00:00
Theodore A. Roth f757b913ff * Makefile.am: Change AM_CPPFLAGS to avrdude_CPPFLAGS.
Define avrdude_CFLAGS.
* configure.ac: Set ENABLE_WARNINGS to "-Wall" if using gcc.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@362 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-09-05 04:23:27 +00:00
Theodore A. Roth bf13c6768f * configure.ac: Check for ncurses library (since it can be a
replacement for termcap.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@323 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-05-05 02:29:28 +00:00
Theodore A. Roth 5383559605 * configure.ac: Add cvs suffix back to version.
* doc/TODO: Add a few items.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@316 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-04-19 05:26:23 +00:00
Theodore A. Roth 87aa0c0daa * configure.ac: Set version to 4.1.0.
* doc/avrdude.texi: Add note about avr910 programmer type.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@314 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-04-18 04:41:45 +00:00
Theodore A. Roth 00a87076ea * configure.ac (AC_INIT): Set version to 4.0.0cvs since we're done
with 4.0.0 release.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@287 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-12 21:37:32 +00:00
Brian S. Dean 8f55a60f49 Update version number in preparation for release.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@275 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-10 22:08:06 +00:00
Theodore A. Roth c9250b9ca5 * configure.ac: Add --enable-versioned-doc option and set DOC_INST_DIR.
* doc/Makefile.am: Add rules to install docs in DOC_INST_DIR.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@267 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-06 07:48:08 +00:00
Theodore A. Roth b65ffb88bd * configure.ac: Remove hack to make work with automake-1.5.
* doc/Makefile.am: Remove extra rules that were needed to work with
	automake-1.5.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@265 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-06 06:45:54 +00:00
Theodore A. Roth e3e30d79a8 * Makefile.am (SUBDIRS): Add doc dir.
* configure.ac (AC_CONFIG_FILES): Add doc/Makefile.
* doc/Makefile.am: New file.
* doc/avrdude.texi: Use automatically generated version.texi.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@245 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-03 01:09:52 +00:00
Theodore A. Roth 2838aa472e * Makefile.am (EXTRA_DIST): Add avrdude.spec and make entries one per
line so future patches are obvious as to what changed.
* avrdude.spec.in: New file to support creation of binaries in rpm format.
* configure.ac (AC_OUTPUT): Add avrdude.spec.
	Reorder so that Makefile is the last entry.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@240 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-02-27 06:56:03 +00:00
Theodore A. Roth ecd623836b * Makefile.am (SUBDIRS): Add windows dir.
* configure.ac: If $target is a windows system, build whats in windows sub dir.
* windows/Makefile.am: New file.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@239 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-02-26 00:14:54 +00:00
Theodore A. Roth e1fec80b10 * ChangeLog: Point reader to the CHANGELOG file.
* Makefile.am (EXTRA_DIST): Rename avrdude.conf.sample to avrdude.conf.in.
	Remove avrdude.conf and distclean-local rules.
	Add install-exec-local and backup-avrdude-conf rules.
* avrdude.conf.in:
	Set default_parallel to "@DEFAULT_PAR_PORT@" for autoconf expansion.
	Set default_serial to "@DEFAULT_SER_PORT@" for autoconf expansion.
* configure.ac: Add call to AC_CANONICAL_{BUILD,HOST,TARGET} macros.
	Set DEFAULT_PAR_PORT and DEFAULT_SER_PORT based on $host.
	Add copyright header.
	Define avrdude_version so AC_INIT and AM_INIT_AUTOMAKE are sure
	to get the same version.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@238 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-02-25 00:57:27 +00:00
Theodore A. Roth 2c7934a1ca These changes add basic support for a autoconf/automake based build system.
* .cvsignore: Ignore autoconf files.
	* AUTHORS: New file.
	* ChangeLog: New file.
	* Makefile: Removed file.
	* Makefile.am: New file.
	* NEWS: New file.
	* README: New file.
	* bootstrap: New file.
	* configure.ac: New file.
	* avr.c: Include ac_cfg.h (generated by autoconf).
	* config.c: Include ac_cfg.h.
	Include config_gram.h instead of y.tab.h.
	* config.h: If HAS_YYSTYPE is not defined, define YYSTYPE.
	* config_gram.y: Include ac_cfg.h.
	* fileio.c: Include ac_cfg.h.
	* lexer.l: Include config_gram.h instead of y.tab.h.
	* lists.c: Include ac_cfg.h.
	* main.c: Include ac_cfg.h.
	* par.c: Include ac_cfg.h.
	* pgm.c: Include ac_cfg.h.
	* ppi.c: Include ac_cfg.h.
	* stk500.c: Include ac_cfg.h.
	* term.c: Include ac_cfg.h.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@192 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-02-14 20:34:03 +00:00