This is an automated email from Gerrit.

Jens Hoffmann ([email protected]) just uploaded a new patch set to Gerrit, 
which you can find at http://openocd.zylin.com/2022

-- gerrit

commit 59b2f40333cfdca476fce4e5ccfae47d32c79f91
Author: Jens Hoffmann <[email protected]>
Date:   Wed Mar 5 22:49:14 2014 +0100

    Added st nucleo board configs.
    
    This patch adds board configs for Nucleo FXXX boards.
    
    Change-Id: I25bfd7d63f734bad710917efa67bc6096aa60ef8
    Signed-off-by: Jens Hoffmann <[email protected]>

diff --git a/contrib/openocd.udev b/contrib/openocd.udev
index b2e1123..cc08f8b 100644
--- a/contrib/openocd.udev
+++ b/contrib/openocd.udev
@@ -87,8 +87,9 @@ ATTRS{idVendor}=="0403", ATTRS{idProduct}=="8a99", 
MODE="664", GROUP="plugdev"
 # stlink v1
 ATTRS{idVendor}=="0483", ATTRS{idProduct}=="3744", MODE="664", GROUP="plugdev"
 
-# stlink v2
+# stlink v2, stlink v2-1
 ATTRS{idVendor}=="0483", ATTRS{idProduct}=="3748", MODE="664", GROUP="plugdev"
+ATTRS{idVendor}=="0483", ATTRS{idProduct}=="374b", MODE="664", GROUP="plugdev"
 
 # opendous and estick
 ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="204f", MODE="664", GROUP="plugdev"
diff --git a/tcl/board/st_nucleo_f030r8.cfg b/tcl/board/st_nucleo_f030r8.cfg
new file mode 100644
index 0000000..5589c9c
--- /dev/null
+++ b/tcl/board/st_nucleo_f030r8.cfg
@@ -0,0 +1,9 @@
+# This is an ST NUCLEO-F030R8 board with a single STM32F030R8T6 chip.
+# http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1847/PF259997
+
+source [find interface/stlink-v2-1.cfg]
+
+source [find target/stm32f0x_stlink.cfg]
+
+# use hardware reset, connect under reset
+reset_config srst_only srst_nogate
diff --git a/tcl/board/st_nucleo_f103rb.cfg b/tcl/board/st_nucleo_f103rb.cfg
new file mode 100644
index 0000000..8876db7
--- /dev/null
+++ b/tcl/board/st_nucleo_f103rb.cfg
@@ -0,0 +1,9 @@
+# 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 target/stm32f1x_stlink.cfg]
+
+# use hardware reset, connect under reset
+reset_config srst_only srst_nogate
diff --git a/tcl/board/st_nucleo_f401re.cfg b/tcl/board/st_nucleo_f401re.cfg
new file mode 100644
index 0000000..da84f14
--- /dev/null
+++ b/tcl/board/st_nucleo_f401re.cfg
@@ -0,0 +1,9 @@
+# This is an ST NUCLEO F401RE board with a single STM32F401RET6 chip.
+# http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1847/PF260000
+
+source [find interface/stlink-v2-1.cfg]
+
+source [find target/stm32f4x_stlink.cfg]
+
+# use hardware reset, connect under reset
+reset_config srst_only srst_nogate

-- 

------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to