tcl/board: add ESP32-S3 config for ESP USB Bridge board
[fw/openocd] / tcl / board / stm3241g_eval_stlink.cfg
index 4e3beb92584a3c2a50dfd39d65c66bd9c9b4bbd4..d2d579077686401b260384ac75d31920d1dc265c 100644 (file)
@@ -1,10 +1,14 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+
 # STM3241G-EVAL: This is an STM32F4 eval board with a single STM32F417IGH6
 # (1024KB) chip.
 # http://www.st.com/internet/evalboard/product/252216.jsp
 #
 # This is for using the onboard STLINK/V2
 
-source [find interface/stlink-v2.cfg]
+source [find interface/stlink.cfg]
+
+transport select hla_swd
 
 # increase working area to 128KB
 set WORKAREASIZE 0x20000
@@ -12,7 +16,6 @@ set WORKAREASIZE 0x20000
 # chip name
 set CHIPNAME STM32F417IGH6
 
-source [find target/stm32f4x_stlink.cfg]
+source [find target/stm32f4x.cfg]
 
-# use hardware reset, connect under reset
-reset_config srst_only srst_nogate
+reset_config srst_only