X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=tcl%2Finterface%2Fparport.cfg;h=f7cc23ab48cc9be2a0820ad4dcb2536a0ccc1929;hb=443197aff0e4b3e2ba01635f2862aca90ac26349;hp=326005a9d03c3f51b3f9c8029bff30923447f94c;hpb=679f6602fd1a7e9763bac52f06bbf2db28098d9a;p=fw%2Fopenocd diff --git a/tcl/interface/parport.cfg b/tcl/interface/parport.cfg index 326005a9d..f7cc23ab4 100644 --- a/tcl/interface/parport.cfg +++ b/tcl/interface/parport.cfg @@ -2,11 +2,12 @@ # Parallel port wiggler (many clones available) on port 0x378 # # Addresses: 0x378/LPT1 or 0x278/LPT2 ... +# if { [info exists PARPORTADDR] } { - set _PARPORTADDR $PARPORTADDR + set _PARPORTADDR $PARPORTADDR } else { - set _PARPORTADDR 0x378 + set _PARPORTADDR 0x378 } interface parport