d06b09595b
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 <fercerpav@gmail.com> Reviewed-on: http://openocd.zylin.com/2572 Reviewed-by: Andreas Färber <afaerber@suse.de> Tested-by: jenkins Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
20 lines
371 B
INI
20 lines
371 B
INI
#
|
|
# Parallel port wiggler (many clones available) on port 0x378
|
|
#
|
|
# Addresses: 0x378/LPT1 or 0x278/LPT2 ...
|
|
#
|
|
|
|
if { [info exists PARPORTADDR] } {
|
|
set _PARPORTADDR $PARPORTADDR
|
|
} else {
|
|
if {$tcl_platform(platform) eq "windows"} {
|
|
set _PARPORTADDR 0x378
|
|
} {
|
|
set _PARPORTADDR 0
|
|
}
|
|
}
|
|
|
|
interface parport
|
|
parport_port $_PARPORTADDR
|
|
parport_cable wiggler
|