]> git.sur5r.net Git - openocd/blobdiff - tcl/board/st_nucleo_f103rb.cfg
jtag: drivers: stlink: handle all versions with single config
[openocd] / tcl / board / st_nucleo_f103rb.cfg
index 8876db78db498a9edfba2579084bb94f383974f7..e1990dcf4795641bea9360ef028cbb404c3d71ac 100644 (file)
@@ -1,9 +1,10 @@
 # This is an ST NUCLEO F103RB board with a single STM32F103RBT6 chip.
 # http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1847/PF259875
 
-source [find interface/stlink-v2-1.cfg]
+source [find interface/stlink.cfg]
 
-source [find target/stm32f1x_stlink.cfg]
+transport select hla_swd
 
-# use hardware reset, connect under reset
-reset_config srst_only srst_nogate
+source [find target/stm32f1x.cfg]
+
+reset_config srst_only