From: Tarek BOCHKATI Date: Wed, 26 May 2021 15:10:39 +0000 (+0100) Subject: tcl/target/stm32f4x: fix hardcoded chip name X-Git-Url: https://git.gag.com/?a=commitdiff_plain;ds=sidebyside;h=e74eaaacbcae8e8ec4063e0d058e2851d35a2af6;p=fw%2Fopenocd 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 Reviewed-on: http://openocd.zylin.com/6277 Reviewed-by: Antonio Borneo Tested-by: jenkins --- diff --git a/tcl/target/stm32f4x.cfg b/tcl/target/stm32f4x.cfg index e94837f83..2228de72f 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