X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=tcl%2Finterface%2Fparport.cfg;fp=tcl%2Finterface%2Fparport.cfg;h=f7cc23ab48cc9be2a0820ad4dcb2536a0ccc1929;hb=c0e1bfa8b4c8096666494be8fd99f2862bdf67a2;hp=326005a9d03c3f51b3f9c8029bff30923447f94c;hpb=abfd4b19a6b1c1e257aed343af5ab71709f41bcb;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