|
From: openocd-gerrit <ope...@us...> - 2025-06-07 10:02:51
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Main OpenOCD repository".
The branch, master has been updated
via db8db903338d1f99eda6ad533168885c9e21178f (commit)
from 125d4f106dcde07340394aebc6754245e455ff1b (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit db8db903338d1f99eda6ad533168885c9e21178f
Author: Marc Schink <de...@za...>
Date: Tue Apr 1 04:34:27 2025 +0000
tcl/target/stm32f4x: Enable the trace port clock
Enable the trace port (GPIOE) clock, otherwise the following pin
configurations have no effect.
Change-Id: I3942d2527c64340463c3b6c607addb4214f83081
Signed-off-by: Marc Schink <de...@za...>
Reviewed-on: https://review.openocd.org/c/openocd/+/8823
Reviewed-by: Antonio Borneo <bor...@gm...>
Tested-by: jenkins
diff --git a/tcl/target/stm32f4x.cfg b/tcl/target/stm32f4x.cfg
index 35d8275b5..a77527c46 100644
--- a/tcl/target/stm32f4x.cfg
+++ b/tcl/target/stm32f4x.cfg
@@ -98,6 +98,9 @@ proc _proc_pre_enable_$_CHIPNAME.tpiu {_chipname} {
targets $_chipname.cpu
if { [$_chipname.tpiu cget -protocol] eq "sync" } {
+ # Enable the GPIOE clock.
+ mmw 0x40023830 0x00000010 0x00000010
+
switch [$_chipname.tpiu cget -port-width] {
1 {
# Set TRACE_IOEN; TRACE_MODE to sync 1 bit; GPIOE[2-3] to AF0
-----------------------------------------------------------------------
Summary of changes:
tcl/target/stm32f4x.cfg | 3 +++
1 file changed, 3 insertions(+)
hooks/post-receive
--
Main OpenOCD repository
|