aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Welwarsky <matthias.welwarsky@sysgo.com>2018-04-09 21:41:31 +0200
committerTim Newsome <tim@sifive.com>2018-05-08 15:21:49 -0700
commit3955c85a7af72d2141bfc794b170ee750bc1ad11 (patch)
treec977f30592635b4c5b596a9e73678acfe2f98d3b
parente3e31fc15f4c5f9b8718c280fa60d02edc7e4c53 (diff)
downloadriscv-openocd-3955c85a7af72d2141bfc794b170ee750bc1ad11.zip
riscv-openocd-3955c85a7af72d2141bfc794b170ee750bc1ad11.tar.gz
riscv-openocd-3955c85a7af72d2141bfc794b170ee750bc1ad11.tar.bz2
target: add Cortex-M4 target to VF6xx target
The Vybrid VF6xx SoCs contain an additional Cortex-M4 core connected to AP number 3 of the main DAP. Change-Id: I59c020fdfc53e909b1f0dac1a8627a62cdaa74f2 Signed-off-by: Matthias Welwarsky <matthias.welwarsky@sysgo.com> Reviewed-on: http://openocd.zylin.com/3640 Tested-by: jenkins Reviewed-by: Matthias Welwarsky <matthias@welwarsky.de>
-rw-r--r--tcl/target/vybrid_vf6xx.cfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcl/target/vybrid_vf6xx.cfg b/tcl/target/vybrid_vf6xx.cfg
index a1202ef..7cb916d 100644
--- a/tcl/target/vybrid_vf6xx.cfg
+++ b/tcl/target/vybrid_vf6xx.cfg
@@ -33,5 +33,5 @@ dap create $_CHIPNAME.dap -chain-position $_CHIPNAME.cpu
set _TARGETNAME $_CHIPNAME.cpu
target create ${_TARGETNAME}0 cortex_a -dap $_CHIPNAME.dap -dbgbase 0xc0088000
-
+target create ${_TARGETNAME}1 cortex_m -dap $_CHIPNAME.dap -ap-num 3 -defer-examine
adapter_khz 1000