2 Commits
Author SHA1 Message Date
gnxlxnxx 6b79d67ff8 Update Readme 2021-11-26 19:12:53 +01:00
gnxlxnxx 504ae4e4f0 Use stm32 instead of stm32f4
- the vid and pid seem to be the same across all stm32 devices
2021-11-26 19:11:59 +01:00
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ cargo dfu
#### specifying the chip
```bash
cargo dfu --chip stm32f4
cargo dfu --chip stm32
```
#### specifying the vid and pid
+1 -1
View File
@@ -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)],
}
}