From: Antonio Borneo Date: Mon, 8 Nov 2021 19:14:46 +0000 (+0100) Subject: tcl/target: replace event trace-config X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=09ca11066b568497cc2a191e9fedbf08673c15c6;hp=09ca11066b568497cc2a191e9fedbf08673c15c6;p=fw%2Fopenocd tcl/target: replace event trace-config With commit dc7b32ea4a00 ("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 Reviewed-on: https://review.openocd.org/c/openocd/+/6681 Tested-by: jenkins Reviewed-by: Tomas Vanek ---