The F334 disco board has a stlink V.2-1 as F3 nucleo boards. Normal F3 disco
boards use stlink v2 and can't ne used.
Change-Id: I77ebef93b184592f25ff18bb2da776d636f60ff0
Signed-off-by: Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
Reviewed-on: http://openocd.zylin.com/2434
Tested-by: jenkins
Reviewed-by: Paul Fertser <fercerpav@gmail.com>
--- /dev/null
+# This is an ST NUCLEO F334R8 board with a single STM32F334R8T6 chip.
+# http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1847/PF260004
+
+source [find interface/stlink-v2-1.cfg]
+
+transport select hla_swd
+
+source [find target/stm32f3x.cfg]
+
+reset_config srst_only
+++ /dev/null
-# This is an ST NUCLEO F334R8 board with a single STM32F334R8T6 chip.
-# http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1847/PF260004
-
-source [find interface/stlink-v2-1.cfg]
-
-transport select hla_swd
-
-source [find target/stm32f3x.cfg]
-
-reset_config srst_only
--- /dev/null
+# This is an STM32F334 discovery board with a single STM32F334C8T6 chip.
+# As it is one of the few boards with stlink V.2-1, we source the corresponding
+# nucleo file.
+# http://www.st.com/web/en/catalog/tools/FM116/SC959/SS1532/LN1848/PF260318
+
+source [find board/st_nucleo_f3.cfg]