summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTormod Volden <debian.tormod@gmail.com>2010-12-19 23:39:04 +0100
committerØyvind Harboe <oyvind.harboe@zylin.com>2010-12-20 07:52:28 +0100
commitd33f4a2ad5ec945a2d5d5fde2a8c52f8c5d25a96 (patch)
tree04e8f0d051a9bb554eecab0dd8d92570ec3c6521
parent9f18afc39edaf85fccd9b8392067f43fe1a2d295 (diff)
downloadopenocd_libswd-d33f4a2ad5ec945a2d5d5fde2a8c52f8c5d25a96.tar.gz
openocd_libswd-d33f4a2ad5ec945a2d5d5fde2a8c52f8c5d25a96.tar.bz2
openocd_libswd-d33f4a2ad5ec945a2d5d5fde2a8c52f8c5d25a96.tar.xz
openocd_libswd-d33f4a2ad5ec945a2d5d5fde2a8c52f8c5d25a96.zip
tcl/board: Clean up STM32 EVAL boards configurations
Make consistent use of hex memory size for flashing. Delete stm32f10x_128k_eval.cfg. It has no product reference nor any settings in it.
-rw-r--r--tcl/board/stm32100b_eval.cfg4
-rw-r--r--tcl/board/stm3210b_eval.cfg5
-rw-r--r--tcl/board/stm3210c_eval.cfg5
-rw-r--r--tcl/board/stm3210e_eval.cfg5
-rw-r--r--tcl/board/stm32f10x_128k_eval.cfg4
5 files changed, 8 insertions, 15 deletions
diff --git a/tcl/board/stm32100b_eval.cfg b/tcl/board/stm32100b_eval.cfg
index f7344302..e04b612b 100644
--- a/tcl/board/stm32100b_eval.cfg
+++ b/tcl/board/stm32100b_eval.cfg
@@ -1,7 +1,7 @@
# This is an STM32 eval board with a single STM32F100VBT6 chip.
# http://www.st.com/internet/evalboard/product/247099.jsp
-# we only have 8k sram
-set WORKAREASIZE 8192
+# The chip has only 8KB sram
+set WORKAREASIZE 0x2000
source [find target/stm32.cfg]
diff --git a/tcl/board/stm3210b_eval.cfg b/tcl/board/stm3210b_eval.cfg
index d6b9dad5..70798c18 100644
--- a/tcl/board/stm3210b_eval.cfg
+++ b/tcl/board/stm3210b_eval.cfg
@@ -1,8 +1,7 @@
# This is an STM32 eval board with a single STM32F10x (128KB) chip.
# http://www.st.com/internet/evalboard/product/176090.jsp
-# increase working area for faster flash programming
-
-set WORKAREASIZE 32768
+# increase working area to 32KB for faster flash programming
+set WORKAREASIZE 0x8000
source [find target/stm32.cfg]
diff --git a/tcl/board/stm3210c_eval.cfg b/tcl/board/stm3210c_eval.cfg
index 6ab9181b..27684f0d 100644
--- a/tcl/board/stm3210c_eval.cfg
+++ b/tcl/board/stm3210c_eval.cfg
@@ -1,8 +1,7 @@
# This is an STM32 eval board with a single STM32F107VCT chip.
# http://www.st.com/internet/evalboard/product/217965.jsp
-# increase working area for faster flash programming
-
-set WORKAREASIZE 32768
+# increase working area to 32KB for faster flash programming
+set WORKAREASIZE 0x8000
source [find target/stm32.cfg]
diff --git a/tcl/board/stm3210e_eval.cfg b/tcl/board/stm3210e_eval.cfg
index b1da54c4..786d0279 100644
--- a/tcl/board/stm3210e_eval.cfg
+++ b/tcl/board/stm3210e_eval.cfg
@@ -1,9 +1,8 @@
# This is an STM32 eval board with a single STM32F103ZET6 chip.
# http://www.st.com/internet/evalboard/product/204176.jsp
-# increase working area for faster flash programming
-
-set WORKAREASIZE 32768
+# increase working area to 32KB for faster flash programming
+set WORKAREASIZE 0x8000
source [find target/stm32.cfg]
diff --git a/tcl/board/stm32f10x_128k_eval.cfg b/tcl/board/stm32f10x_128k_eval.cfg
deleted file mode 100644
index ce073708..00000000
--- a/tcl/board/stm32f10x_128k_eval.cfg
+++ /dev/null
@@ -1,4 +0,0 @@
-# This is an STM32 eval board with a single STM32F103VBT6 chip on it.
-
-source [find target/stm32.cfg]
-