diff options
author | Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de> | 2016-03-02 13:36:54 +0100 |
---|---|---|
committer | Andreas Fritiofson <andreas.fritiofson@gmail.com> | 2016-08-13 23:34:29 +0100 |
commit | 66d29eb6e3041146e2bb316d0e471e69d781b07d (patch) | |
tree | dc81ca7014ba97f92e5c9ca35e746adfb2f4e4b8 /tcl/target | |
parent | aed0d5d7309cc77cdfff4632994ca3bc0e1fbb31 (diff) | |
download | riscv-openocd-66d29eb6e3041146e2bb316d0e471e69d781b07d.zip riscv-openocd-66d29eb6e3041146e2bb316d0e471e69d781b07d.tar.gz riscv-openocd-66d29eb6e3041146e2bb316d0e471e69d781b07d.tar.bz2 |
tcl/target/stm32f4x.cfg: Use Workareasize of smallest possible device.
Increase workareasize when it is know we have a larger device.
Change-Id: Ieaee92e7cd25cc201989f14de122349698871412
Signed-off-by: Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
Reviewed-on: http://openocd.zylin.com/3378
Tested-by: jenkins
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Diffstat (limited to 'tcl/target')
-rw-r--r-- | tcl/target/stm32f4x.cfg | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tcl/target/stm32f4x.cfg b/tcl/target/stm32f4x.cfg index 7205c46..14fc2ff 100644 --- a/tcl/target/stm32f4x.cfg +++ b/tcl/target/stm32f4x.cfg @@ -15,11 +15,11 @@ if { [info exists CHIPNAME] } { set _ENDIAN little # Work-area is a space in RAM used for flash programming -# By default use 64kB +# By default use 32kB (Available RAM in smallest device STM32F410) if { [info exists WORKAREASIZE] } { set _WORKAREASIZE $WORKAREASIZE } else { - set _WORKAREASIZE 0x10000 + set _WORKAREASIZE 0x8000 } #jtag scan chain |