This is an automated email from Gerrit.

Uwe Bonnes ([email protected]) just uploaded a new patch 
set to Gerrit, which you can find at http://openocd.zylin.com/3362

-- gerrit

commit a7f66f008a7b9fb8edc8daaa838c416a6fe9270d
Author: Uwe Bonnes <[email protected]>
Date:   Thu Feb 25 14:33:43 2016 +0100

    stm32lx.c: Print device string as info.
    
    Change-Id: I893f0d9a5095a9f122adc76cf403277639fa880c
    Signed-off-by: Uwe Bonnes <[email protected]>

diff --git a/src/flash/nor/stm32lx.c b/src/flash/nor/stm32lx.c
index 5d5f92b..15ecd5b 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;

-- 

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to