X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=tcl%2Finterface%2Fparport.cfg;h=326005a9d03c3f51b3f9c8029bff30923447f94c;hb=e0285dbe73594b640d9db2473821413097cbafc4;hp=2a2668d520289732b83423d297b980863f393e2a;hpb=d70d9634bf6ab73ec4f2ac1e77012785770b460a;p=fw%2Fopenocd diff --git a/tcl/interface/parport.cfg b/tcl/interface/parport.cfg index 2a2668d52..326005a9d 100644 --- a/tcl/interface/parport.cfg +++ b/tcl/interface/parport.cfg @@ -1,8 +1,14 @@ # -# 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 -