From: OpenOCD-Gerrit <ope...@us...> - 2012-12-30 11:35:50
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "". The branch, master has been updated via 80649fc3d5ce5da7c29cc645109f72e012187c72 (commit) via 84043a95e1744884a9cd8132789c94e13b0312d2 (commit) from 54a8640df0420185962e1c31936f2c691de4167a (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 80649fc3d5ce5da7c29cc645109f72e012187c72 Author: Spencer Oliver <sp...@sp...> Date: Thu Dec 6 15:43:39 2012 +0000 cfg: increase stm32l-discovery working area This part has 16k ram so make it all available. Change-Id: Ifeb7bc850bfe4f68d0affb8f6a0931b4327e7257 Signed-off-by: Spencer Oliver <sp...@sp...> Reviewed-on: http://openocd.zylin.com/1006 Tested-by: jenkins Reviewed-by: Andreas Fritiofson <and...@gm...> diff --git a/tcl/board/stm32ldiscovery.cfg b/tcl/board/stm32ldiscovery.cfg index a8eac81..3318119 100644 --- a/tcl/board/stm32ldiscovery.cfg +++ b/tcl/board/stm32ldiscovery.cfg @@ -3,6 +3,7 @@ source [find interface/stlink-v2.cfg] +set WORKAREASIZE 0x4000 source [find target/stm32lx_stlink.cfg] # use hardware reset, connect under reset commit 84043a95e1744884a9cd8132789c94e13b0312d2 Author: Spencer Oliver <sp...@sp...> Date: Thu Dec 6 15:39:36 2012 +0000 cfg: stm32l use minimum family ram size for working area The smallest pert in the family has 10k RAM, so use that as a default for the working area. Change-Id: I78be0d14a254c109ac15a7163552c6132f810416 Signed-off-by: Spencer Oliver <sp...@sp...> Reviewed-on: http://openocd.zylin.com/1005 Tested-by: jenkins Reviewed-by: Andreas Fritiofson <and...@gm...> diff --git a/tcl/target/stm32l.cfg b/tcl/target/stm32l.cfg index 940a4e7..eea082e 100644 --- a/tcl/target/stm32l.cfg +++ b/tcl/target/stm32l.cfg @@ -13,11 +13,11 @@ if { [info exists ENDIAN] } { } # Work-area is a space in RAM used for flash programming -# By default use 14kB +# By default use 10kB if { [info exists WORKAREASIZE] } { set _WORKAREASIZE $WORKAREASIZE } else { - set _WORKAREASIZE 0x3800 + set _WORKAREASIZE 0x2800 } # JTAG speed should be <= F_CPU/6. diff --git a/tcl/target/stm32lx_stlink.cfg b/tcl/target/stm32lx_stlink.cfg index ed9865d..6bec2b5 100644 --- a/tcl/target/stm32lx_stlink.cfg +++ b/tcl/target/stm32lx_stlink.cfg @@ -11,7 +11,7 @@ if { [info exists CPUTAPID] == 0 } { } if { [info exists WORKAREASIZE] == 0 } { - set WORKAREASIZE 0x3800 + set WORKAREASIZE 0x2800 } source [find target/stm32_stlink.cfg] ----------------------------------------------------------------------- Summary of changes: tcl/board/stm32ldiscovery.cfg | 1 + tcl/target/stm32l.cfg | 4 ++-- tcl/target/stm32lx_stlink.cfg | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) hooks/post-receive -- |