X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=tcl%2Finterface%2Fparport.cfg;h=f7cc23ab48cc9be2a0820ad4dcb2536a0ccc1929;hb=28b1fbd5ee083732c67e5bf810ae01ad938471ac;hp=6aaf80b7bb857a78ec17708d94f2cb88fc2b0193;hpb=dbbc9c41f7db210b0a4e226540a28e0a8a5019bf;p=openocd.git diff --git a/tcl/interface/parport.cfg b/tcl/interface/parport.cfg index 6aaf80b7bb..f7cc23ab48 100644 --- a/tcl/interface/parport.cfg +++ b/tcl/interface/parport.cfg @@ -1,9 +1,15 @@ # -# Parallel port wiggler (many clones available) on port 0xc8b8 +# Parallel port wiggler (many clones available) on port 0x378 # +# Addresses: 0x378/LPT1 or 0x278/LPT2 ... +# + +if { [info exists PARPORTADDR] } { + set _PARPORTADDR $PARPORTADDR +} else { + set _PARPORTADDR 0x378 +} interface parport -parport_port 0xc8b8 +parport_port $_PARPORTADDR parport_cable wiggler -jtag_speed 0 -