From 7fa13ed0a663f4358144fa211369d03aae06b7a2 Mon Sep 17 00:00:00 2001 From: Olivier Fauchon Date: Wed, 25 Jan 2023 08:40:31 +0100 Subject: [PATCH] Target MCU was not properly defined for LGT92 target Change openocd interface from stlink-v2 to stlink (interface/stlink-v2.cfg is deprecated) --- targets/lgt92.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/targets/lgt92.json b/targets/lgt92.json index 23bc84dd..aadcc6c4 100644 --- a/targets/lgt92.json +++ b/targets/lgt92.json @@ -8,6 +8,6 @@ "serial": "uart", "linkerscript": "targets/stm32l072czt6.ld", "flash-method": "openocd", - "openocd-interface": "stlink-v2", - "openocd-target": "stm32f0x" -} \ No newline at end of file + "openocd-interface": "stlink", + "openocd-target": "stm32l0" +}