diff --git a/tcl/board/stm32f4discovery.cfg b/tcl/board/stm32f4discovery.cfg index 33bcaa61c..98125e171 100644 --- a/tcl/board/stm32f4discovery.cfg +++ b/tcl/board/stm32f4discovery.cfg @@ -1,6 +1,6 @@ # This is an STM32F4 discovery board with a single STM32F407VGT6 chip. # http://www.st.com/internet/evalboard/product/252419.jsp -source [find interface/stlink-usb.cfg] +source [find interface/stlink-v2.cfg] source [find target/stm32f4x_stlink.cfg] diff --git a/tcl/interface/stlink-v1.cfg b/tcl/interface/stlink-v1.cfg new file mode 100644 index 000000000..d351324c0 --- /dev/null +++ b/tcl/interface/stlink-v1.cfg @@ -0,0 +1,13 @@ +# +# STMicroelectronics ST-LINK/V1 in-circuit debugger/programmer +# + +interface stlink +stlink_layout sg +stlink_device_desc "ST-LINK/V1" +stlink_vid_pid 0x0483 0x3744 +# +# dummy values, not really needed +# +adapter_khz 1 +reset_config trst_and_srst diff --git a/tcl/interface/stlink-usb.cfg b/tcl/interface/stlink-v2.cfg similarity index 100% rename from tcl/interface/stlink-usb.cfg rename to tcl/interface/stlink-v2.cfg