tcl/board: add ESP32 config for ESP USB Bridge board
[fw/openocd] / tcl / board / stm32439i_eval_stlink.cfg
index 5b57e1a16912ae7ff403884454194c722838a8a3..7a1a396fcbac796dc9f03bc99ff4aabaf2ca91af 100644 (file)
@@ -1,10 +1,14 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+
 # STM32439I-EVAL: This is an STM32F4 eval board with a single STM32F439NIH6
 # (2048KB) chip.
 # http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1199/PF259094
 #
 # 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 STM32F439NIH6
 
-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