This is an automated email from Gerrit. Paul Fertser (fercer...@gmail.com) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/2572
-- gerrit commit 9d00de21eb941b9111035f9187630aa7370a984a Author: Paul Fertser <fercer...@gmail.com> Date: Mon Mar 2 17:52:47 2015 +0300 tcl/interface/parport: default to sane value on non-windows systems When using ppdev driver 0 is the most appropriate default value as it corresponds to /dev/parport0. Raw port address is suitable only for direct access (I think that's parport-giveio on windows). Reported by danitool on IRC. Change-Id: I983c22251de6601b433ad31aaf660fb664cee7e9 Signed-off-by: Paul Fertser <fercer...@gmail.com> diff --git a/tcl/interface/parport.cfg b/tcl/interface/parport.cfg index f7cc23a..ae3f8f1 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 -- ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ OpenOCD-devel mailing list OpenOCD-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openocd-devel