]> git.sur5r.net Git - openocd/commitdiff
flash: add new stm32l HD variant
authorSpencer Oliver <spen@spen-soft.co.uk>
Tue, 4 Dec 2012 10:15:59 +0000 (10:15 +0000)
committerAndreas Fritiofson <andreas.fritiofson@gmail.com>
Sun, 30 Dec 2012 11:33:04 +0000 (11:33 +0000)
Updated as per latest RM0038 Rev 6.

Change-Id: Ia11309a1cdc3b8986f808b33a5c565bdc0ba58b0
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/1003
Tested-by: jenkins
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
src/flash/nor/stm32lx.c

index 17ac6f080093b0f5e6f6c36d90e4688c3da35928..6d7efb859eae74b787ccf5738f9dcbbc2029ae51 100644 (file)
@@ -646,6 +646,10 @@ static int stm32lx_get_info(struct flash_bank *bank, char *buf, int buf_size)
                                snprintf(buf, buf_size, "Z");
                                break;
 
+                       case 0x1018:
+                               snprintf(buf, buf_size, "Y");
+                               break;
+
                        default:
                                snprintf(buf, buf_size, "unknown");
                                break;