Skip to content

Commit 41e165e

Browse files
schneidersofttom-van
authored andcommitted
Change default WORKAREASIZE to 12kbytes for stm32f3x.
stm32f334k8 only has 12kbytes of SRAM and flashing with the default WORKAREA of 16kbytes will fail for images > 12k. Change-Id: If9be0b0e7cd6e4ba15a130d8e06c74e4a0e22a61 Signed-off-by: Maximilian Schneider <[email protected]> Reviewed-on: https://review.openocd.org/c/openocd/+/9283 Tested-by: jenkins Reviewed-by: Tomas Vanek <[email protected]>
1 parent 517fd8e commit 41e165e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tcl/target/stm32f3x.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ if { [info exists CHIPNAME] } {
1717
set _ENDIAN little
1818

1919
# Work-area is a space in RAM used for flash programming
20-
# By default use 16kB
20+
# By default use 12kB
2121
if { [info exists WORKAREASIZE] } {
2222
set _WORKAREASIZE $WORKAREASIZE
2323
} else {
24-
set _WORKAREASIZE 0x4000
24+
set _WORKAREASIZE 0x3000
2525
}
2626

2727
# Allow overriding the Flash bank size

0 commit comments

Comments
 (0)