From: Tormod Volden <debian.tor...@gmail.com> Make consistent use of hex memory size for flashing.
Delete stm32f10x_128k_eval.cfg. It has no product reference nor any settings in it. --- This patch is mostly cosmetic and just makes things that are the same, look the same. Anyway I am not sure if the board name uniquely designates the RAM size, I think some boards come with chips of different types... The stm32f10x_128k_eval.cfg seems like cruft with not much purpose. Tormod tcl/board/stm32100b_eval.cfg | 4 ++-- tcl/board/stm3210b_eval.cfg | 5 ++--- tcl/board/stm3210c_eval.cfg | 5 ++--- tcl/board/stm3210e_eval.cfg | 5 ++--- tcl/board/stm32f10x_128k_eval.cfg | 4 ---- 5 files changed, 8 insertions(+), 15 deletions(-) delete mode 100644 tcl/board/stm32f10x_128k_eval.cfg diff --git a/tcl/board/stm32100b_eval.cfg b/tcl/board/stm32100b_eval.cfg index f734430..e04b612 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 d6b9dad..70798c1 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 6ab9181..27684f0 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 b1da54c..786d027 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 ce07370..0000000 --- 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] - -- 1.7.0.4 _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development