]> git.sur5r.net Git - openocd/commitdiff
flash: add stm32f2x rev X
authorSpencer Oliver <spen@spen-soft.co.uk>
Wed, 5 Dec 2012 20:00:50 +0000 (20:00 +0000)
committerSpencer Oliver <spen@spen-soft.co.uk>
Mon, 24 Dec 2012 10:59:55 +0000 (10:59 +0000)
Updated as per ST RM0033 rev 5

Change-Id: I627fdab69b440b75b8e4f7c474216538fa5273a4
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/1001
Tested-by: jenkins
src/flash/nor/stm32f2x.c

index f007ad758a51ca0c5602431ce481331601197eb0..42ab73049715a417eb6eb916041fa5d2305f81ac 100644 (file)
@@ -713,6 +713,10 @@ static int get_stm32x_info(struct flash_bank *bank, char *buf, int buf_size)
                                snprintf(buf, buf_size, "Y");
                                break;
 
+                       case 0x2003:
+                               snprintf(buf, buf_size, "X");
+                               break;
+
                        default:
                                snprintf(buf, buf_size, "unknown");
                                break;