Commit Graph

956 Commits

Author SHA1 Message Date
bsd 8372ead3de 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
bsd 18c89843e6 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
bsd f194e44f8f 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
bsd 3517471a22 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
bsd d8be445872 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
bsd 2e3fb8371b 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