]> git.sur5r.net Git - openocd/commitdiff
tcl: target: klx: use 1KiB for working area
authorPaul Fertser <fercerpav@gmail.com>
Sat, 20 Jan 2018 18:10:39 +0000 (21:10 +0300)
committerFreddie Chopin <freddie.chopin@gmail.com>
Thu, 25 Jan 2018 16:41:32 +0000 (16:41 +0000)
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>
tcl/target/klx.cfg

index 7dd0404f96bd3cc633fac71c456298c4e2fd8aed..1a2ee6798e13067d967611e5d64b46243cfe5de5 100644 (file)
@@ -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] } {