aboutsummaryrefslogtreecommitdiff
path: root/tcl
diff options
context:
space:
mode:
authorPaul Fertser <fercerpav@gmail.com>2018-01-20 21:10:39 +0300
committerFreddie Chopin <freddie.chopin@gmail.com>2018-01-25 16:41:32 +0000
commite22c6484eaedd56d71011dd56e76eacab515a0d6 (patch)
tree27b0e9c88358fb7ee67b1413ecd0195d310b97d9 /tcl
parentb7be0a873ca86cc9972e89ec7d22c25e56d71f0a (diff)
downloadriscv-openocd-e22c6484eaedd56d71011dd56e76eacab515a0d6.zip
riscv-openocd-e22c6484eaedd56d71011dd56e76eacab515a0d6.tar.gz
riscv-openocd-e22c6484eaedd56d71011dd56e76eacab515a0d6.tar.bz2
tcl: target: klx: use 1KiB for working area
Some parts have only that much. Reported by robertfoos_ on IRC. Change-Id: I684fdccfa62cf726466ddc467543a990fd88c4dc Signed-off-by: Paul Fertser <fercerpav@gmail.com> Reviewed-on: http://openocd.zylin.com/4369 Reviewed-by: Robert Foss <robert.foss@memcpy.io> Tested-by: jenkins Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
Diffstat (limited to 'tcl')
-rw-r--r--tcl/target/klx.cfg4
1 files changed, 2 insertions, 2 deletions
diff --git a/tcl/target/klx.cfg b/tcl/target/klx.cfg
index 7dd0404..1a2ee67 100644
--- a/tcl/target/klx.cfg
+++ b/tcl/target/klx.cfg
@@ -12,11 +12,11 @@ if { [info exists CHIPNAME] } {
}
# Work-area is a space in RAM used for flash programming
-# By default use 4kB
+# By default use 1KiB
if { [info exists WORKAREASIZE] } {
set _WORKAREASIZE $WORKAREASIZE
} else {
- set _WORKAREASIZE 0x1000
+ set _WORKAREASIZE 0x400
}
if { [info exists CPUTAPID] } {