mirror of
https://github.com/gnxlxnxx/cargo-dfu.git
synced 2026-07-27 15:23:02 +02:00
Update Readme
This commit is contained in:
@@ -27,6 +27,12 @@ cargo dfu <args> --vid <vid> --pid <pid>
|
|||||||
cargo dfu
|
cargo dfu
|
||||||
```
|
```
|
||||||
|
|
||||||
|
#### specifying the chip
|
||||||
|
|
||||||
|
```bash
|
||||||
|
cargo dfu --chip stm32f4
|
||||||
|
```
|
||||||
|
|
||||||
#### specifying the vid and pid
|
#### specifying the vid and pid
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
@@ -36,8 +42,12 @@ cargo dfu --vid 0x483 --pid 0xdf11
|
|||||||
## Add chip definitions
|
## Add chip definitions
|
||||||
feel free to open a PR to add chips to this
|
feel free to open a PR to add chips to this
|
||||||
|
|
||||||
## Roadmap
|
## Notes
|
||||||
- [ ] add chip to vendor map so one can optionally use --chip to specify the desired chip
|
some chips like the gd32vf103 need additional udev rules therefor you need to copy the rules from the udev file into /etc/udev/rules.d/
|
||||||
- [ ] add some more chips to the crate (like the gd32vf103)
|
```lang=bash
|
||||||
- [ ] make this crate multi-platform (PR to either the dfu crate to use rusb or the usbapi to add platform support)
|
sudo cp udev.rules /etc/udev/rules.d/cargo-dfu.rules
|
||||||
|
```
|
||||||
|
|
||||||
|
## Roadmap
|
||||||
|
- [ ] make this crate multi-platform (PR to either the dfu crate to use rusb or the usbapi to add platform support)
|
||||||
|
- [ ] check if multiple chips are connected
|
||||||
|
|||||||
Reference in New Issue
Block a user