This is an automated email from Gerrit.

Tarek BOCHKATI ([email protected]) just uploaded a new patch set to 
Gerrit, which you can find at http://openocd.zylin.com/6277

-- gerrit

commit ef10aa264067a55770d20fe772d022a6b4824ed9
Author: Tarek BOCHKATI <[email protected]>
Date:   Wed May 26 16:10:39 2021 +0100

    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 <[email protected]>

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

-- 

Reply via email to