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/1491
-- gerrit commit f583bf6c38ca85fc9e6bd2f0b348f3dfc76d9236 Author: Spencer Oliver <[email protected]> Date: Mon Jul 8 17:18:54 2013 +0100 flash: add missing stm32l medium+ device id The device was correctly used in stm32lx_probe but missing from stm32lx_get_info. Change-Id: If288b8df3210a945e727e4e27cfbdb948db32fc7 Signed-off-by: Spencer Oliver <[email protected]> diff --git a/src/flash/nor/stm32lx.c b/src/flash/nor/stm32lx.c index 0a4e5f8..7093fa4 100644 --- a/src/flash/nor/stm32lx.c +++ b/src/flash/nor/stm32lx.c @@ -739,7 +739,8 @@ static int stm32lx_get_info(struct flash_bank *bank, char *buf, int buf_size) snprintf(buf, buf_size, "unknown"); break; } - } else if ((device_id & 0xfff) == 0x436) { + } else if (((device_id & 0xfff) == 0x436) || + ((device_id & 0xfff) == 0x427)) { printed = snprintf(buf, buf_size, "stm32lx (HD) - Rev: "); buf += printed; buf_size -= printed; -- ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
