If the stk500 is being used, default to using the first serial port.

git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@167 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
Brian S. Dean
2002-12-07 15:16:24 +00:00
parent 3e44abacfd
commit 2a36b78f1b
2 changed files with 14 additions and 7 deletions

View File

@@ -45,7 +45,7 @@
.Op Fl m Ar memtype
.Op Fl o Ar filename
.Op Fl n
.Op Fl P Ar parallel
.Op Fl P Ar port
.Op Fl t
.Op Fl v
.Op Fl V
@@ -298,12 +298,14 @@ to write to
.It Fl P Ar port
Use
.Ar port
as the
.Xr ppi 4
device to communicate with, instead of the default
.Pa /dev/ppi0 .
If you are using the STK500 programmer, use this option to specify
which serial port to use.
to identify the device to which the programmer is attached. By
default the
.Pa /dev/ppi0
port is used, but if the programmer type normally connects to the
serial port, the
.Pa /dev/cuaa0
port is the default. If you need to use a different parallel or
serial port, use this option to specify the alternate port name.
.It Fl t
Tells
.Nm