This is an automated email from Gerrit.

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

-- gerrit

commit ca01d1ecdd11b0111ac8bfb02bca637f2a470d80
Author: Jens Bauer <[email protected]>
Date:   Sat Jun 20 13:29:03 2015 +0200

    stm32f1: Add support for STM32F103x8 devices.
    
    The STM32F103x8 seems to be added recently. They have 64K Flash and use the
    device code 419. This patch adds support for these devices.
    The patch was tested with this board: http://shop.ebay.com/181630173615
    
    Change-Id: If544122a2afb04d1ea888063103c88cc99d015f7
    Signed-off-by: Jens Bauer <[email protected]>

diff --git a/src/flash/nor/stm32f1x.c b/src/flash/nor/stm32f1x.c
index 82f112e..baf6b1b 100644
--- a/src/flash/nor/stm32f1x.c
+++ b/src/flash/nor/stm32f1x.c
@@ -889,6 +889,11 @@ static int stm32x_probe(struct flash_bank *bank)
                stm32x_info->ppage_size = 2;
                max_flash_size_in_kb = 256;
                break;
+       case 0x419: /* medium density (STM32F103c8) */
+               page_size = 1024;
+               stm32x_info->ppage_size = 4;
+               max_flash_size_in_kb = 64;
+               break;
        case 0x420: /* value line density */
                page_size = 1024;
                stm32x_info->ppage_size = 4;

-- 

------------------------------------------------------------------------------
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to