This is an automated email from Gerrit.

Spencer Oliver ([email protected]) just uploaded a new patch set to Gerrit, 
which you can find at http://openocd.zylin.com/1005

-- gerrit

commit 1a4b83369410add7fe8f02d9eb3cc44b08ccfd67
Author: Spencer Oliver <[email protected]>
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 <[email protected]>

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]

-- 

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to