Update Readme

This commit is contained in:
2021-11-26 18:49:49 +01:00
parent a7f1125c94
commit c88e6db3c3
+14 -4
View File
@@ -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