Add '-V' (no verify) flag requested by Joerg Wunsch. Update the man

page.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@148 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
Brian S. Dean 2002-10-29 01:59:02 +00:00
parent a05b24f4b1
commit b278d02a94
3 changed files with 23 additions and 3 deletions

View File

@ -4,6 +4,12 @@ Approximate change log for AVRPROG by version
----------------------------------------------------------------------
Version 2.1.2:
* Add '-V' option to disable automatic verify check with uploading
data.
Version 2.1.1:
* Fix ATmega128 instruction sequences for reading fuse bits -

View File

@ -48,6 +48,9 @@
.Op Fl P Ar parallel
.Op Fl t
.Op Fl v
.Op Fl V
.Op Fl y
.Op Fl Y
.Sh DESCRIPTION
.Nm Avrprog
is a driver program for a simple programming hardware that allows one
@ -124,14 +127,17 @@ the format. Currently, the following MCU types are understood:
.TS
ll.
\fBOption tag\fP \fBOfficial part name\fP
t15 ATtiny15
1200 AT90S1200
2313 AT90S2313
2333 AT90S2333
4414 AT90S4414
4433 AT90S4433
4434 AT90S4434
8515 AT90S8515
8535 AT90S8535
m163 ATMEGA163
m128 ATMEGA128
m103 ATMEGA103
m16 ATMEGA16
m8 ATMEGA8
@ -293,6 +299,10 @@ Tells
.Nm
to enter the interactive ``terminal'' mode instead of up- or downloading
files. See below for a detailed description of the terminal mode.
.It Fl v
Enable verbose output.
.It Fl V
Disable automatic verify check when uploading data.
.It Fl y
Tells
.Nm

10
main.c
View File

@ -115,7 +115,7 @@ char ** modules[N_MODULES] = {
&term_version
};
char * version = "2.1.1";
char * version = "2.1.2";
char * main_version = "$Id$";
@ -516,7 +516,7 @@ int main(int argc, char * argv [])
terminal = 0;
filefmt = FMT_AUTO;
nowrite = 0;
verify = 1; /* on by default; XXX can't turn it off */
verify = 1; /* on by default */
ppisetbits = 0;
ppiclrbits = 0;
exitspecs = NULL;
@ -571,7 +571,7 @@ int main(int argc, char * argv [])
/*
* process command line arguments
*/
while ((ch = getopt(argc,argv,"?c:C:eE:f:Fi:m:no:p:P:tvyY:")) != -1) {
while ((ch = getopt(argc,argv,"?c:C:eE:f:Fi:m:no:p:P:tvVyY:")) != -1) {
switch (ch) {
case 'c': /* pin configuration */
@ -681,6 +681,10 @@ int main(int argc, char * argv [])
verbose++;
break;
case 'V':
verify = 0;
break;
case 'y':
do_cycles = 1;
break;