From c88e6db3c33defbcb3fdd735e267b9e4ca1476c9 Mon Sep 17 00:00:00 2001 From: gnxlxnxx Date: Fri, 26 Nov 2021 18:49:49 +0100 Subject: [PATCH] Update Readme --- Readme.md | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/Readme.md b/Readme.md index 30be516..2183c8e 100644 --- a/Readme.md +++ b/Readme.md @@ -27,6 +27,12 @@ cargo dfu --vid --pid cargo dfu ``` +#### specifying the chip + +```bash +cargo dfu --chip stm32f4 +``` + #### specifying the vid and pid ```bash @@ -36,8 +42,12 @@ cargo dfu --vid 0x483 --pid 0xdf11 ## Add chip definitions feel free to open a PR to add chips to this +## Notes +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/ +```lang=bash +sudo cp udev.rules /etc/udev/rules.d/cargo-dfu.rules +``` + ## Roadmap -- [ ] add chip to vendor map so one can optionally use --chip to specify the desired chip -- [ ] add some more chips to the crate (like the gd32vf103) - [ ] 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