aboutsummaryrefslogtreecommitdiff
path: root/tcl
diff options
context:
space:
mode:
authorSpencer Oliver <spen@spen-soft.co.uk>2012-12-06 15:39:36 +0000
committerAndreas Fritiofson <andreas.fritiofson@gmail.com>2012-12-30 11:34:46 +0000
commit84043a95e1744884a9cd8132789c94e13b0312d2 (patch)
tree7d3c08a03ebe42b01efd8df6766d08f008d1772c /tcl
parent54a8640df0420185962e1c31936f2c691de4167a (diff)
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 <spen@spen-soft.co.uk> Reviewed-on: http://openocd.zylin.com/1005 Tested-by: jenkins Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Diffstat (limited to 'tcl')
-rw-r--r--tcl/target/stm32l.cfg4
-rw-r--r--tcl/target/stm32lx_stlink.cfg2
2 files changed, 3 insertions, 3 deletions
diff --git a/tcl/target/stm32l.cfg b/tcl/target/stm32l.cfg
index 940a4e79..eea082e6 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 ed9865d0..6bec2b58 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]