tcl/board: add SPDX tag
[fw/openocd] / tcl / board / stm3220g_eval_stlink.cfg
index 6ac3751f1de054c5489b50e0a848bf6748f151de..d5296720c2912f08093779833f33a236d20d39b0 100644 (file)
@@ -1,10 +1,14 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+
 # STM3220G-EVAL: This is an STM32F2 eval board with a single STM32F207IGH6
 # (128KB) chip.
 # http://www.st.com/internet/evalboard/product/250374.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,4 +16,6 @@ set WORKAREASIZE 0x20000
 # chip name
 set CHIPNAME STM32F207IGH6
 
-source [find target/stm32f2x_stlink.cfg]
+source [find target/stm32f2x.cfg]
+
+reset_config srst_only