tcl/board: add st_nucleo_g0.cfg to cover known STM32G0 NUCLEO boards
[fw/openocd] / tcl / board / stm3241g_eval_stlink.cfg
index 4e3beb92584a3c2a50dfd39d65c66bd9c9b4bbd4..b1c54a2c6799649fb7a390aa771015a81f30c517 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 128KB
 set WORKAREASIZE 0x20000
@@ -12,7 +14,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