jtag/vdebug: implement a polling mechanism

This change adds a polling mechanism to the driver. When not busy
the driver issues a wait, allowing the target to advance time.
The wait period gets adjusted to match the polling setting.

Change-Id: I67f481d05d7c5ce5352b5cb97de78dbaa97d82ae
Signed-off-by: Jacek Wuwer <jacekmw8@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/8221
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Tested-by: jenkins
This commit is contained in:
Jacek Wuwer
2024-04-24 10:15:38 +02:00
committed by Antonio Borneo
parent db8db90333
commit 2065bac380
5 changed files with 54 additions and 18 deletions

View File

@@ -30,4 +30,4 @@ tcl port disabled
vdebug batching 1
# Polling values
vdebug polling 100 1000
vdebug polling 100 500