From: SimonQian Date: Sun, 24 Apr 2011 15:35:27 +0000 (+0800) Subject: add STM32F2 revY X-Git-Tag: v0.5.0-rc1~80 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5bd1f0bad4086072f9abffc5c7814511b1456b72;p=openocd add STM32F2 revY --- diff --git a/src/flash/nor/stm32f2xxx.c b/src/flash/nor/stm32f2xxx.c index cc5bddbf..df50e84b 100644 --- a/src/flash/nor/stm32f2xxx.c +++ b/src/flash/nor/stm32f2xxx.c @@ -659,6 +659,10 @@ static int get_stm32x_info(struct flash_bank *bank, char *buf, int buf_size) snprintf(buf, buf_size, "Z"); break; + case 0x2001: + snprintf(buf, buf_size, "Y"); + break; + default: snprintf(buf, buf_size, "unknown"); break;