projects
/
riscv-tests.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Pull port number from VCS output and pass to OpenOCD.
[riscv-tests.git]
/
debug
/
targets
/
freedom-e300-sim
/
openocd.cfg
diff --git
a/debug/targets/freedom-e300-sim/openocd.cfg
b/debug/targets/freedom-e300-sim/openocd.cfg
index e8edda4e6c660392c0deb3913c5fdb30d12b0f5c..0b808858a410a53f876d02fec4a5fc42c52e42e2 100644
(file)
--- a/
debug/targets/freedom-e300-sim/openocd.cfg
+++ b/
debug/targets/freedom-e300-sim/openocd.cfg
@@
-1,6
+1,7
@@
adapter_khz 10000
source [find interface/jtag_vpi.cfg]
+jtag_vpi_set_port $::env(JTAG_VPI_PORT)
set _CHIPNAME riscv
jtag newtap $_CHIPNAME cpu -irlen 5 -expected-id 0x10e31913