mirror of
https://github.com/gnxlxnxx/cargo-dfu.git
synced 2026-07-27 15:23:02 +02:00
Use stm32 instead of stm32f4
- the vid and pid seem to be the same across all stm32 devices
This commit is contained in:
+1
-1
@@ -84,7 +84,7 @@ pub fn flash_bin(
|
||||
|
||||
pub fn vendor_map() -> std::collections::HashMap<String, Vec<(u16, u16)>> {
|
||||
maplit::hashmap! {
|
||||
"stm32f4".to_string() => vec![(0x0483, 0xdf11)],
|
||||
"stm32".to_string() => vec![(0x0483, 0xdf11)],
|
||||
"gd32vf103".to_string() => vec![(0x28e9, 0x0189)],
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user