tcl/target/stm32f4x.cfg: Use Workareasize of smallest possible device.
[fw/openocd] / tcl / target / stm32f4x.cfg
index 7205c461486e4f152348a8bceb21dc6afa40a120..14fc2ffbed5111848e07a09120fdc59c009dab85 100644 (file)
@@ -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