Commit Graph

2357 Commits

Author SHA1 Message Date
Brian S. Dean 89d9fde9af Return the correct return code from 'main()'.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@10 81a1dc3b-b13d-400b-aceb-764788c761c2
2000-08-07 01:50:37 +00:00
Brian S. Dean 11059e7652 Add ppi_pulse() function and fix ppi_toggle() to actully toggle
instead of pulse.

Make all abnormal returns after the parallel port has been opened go
through a single exit point at the bottom of 'main()'.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@9 81a1dc3b-b13d-400b-aceb-764788c761c2
2000-08-07 01:48:53 +00:00
Brian S. Dean 825a13d702 Makefile: add --pedantic compiler option
avrprog.c:

	Add lots of comments, move getop() variable declarations to
	the top of the program.

	Add a typedef name to the AVR memory type and use it for
	function declarations.

	Add a usleep() delay in the sense loop to avoid becoming a cpu
	hog.

	Print out a version string so that folks know what version of
	the software they are running.

	Be sure and close the parallel device and the i/o file when
	terminating abnormally.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@8 81a1dc3b-b13d-400b-aceb-764788c761c2
2000-08-06 19:47:03 +00:00
Brian S. Dean 0cd28888ba Print out version information when invoked.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@7 81a1dc3b-b13d-400b-aceb-764788c761c2
2000-08-06 18:51:32 +00:00
Brian S. Dean a0e5150dd7 Makefile: Add an install target.
avrprog.c:

  Add license.

  Document the header a bit better.

  Add capability to read out and display the device signature bytes.

  Add capability to power the device from the parallel port.

  Eliminate debug print facility.

  Provide 'avr_cmd()' function.

  When memory locations don't program, generate a newline so that the
  information is not overwritten and lost.

  Don't print out the message about needing to specify a file if the
  user is not requesting an operation that requires the file.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@6 81a1dc3b-b13d-400b-aceb-764788c761c2
2000-08-06 03:53:06 +00:00
Brian S. Dean 324753a80c Pring usage when no arguments are supplied.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@5 81a1dc3b-b13d-400b-aceb-764788c761c2
2000-08-05 05:14:17 +00:00
Brian S. Dean 52ae174073 This commit was generated by cvs2svn to compensate for changes in r2,
which included commits to RCS files with non-trunk default branches.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@3 81a1dc3b-b13d-400b-aceb-764788c761c2
2000-08-05 05:12:50 +00:00