tcl/board: add st_nucleo_g0.cfg to cover known STM32G0 NUCLEO boards
[fw/openocd] / tcl / board / stm32ldiscovery.cfg
index b31a663a409a46f7d78bb71f7ddee0bffbc20832..3e397cba4b46234e9af884d8f175480a4092bf51 100644 (file)
@@ -1,12 +1,11 @@
 # This is an STM32L discovery board with a single STM32L152RBT6 chip.
 # http://www.st.com/internet/evalboard/product/250990.jsp
 
-source [find interface/stlink-v2.cfg]
+source [find interface/stlink.cfg]
 
 transport select hla_swd
 
 set WORKAREASIZE 0x4000
 source [find target/stm32l1.cfg]
 
-# use hardware reset, connect under reset
-reset_config srst_only srst_nogate
+reset_config srst_only