X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=tcl%2Finterface%2Fparport.cfg;h=ae3f8f15874e71d1ad6fabbc52bedb9c44dfdd6f;hp=f7cc23ab48cc9be2a0820ad4dcb2536a0ccc1929;hb=d06b09595b4c15d02660964bf9706cbd469b16d4;hpb=ea85ed98beb909d9295a7b15ceb99e067082e31f diff --git a/tcl/interface/parport.cfg b/tcl/interface/parport.cfg index f7cc23ab48..ae3f8f1587 100644 --- a/tcl/interface/parport.cfg +++ b/tcl/interface/parport.cfg @@ -7,7 +7,11 @@ if { [info exists PARPORTADDR] } { set _PARPORTADDR $PARPORTADDR } else { - set _PARPORTADDR 0x378 + if {$tcl_platform(platform) eq "windows"} { + set _PARPORTADDR 0x378 + } { + set _PARPORTADDR 0 + } } interface parport