projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tcl/target/stm32l4x: set default WORKAREASIZE to smallest device
[fw/openocd]
/
tcl
/
target
/
stm32l4x.cfg
diff --git
a/tcl/target/stm32l4x.cfg
b/tcl/target/stm32l4x.cfg
index 5899791938edf2484c29d2f9cdc3d6327b9bc923..103d741e2b73c7383389200433260ef986e99db8 100644
(file)
--- a/
tcl/target/stm32l4x.cfg
+++ b/
tcl/target/stm32l4x.cfg
@@
-15,11
+15,11
@@
if { [info exists CHIPNAME] } {
set _ENDIAN little
# Work-area is a space in RAM used for flash programming
set _ENDIAN little
# Work-area is a space in RAM used for flash programming
-#
Smallest current target has 64kB ram, use 32kB by default to avoid surprises
+#
By default use 40kB (Available RAM in smallest device STM32L412)
if { [info exists WORKAREASIZE] } {
set _WORKAREASIZE $WORKAREASIZE
} else {
if { [info exists WORKAREASIZE] } {
set _WORKAREASIZE $WORKAREASIZE
} else {
- set _WORKAREASIZE 0x
8
000
+ set _WORKAREASIZE 0x
a
000
}
#jtag scan chain
}
#jtag scan chain