Split olimex_stm32_h107.cfg.
authorUwe Hermann <uwe@hermann-uwe.de>
Sun, 15 Apr 2012 16:42:39 +0000 (18:42 +0200)
committerSpencer Oliver <spen@spen-soft.co.uk>
Fri, 20 Apr 2012 15:33:24 +0000 (15:33 +0000)
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>
tcl/board/olimex_stm32_h107.cfg
tcl/board/olimex_stm32_p107.cfg [new file with mode: 0644]

index 1d34a23..e54fb4e 100644 (file)
@@ -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-h107.html
-# http://olimex.com/dev/stm32-p107.html
+#
 
 # Work-area size (RAM size) = 64kB for STM32F107VC device
 set WORKAREASIZE 0x10000
 
 # 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 (file)
index 0000000..98c72a6
--- /dev/null
@@ -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]