From 504ae4e4f0f304bfa0ae901e13566719bdeeea23 Mon Sep 17 00:00:00 2001 From: gnxlxnxx Date: Fri, 26 Nov 2021 19:11:59 +0100 Subject: [PATCH] Use stm32 instead of stm32f4 - the vid and pid seem to be the same across all stm32 devices --- src/utils.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.rs b/src/utils.rs index 565359b..c0d0bba 100644 --- a/src/utils.rs +++ b/src/utils.rs @@ -84,7 +84,7 @@ pub fn flash_bin( pub fn vendor_map() -> std::collections::HashMap> { maplit::hashmap! { - "stm32f4".to_string() => vec![(0x0483, 0xdf11)], + "stm32".to_string() => vec![(0x0483, 0xdf11)], "gd32vf103".to_string() => vec![(0x28e9, 0x0189)], } }