aboutsummaryrefslogtreecommitdiff
path: root/tcl/target
diff options
context:
space:
mode:
authorelmot <elmot@vaadin.com>2017-12-07 10:08:28 +0200
committerAndreas Fritiofson <andreas.fritiofson@gmail.com>2017-12-08 14:59:22 +0000
commiteb26a884e0ff0fb6568aeda65fe21eec1e5b6557 (patch)
tree097ef1cd33ec783bf99525165d492a3dcd00df74 /tcl/target
parent9021210428c87bd8db943c0d88a682077aedb533 (diff)
downloadriscv-openocd-eb26a884e0ff0fb6568aeda65fe21eec1e5b6557.zip
riscv-openocd-eb26a884e0ff0fb6568aeda65fe21eec1e5b6557.tar.gz
riscv-openocd-eb26a884e0ff0fb6568aeda65fe21eec1e5b6557.tar.bz2
config: stm32l01x and stm32l02x chips support
New low-end chips have only 2k of RAM, workarea size adjusted Change-Id: Ibfccd73fef9e6dabffc87d901736c5626ce411fe Signed-off-by: Ilia Motornyi <elijah.mot@gmail.com> Reviewed-on: http://openocd.zylin.com/4308 Tested-by: jenkins Reviewed-by: Karl Palsson <karlp@tweak.net.au> Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Diffstat (limited to 'tcl/target')
-rw-r--r--tcl/target/stm32l0.cfg4
1 files changed, 2 insertions, 2 deletions
diff --git a/tcl/target/stm32l0.cfg b/tcl/target/stm32l0.cfg
index 245213b..417b282 100644
--- a/tcl/target/stm32l0.cfg
+++ b/tcl/target/stm32l0.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 8kB (max ram on smallest part)
+# By default use 2kB (max ram on smallest part)
if { [info exists WORKAREASIZE] } {
set _WORKAREASIZE $WORKAREASIZE
} else {
- set _WORKAREASIZE 0x2000
+ set _WORKAREASIZE 0x800
}
# JTAG speed should be <= F_CPU/6.