forked from auracaster/openocd
PARPORT: add PARPORTADDR tcl variable
Add PARPORTADDR tcl variable making it easier to change parallel port address in scripts. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
This commit is contained in:
@@ -4,7 +4,13 @@
|
||||
# http://www.xilinx.com/itp/xilinx4/data/docs/pac/appendixb.html
|
||||
#
|
||||
|
||||
if { [info exists PARPORTADDR] } {
|
||||
set _PARPORTADDR $PARPORTADDR
|
||||
} else {
|
||||
set _PARPORTADDR 0
|
||||
}
|
||||
|
||||
interface parport
|
||||
parport_port 0
|
||||
parport_port $_PARPORTADDR
|
||||
parport_cable dlc5
|
||||
|
||||
|
||||
Reference in New Issue
Block a user