From c6437386f73d5856f28f8b753919d6864ef7831f Mon Sep 17 00:00:00 2001 From: puckoprutt Date: Mon, 6 Jul 2026 10:48:44 +0200 Subject: [PATCH] wrote first version for setup probe-rs --- probe.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 probe.sh diff --git a/probe.sh b/probe.sh new file mode 100644 index 0000000..e30d902 --- /dev/null +++ b/probe.sh @@ -0,0 +1,11 @@ +function check_if_installed() { + if [[ -f "$HOME/.cargo/bin/probe-rs" ]]; then + echo "already installed." + else + echo "installing probe-rs, cargo-embed and cargo-flash.." + curl -LsSf https://github.com/probe-rs/probe-rs/releases/latest/download/probe-rs-tools-installer.sh | sh + fi +} + + +check_if_installed