From 730a795f09e0bc3156052bb8e13f4fae918c04f7 Mon Sep 17 00:00:00 2001 From: Jonathan Giles Date: Thu, 19 May 2022 19:07:19 -0400 Subject: [PATCH] Add idcode for GD32F303CG detection --- src/target/stm32f1.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/target/stm32f1.c b/src/target/stm32f1.c index 76bfb1a..efb39bb 100644 --- a/src/target/stm32f1.c +++ b/src/target/stm32f1.c @@ -133,6 +133,7 @@ bool gd32f1_probe(target *t) uint32_t ramSize=signature >>16 ; switch(t->idcode) { case 0x414: /* Gigadevice gd32f303 */ + case 0x430: t->driver = "GD32F3"; break; case 0x410: /* Gigadevice gd32f103, gd32e230 */