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>
This commit is contained in:
Spencer Oliver 2012-12-06 15:39:36 +00:00 committed by Andreas Fritiofson
parent 54a8640df0
commit 84043a95e1
2 changed files with 3 additions and 3 deletions

View File

@ -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.

View File

@ -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]