1
0
mirror of https://git.code.sf.net/p/openocd/code synced 2024-11-24 19:56:23 +00:00
openocd/tcl/interface/vdebug.cfg
Antonio Borneo 8750beeb44 tcl: update to new syntax of telnet command
Commit ad216136180e ("server/telnet: Restructure commands")
modifies the syntax.

	sed -i 's/telnet_port/telnet port/'

Change-Id: If1ad34a1ec54824dbc124acd36a894862276a34f
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/8502
Reviewed-by: zapb <dev@zapb.de>
Tested-by: jenkins
2024-10-05 15:43:26 +00:00

34 lines
703 B
INI

# SPDX-License-Identifier: GPL-2.0-or-later
# Cadence virtual debug interface
if { [info exists VDEBUGHOST] } {
set _VDEBUGHOST $VDEBUGHOST
} else {
set _VDEBUGHOST localhost
}
if { [info exists VDEBUGPORT] } {
set _VDEBUGPORT $VDEBUGPORT
} else {
set _VDEBUGPORT 8192
}
adapter driver vdebug
# vdebug server:port
vdebug server $_VDEBUGHOST:$_VDEBUGPORT
# example config debug level and log
#debug_level 3
#log_output vd_ocd.log
# example config listen on all interfaces, disable tcl/telnet server
bindto 0.0.0.0
#gdb port 3333
#telnet port disabled
tcl port disabled
# transaction batching: 0 - no batching, 1 - (default) wr, 2 - rw
vdebug batching 1
# Polling values
vdebug polling 100 1000