From e82da443bf0f113f7fc3cad71322a69f0db22360 Mon Sep 17 00:00:00 2001 From: Uwe Bonnes Date: Sat, 10 Dec 2011 19:01:52 +0100 Subject: [PATCH] Print undecode chip_id too --- src/stlink-common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stlink-common.c b/src/stlink-common.c index aafd9d2..ab14510 100644 --- a/src/stlink-common.c +++ b/src/stlink-common.c @@ -457,7 +457,7 @@ int stlink_load_device_params(stlink_t *sl) { sl->sys_base = params->bootrom_base; sl->sys_size = params->bootrom_size; - ILOG("Device connected is: %s\n", params->description); + ILOG("Device connected is: %s, id %#x\n", params->description, chip_id); // TODO make note of variable page size here..... ILOG("SRAM size: %#x bytes (%d KiB), Flash: %#x bytes (%d KiB) in pages of %zd bytes\n", sl->sram_size, sl->sram_size / 1024, sl->flash_size, sl->flash_size / 1024, -- 2.30.2