This is an automated email from Gerrit.

Ilia Motornyi ([email protected]) just uploaded a new patch set to Gerrit, 
which you can find at http://openocd.zylin.com/4308

-- gerrit

commit b618edd92d318c54a7ca572d5f515e8c3a135c01
Author: elmot <[email protected]>
Date:   Thu Dec 7 10:08:28 2017 +0200

    config: stm32l01x and stm32l02x chips support
    
    New low-end chips have only 2k of RAM, workarea size adjusted
    
    Change-Id: Ibfccd73fef9e6dabffc87d901736c5626ce411fe
    signed-off-by: Ilia Motornyi <[email protected]>

diff --git a/tcl/target/stm32l0.cfg b/tcl/target/stm32l0.cfg
index 245213b..417b282 100644
--- a/tcl/target/stm32l0.cfg
+++ b/tcl/target/stm32l0.cfg
@@ -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 8kB (max ram on smallest part)
+# By default use 2kB (max ram on smallest part)
 if { [info exists WORKAREASIZE] } {
    set _WORKAREASIZE $WORKAREASIZE
 } else {
-   set _WORKAREASIZE 0x2000
+   set _WORKAREASIZE 0x800
 }
 
 # JTAG speed should be <= F_CPU/6.

-- 

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to