From ef88eda6a7ed47c4ef7b72f662805ecb0f1df245 Mon Sep 17 00:00:00 2001 From: Johann Hemmann Date: Mon, 10 May 2021 12:28:03 +0200 Subject: [PATCH] `README`: Add installation instructions for Fedora Tested on fedora 34 --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e2a67f0b..b776d033 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,14 @@ To install `probe-run`, use `cargo install probe-run`. On Linux, you might have to install `libudev` and `libusb` from your package manager before installing `probe-run`. +``` console +# ubuntu +$ sudo apt install -y libusb-dev libusb-1.0 libftdi1-dev + +# fedora +$ sudo dnf install -y libusbx-devel systemd-devel +``` + ## Setup ### 1. Set the Cargo runner @@ -53,7 +61,7 @@ the --probe option to the `runner` or setting the `${PROBE_RUN_PROBE}` environme variable with a value containing either `${VID}:${PID}` or `${VID}:${PID}:${SERIAL}`: ```console -probe-run --probe '0483:3748' --chip ${PROBE_RUN_CHIP} +$ probe-run --probe '0483:3748' --chip ${PROBE_RUN_CHIP} PROBE_RUN_PROBE='1366:0101:123456' cargo run ```