# 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]
+++ /dev/null
-#
-# STMicroelectronics ST-LINK/V2 in-circuit debugger/programmer
-#
-
-interface stlink
-stlink_layout usb
-stlink_device_desc "ST-LINK/V2"
-stlink_vid_pid 0x0483 0x3748
-#
-# dummy values, not really needed
-#
-adapter_khz 1
-reset_config trst_and_srst
\ No newline at end of file
--- /dev/null
+#
+# 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
--- /dev/null
+#
+# STMicroelectronics ST-LINK/V2 in-circuit debugger/programmer
+#
+
+interface stlink
+stlink_layout usb
+stlink_device_desc "ST-LINK/V2"
+stlink_vid_pid 0x0483 0x3748
+#
+# dummy values, not really needed
+#
+adapter_khz 1
+reset_config trst_and_srst
\ No newline at end of file