openocd/tcl
Antonio Borneo 09ca11066b tcl/target: replace event trace-config
With commit dc7b32ea4a ("armv7m_trace: get rid of the old tpiu
code") the target's event "trace-config" has been deprecated.

Create the TPIU device.
Replace the target's event "trace-config" with tpiu's event
"pre-enable" in the STM32 devices that require enabling the trace
clock _before_ programming the TPIU.
Make the script multi-instance-able in case it's used for JTAG
chained devices.
Uniform the code in STM32F4x with the other scripts.
Remove the empty event from STM32WLx.

Change-Id: Ifda219c3c5f37e03072a88168611cf505eb630b7
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/6681
Tested-by: jenkins
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
2022-08-27 16:15:41 +00:00
..
board Generic Xtensa target config files 2022-08-20 15:39:05 +00:00
chip tcl: add SPDX tag 2022-06-24 21:54:12 +00:00
cpld tcl: add SPDX tag 2022-06-24 21:54:12 +00:00
cpu tcl: add SPDX tag 2022-06-24 21:54:12 +00:00
fpga tcl/fpga: add Lattice MachXO3 family support 2022-08-20 15:29:50 +00:00
interface Generic Xtensa target config files 2022-08-20 15:39:05 +00:00
target tcl/target: replace event trace-config 2022-08-27 16:15:41 +00:00
test tcl: add SPDX tag 2022-06-24 21:54:12 +00:00
tools tcl: add SPDX tag 2022-06-24 21:54:12 +00:00
bitsbytes.tcl tcl: add SPDX tag 2022-06-24 21:54:12 +00:00
mem_helper.tcl tcl: add SPDX tag 2022-06-24 21:54:12 +00:00
memory.tcl tcl: add SPDX tag 2022-06-24 21:54:12 +00:00
mmr_helpers.tcl tcl: add SPDX tag 2022-06-24 21:54:12 +00:00