]> git.sur5r.net Git - openocd/commitdiff
cfg: support calling legacy stm32 scripts
authorSpencer Oliver <ntfreak@users.sourceforge.net>
Fri, 29 Jul 2011 16:01:31 +0000 (17:01 +0100)
committerSpencer Oliver <ntfreak@users.sourceforge.net>
Fri, 29 Jul 2011 16:01:31 +0000 (17:01 +0100)
For the time being we support the old stm32 script names - this will
be removed before the next release cycle.

Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
tcl/target/stm32.cfg [new file with mode: 0644]
tcl/target/stm32f2xxx.cfg [new file with mode: 0644]

diff --git a/tcl/target/stm32.cfg b/tcl/target/stm32.cfg
new file mode 100644 (file)
index 0000000..217b79d
--- /dev/null
@@ -0,0 +1,3 @@
+# deprecated cfg file
+echo "DEPRECATED! use script 'target/stm32f1x.cfg' not 'target/stm32.cfg'"
+source [find target/stm32f1x.cfg]
diff --git a/tcl/target/stm32f2xxx.cfg b/tcl/target/stm32f2xxx.cfg
new file mode 100644 (file)
index 0000000..ab5b1a4
--- /dev/null
@@ -0,0 +1,3 @@
+# deprecated cfg file
+echo "DEPRECATED! use script 'target/stm32f2x.cfg' not 'target/stm32f2xxx.cfg'"
+source [find target/stm32f2x.cfg]