tcl/target/stm32f4x.cfg: Use Workareasize of smallest possible device.
[fw/openocd] / tcl / board / stm32f4discovery.cfg
index f5b52920434438f48c4d92f95e18ffb484e1a8e1..963e0f95931daf202ecc72c4ac8ea255866afbac 100644 (file)
@@ -5,6 +5,9 @@ source [find interface/stlink-v2.cfg]
 
 transport select hla_swd
 
+# increase working area to 64KB
+set WORKAREASIZE 0x10000
+
 source [find target/stm32f4x.cfg]
 
 reset_config srst_only