wrote first version for setup probe-rs
This commit is contained in:
parent
ea19c1e446
commit
c6437386f7
11
probe.sh
Normal file
11
probe.sh
Normal file
@ -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
|
||||
Loading…
x
Reference in New Issue
Block a user