This is an automated email from Gerrit.

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

-- gerrit

commit f5db47bba6857728e2af7d19f7d7c3c62e2a1829
Author: Spencer Oliver <[email protected]>
Date:   Thu Jul 12 12:15:26 2012 +0100

    flash: add stm32l Revision X support
    
    Revision X is not mentioned in the latest RM0038 rev5, however it has been
    confirmed correct by ST using ST-LINK Utilty.
    
    Change-Id: I65210e512ea25818a1d0d3b223502ebd7535b29d
    Signed-off-by: Spencer Oliver <[email protected]>

diff --git a/src/flash/nor/stm32lx.c b/src/flash/nor/stm32lx.c
index 3bc6eed..716517b 100644
--- a/src/flash/nor/stm32lx.c
+++ b/src/flash/nor/stm32lx.c
@@ -618,6 +618,10 @@ static int stm32lx_get_info(struct flash_bank *bank, char 
*buf, int buf_size)
                                snprintf(buf, buf_size, "Y");
                                break;
 
+                       case 0x1018:
+                               snprintf(buf, buf_size, "X");
+                               break;
+
                        case 0x1038:
                                snprintf(buf, buf_size, "W");
                                break;

-- 

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to