mirror of
https://github.com/gnxlxnxx/cargo-dfu.git
synced 2026-07-27 23:33:03 +02:00
Compare commits
2
Commits
v0.0.4
...
6b79d67ff8
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6b79d67ff8 | ||
|
|
504ae4e4f0
|
@@ -30,7 +30,7 @@ cargo dfu
|
|||||||
#### specifying the chip
|
#### specifying the chip
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cargo dfu --chip stm32f4
|
cargo dfu --chip stm32
|
||||||
```
|
```
|
||||||
|
|
||||||
#### specifying the vid and pid
|
#### specifying the vid and pid
|
||||||
|
|||||||
+1
-1
@@ -84,7 +84,7 @@ pub fn flash_bin(
|
|||||||
|
|
||||||
pub fn vendor_map() -> std::collections::HashMap<String, Vec<(u16, u16)>> {
|
pub fn vendor_map() -> std::collections::HashMap<String, Vec<(u16, u16)>> {
|
||||||
maplit::hashmap! {
|
maplit::hashmap! {
|
||||||
"stm32f4".to_string() => vec![(0x0483, 0xdf11)],
|
"stm32".to_string() => vec![(0x0483, 0xdf11)],
|
||||||
"gd32vf103".to_string() => vec![(0x28e9, 0x0189)],
|
"gd32vf103".to_string() => vec![(0x28e9, 0x0189)],
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user