aboutsummaryrefslogtreecommitdiff
path: root/tcl
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2012-04-15 18:42:39 +0200
committerSpencer Oliver <spen@spen-soft.co.uk>2012-04-20 15:33:24 +0000
commit28e43783e5876ebf6a8684ea85c51ff03403e23d (patch)
treefd1e3375bce65a7844b4d5eda1518a67cd6d0ba2 /tcl
parentc9e59b30ab81318a97b13175d51861d8edced118 (diff)
downloadriscv-openocd-28e43783e5876ebf6a8684ea85c51ff03403e23d.zip
riscv-openocd-28e43783e5876ebf6a8684ea85c51ff03403e23d.tar.gz
riscv-openocd-28e43783e5876ebf6a8684ea85c51ff03403e23d.tar.bz2
Split olimex_stm32_h107.cfg.
Use one board file per eval board, so that the filename matches the exact board the user has / wants to use. Merging different boards into one file is confusing. Change-Id: I7c50233924a87a913723d7215c4851039c2971bc Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Reviewed-on: http://openocd.zylin.com/566 Tested-by: jenkins Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
Diffstat (limited to 'tcl')
-rw-r--r--tcl/board/olimex_stm32_h107.cfg6
-rw-r--r--tcl/board/olimex_stm32_p107.cfg10
2 files changed, 14 insertions, 2 deletions
diff --git a/tcl/board/olimex_stm32_h107.cfg b/tcl/board/olimex_stm32_h107.cfg
index 1d34a23..e54fb4e 100644
--- a/tcl/board/olimex_stm32_h107.cfg
+++ b/tcl/board/olimex_stm32_h107.cfg
@@ -1,6 +1,8 @@
-# Olimex STM32-H107 and STM32-P107 eval boards
+#
+# Olimex STM32-H107
+#
# http://olimex.com/dev/stm32-h107.html
-# http://olimex.com/dev/stm32-p107.html
+#
# Work-area size (RAM size) = 64kB for STM32F107VC device
set WORKAREASIZE 0x10000
diff --git a/tcl/board/olimex_stm32_p107.cfg b/tcl/board/olimex_stm32_p107.cfg
new file mode 100644
index 0000000..98c72a6
--- /dev/null
+++ b/tcl/board/olimex_stm32_p107.cfg
@@ -0,0 +1,10 @@
+#
+# Olimex STM32-P107
+#
+# http://olimex.com/dev/stm32-p107.html
+#
+
+# Work-area size (RAM size) = 64kB for STM32F107VC device
+set WORKAREASIZE 0x10000
+
+source [find target/stm32f1x.cfg]