aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTarek BOCHKATI <tarek.bouchkati@gmail.com>2021-05-26 16:10:39 +0100
committerAntonio Borneo <borneo.antonio@gmail.com>2021-06-04 17:42:17 +0100
commite74eaaacbcae8e8ec4063e0d058e2851d35a2af6 (patch)
treeab908f38a0f0861a5ec5b095aeeb24518aff01c2
parentb9f4532eb76a987310bbc039230259ed175b8797 (diff)
downloadriscv-openocd-e74eaaacbcae8e8ec4063e0d058e2851d35a2af6.zip
riscv-openocd-e74eaaacbcae8e8ec4063e0d058e2851d35a2af6.tar.gz
riscv-openocd-e74eaaacbcae8e8ec4063e0d058e2851d35a2af6.tar.bz2
tcl/target/stm32f4x: fix hardcoded chip name
Fixes: c945d6e61605 ("tcl/target: start using the new TPIU/SWO support") Change-Id: I4543c9a204f7b4b3b14e6eabc5042653106aff0e Signed-off-by: Tarek BOCHKATI <tarek.bouchkati@gmail.com> Reviewed-on: http://openocd.zylin.com/6277 Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com> Tested-by: jenkins
-rw-r--r--tcl/target/stm32f4x.cfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcl/target/stm32f4x.cfg b/tcl/target/stm32f4x.cfg
index e94837f..2228de7 100644
--- a/tcl/target/stm32f4x.cfg
+++ b/tcl/target/stm32f4x.cfg
@@ -38,7 +38,7 @@ if { [info exists CPUTAPID] } {
swj_newdap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID
dap create $_CHIPNAME.dap -chain-position $_CHIPNAME.cpu
-tpiu create $_CHIPNAME.tpiu -dap stm32f4x.dap -ap-num 0 -baseaddr 0xE0040000
+tpiu create $_CHIPNAME.tpiu -dap $_CHIPNAME.dap -ap-num 0 -baseaddr 0xE0040000
if {[using_jtag]} {
jtag newtap $_CHIPNAME bs -irlen 5