]> git.sur5r.net Git - openocd/blobdiff - tcl/board/st_nucleo_f4.cfg
jtag: drivers: stlink: handle all versions with single config
[openocd] / tcl / board / st_nucleo_f4.cfg
index 84b4b53f584b33f9d1f9c7f914f18277261b0539..11f6f8778351b58932d2b809dd653dd24f2764f4 100644 (file)
@@ -1,14 +1,13 @@
-# This is for all ST NUCLEO with any STM32F. Know Boards at the moment:
+# This is for all ST NUCLEO with any STM32F4. Known boards at the moment:
 # STM32F401RET6
 # http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1847/PF260000
 # STM32F411RET6
 # http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1847/PF260320
 
-source [find interface/stlink-v2-1.cfg]
+source [find interface/stlink.cfg]
 
 transport select hla_swd
 
 source [find target/stm32f4x.cfg]
 
-# use hardware reset, connect under reset
-reset_config srst_only srst_nogate
+reset_config srst_only