From: Cody Schafer Date: Tue, 21 Aug 2018 14:46:40 +0000 (-0400) Subject: flash/stm32f2x: add stm32f7 revision Z identification X-Git-Tag: v0.11.0-rc1~1001 X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=commitdiff_plain;h=23cd59cdf2a563b840e5917e36c4241ee4d988f4 flash/stm32f2x: add stm32f7 revision Z identification Signed-off-by: Cody P Schafer Change-Id: Ia0169514d494bae2a98d92ebc97c8eccc10bc6c4 Reviewed-on: http://openocd.zylin.com/4657 Tested-by: jenkins Reviewed-by: Christopher Head Reviewed-by: Tomas Vanek --- diff --git a/src/flash/nor/stm32f2x.c b/src/flash/nor/stm32f2x.c index 413d04d771..b46fb07869 100644 --- a/src/flash/nor/stm32f2x.c +++ b/src/flash/nor/stm32f2x.c @@ -1190,6 +1190,9 @@ static int get_stm32x_info(struct flash_bank *bank, char *buf, int buf_size) case 0x1000: rev_str = "A"; break; + case 0x1001: + rev_str = "Z"; + break; } break;