mirror of
git://git.code.sf.net/p/openocd/code
synced 2025-07-21 21:49:15 +10:00
Add PARPORTADDR tcl variable making it easier to change parallel port address in scripts. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
15 lines
284 B
INI
15 lines
284 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 {
|
|
set _PARPORTADDR 0x378
|
|
}
|
|
|
|
interface parport
|
|
parport_port $_PARPORTADDR
|
|
parport_cable wiggler
|