]> git.sur5r.net Git - openocd/commitdiff
tcl/board: add STM32429I-EVAL and STM32439I-EVAL dev boards from ST.
authorFredrik Hederstierna <fredrik@hederstierna.com>
Thu, 12 Jun 2014 22:29:43 +0000 (00:29 +0200)
committerSpencer Oliver <spen@spen-soft.co.uk>
Thu, 10 Jul 2014 21:19:35 +0000 (21:19 +0000)
Change-Id: I304b6e7bae832391f11d53003299d68e31b0e4ef
Signed-off-by: Fredrik Hederstierna <fredrik@hederstierna.com>
Reviewed-on: http://openocd.zylin.com/2171
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-by: Franck Jullien <franck.jullien@gmail.com>
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
tcl/board/stm32429i_eval.cfg [new file with mode: 0644]
tcl/board/stm32429i_eval_stlink.cfg [new file with mode: 0644]
tcl/board/stm32439i_eval.cfg [new file with mode: 0644]
tcl/board/stm32439i_eval_stlink.cfg [new file with mode: 0644]

diff --git a/tcl/board/stm32429i_eval.cfg b/tcl/board/stm32429i_eval.cfg
new file mode 100644 (file)
index 0000000..a5d3f53
--- /dev/null
@@ -0,0 +1,11 @@
+# STM32429I-EVAL: This is an STM32F4 eval board with a single STM32F429NIH6
+# (2048KB) chip.
+# http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1199/PF259093
+
+# increase working area to 128KB
+set WORKAREASIZE 0x20000
+
+# chip name
+set CHIPNAME STM32F429NIH6
+
+source [find target/stm32f4x.cfg]
diff --git a/tcl/board/stm32429i_eval_stlink.cfg b/tcl/board/stm32429i_eval_stlink.cfg
new file mode 100644 (file)
index 0000000..ad3ea80
--- /dev/null
@@ -0,0 +1,18 @@
+# STM32429I-EVAL: This is an STM32F4 eval board with a single STM32F429NIH6
+# (2048KB) chip.
+# http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1199/PF259093
+#
+# This is for using the onboard STLINK/V2
+
+source [find interface/stlink-v2.cfg]
+
+# increase working area to 128KB
+set WORKAREASIZE 0x20000
+
+# chip name
+set CHIPNAME STM32F429NIH6
+
+source [find target/stm32f4x_stlink.cfg]
+
+# use hardware reset, connect under reset
+reset_config srst_only srst_nogate
diff --git a/tcl/board/stm32439i_eval.cfg b/tcl/board/stm32439i_eval.cfg
new file mode 100644 (file)
index 0000000..8ebdc82
--- /dev/null
@@ -0,0 +1,11 @@
+# STM32439I-EVAL: This is an STM32F4 eval board with a single STM32F439NIH6
+# (2048KB) chip.
+# http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1199/PF259094
+
+# increase working area to 128KB
+set WORKAREASIZE 0x20000
+
+# chip name
+set CHIPNAME STM32F439NIH6
+
+source [find target/stm32f4x.cfg]
diff --git a/tcl/board/stm32439i_eval_stlink.cfg b/tcl/board/stm32439i_eval_stlink.cfg
new file mode 100644 (file)
index 0000000..5b57e1a
--- /dev/null
@@ -0,0 +1,18 @@
+# STM32439I-EVAL: This is an STM32F4 eval board with a single STM32F439NIH6
+# (2048KB) chip.
+# http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1199/PF259094
+#
+# This is for using the onboard STLINK/V2
+
+source [find interface/stlink-v2.cfg]
+
+# increase working area to 128KB
+set WORKAREASIZE 0x20000
+
+# chip name
+set CHIPNAME STM32F439NIH6
+
+source [find target/stm32f4x_stlink.cfg]
+
+# use hardware reset, connect under reset
+reset_config srst_only srst_nogate