This is an automated email from Gerrit.

"Maximilian Schneider <[email protected]>" just uploaded a new patch set 
to Gerrit, which you can find at https://review.openocd.org/c/openocd/+/9283

-- gerrit

commit 8370fe6080a69f6e8f41a0296eca025cf3580d79
Author: Maximilian Schneider <[email protected]>
Date:   Fri Dec 5 21:31:39 2025 +0100

    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]>

diff --git a/tcl/target/stm32f3x.cfg b/tcl/target/stm32f3x.cfg
index aa978d9c84..840ddff3f4 100644
--- a/tcl/target/stm32f3x.cfg
+++ b/tcl/target/stm32f3x.cfg
@@ -17,11 +17,11 @@ if { [info exists CHIPNAME] } {
 set _ENDIAN little
 
 # Work-area is a space in RAM used for flash programming
-# By default use 16kB
+# By default use 12kB
 if { [info exists WORKAREASIZE] } {
    set _WORKAREASIZE $WORKAREASIZE
 } else {
-   set _WORKAREASIZE 0x4000
+   set _WORKAREASIZE 0x3000
 }
 
 # Allow overriding the Flash bank size

-- 

Reply via email to