]> git.sur5r.net Git - openocd/blobdiff - tcl/board/stm32ldiscovery.cfg
jtag: drivers: stlink: handle all versions with single config
[openocd] / tcl / board / stm32ldiscovery.cfg
index 331811927e3715966bdb9197b800ad9a00406fbe..3e397cba4b46234e9af884d8f175480a4092bf51 100644 (file)
@@ -1,10 +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/stm32lx_stlink.cfg]
+source [find target/stm32l1.cfg]
 
-# use hardware reset, connect under reset
-reset_config srst_only srst_nogate
+reset_config srst_only