tcl/target/ti_k3: Add a gdb-attach event hook for r5 and simplify startup function
[fw/openocd] / tcl / board / stm320518_eval_stlink.cfg
index a832984d0670583ebceec80fd5aa24ed69fc1ec7..a7fef0765307a3fe44595b12cd161af0ba1cacd2 100644 (file)
@@ -4,7 +4,9 @@
 #
 # 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 8KB
 set WORKAREASIZE 0x2000
@@ -12,4 +14,6 @@ set WORKAREASIZE 0x2000
 # chip name
 set CHIPNAME STM32F051R8T6
 
-source [find target/stm32f0x_stlink.cfg]
+source [find target/stm32f0x.cfg]
+
+reset_config srst_only