From: Uwe Bonnes Date: Thu, 25 Feb 2016 13:33:43 +0000 (+0100) Subject: stm32lx.c: Print device string as info. X-Git-Tag: v0.10.0-rc1~240 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=fe03eba277ccc03d54270927c0e0f66360904632;p=openocd stm32lx.c: Print device string as info. Change-Id: I893f0d9a5095a9f122adc76cf403277639fa880c Signed-off-by: Uwe Bonnes Reviewed-on: http://openocd.zylin.com/3362 Tested-by: jenkins Reviewed-by: Andreas Fritiofson --- diff --git a/src/flash/nor/stm32lx.c b/src/flash/nor/stm32lx.c index 42e00bdb..22830e60 100644 --- a/src/flash/nor/stm32lx.c +++ b/src/flash/nor/stm32lx.c @@ -740,6 +740,8 @@ static int stm32lx_probe(struct flash_bank *bank) if (!stm32lx_info->part_info) { LOG_WARNING("Cannot identify target as a STM32L family."); return ERROR_FAIL; + } else { + LOG_INFO("Device: %s", stm32lx_info->part_info->device_str); } stm32lx_info->flash_base = stm32lx_info->part_info->flash_base;