]> git.sur5r.net Git - openocd/commitdiff
target: add Cortex-M4 target to VF6xx target
authorMatthias Welwarsky <matthias.welwarsky@sysgo.com>
Mon, 9 Apr 2018 19:41:31 +0000 (21:41 +0200)
committerMatthias Welwarsky <matthias@welwarsky.de>
Thu, 12 Apr 2018 19:49:48 +0000 (20:49 +0100)
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>
tcl/target/vybrid_vf6xx.cfg

index a1202efb725aac46317841c3950b61353cf7d4ee..7cb916d1fc2ccc28977971cc877f9410f57a447b 100644 (file)
@@ -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