This is an automated email from Gerrit.

Jan Čapek ([email protected]) just uploaded a new patch set to Gerrit, which 
you can find at http://openocd.zylin.com/4076

-- gerrit

commit 3b8e640b636dda879e909c6458ca54e4697ad4d8
Author: Jan Čapek <[email protected]>
Date:   Mon Mar 20 17:02:09 2017 +0100

    stm32lx flash driver: fix bank size for STM32L0xx (Cat. 5)
    
    - change first bank size 128->96 kB according to the datasheet
    
    Change-Id: I3e6afa91a5e41dcbc904c854443370f928f09f93
    Signed-off-by: Jan Čapek <[email protected]>

diff --git a/src/flash/nor/stm32lx.c b/src/flash/nor/stm32lx.c
index 0b39233..a47efd6 100644
--- a/src/flash/nor/stm32lx.c
+++ b/src/flash/nor/stm32lx.c
@@ -258,7 +258,7 @@ static const struct stm32lx_part_info stm32lx_parts[] = {
                .page_size                      = 128,
                .pages_per_sector       = 32,
                .max_flash_size_kb      = 192,
-               .first_bank_size_kb     = 128,
+               .first_bank_size_kb     = 96,
                .has_dual_banks         = true,
                .flash_base                     = 0x40022000,
                .fsize_base                     = 0x1FF8007C,

-- 

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