- Brace yourself
sudo apt-get update
sudo apt-get install cmake
sudo apt-get install libusb-1.0-0-dev
mkdir ~/proj
cd ~/proj
git clone https://github.com/texane/stlink stlink-repo
cd stlink-repo
make
sudo apt-get update
sudo apt-get install cmake
sudo apt-get install libusb-1.0-0-dev
mkdir ~/proj
cd ~/proj
git clone https://github.com/texane/stlink stlink-repo
cd stlink-repo
make
@Joypacharya I had a similar problem:
I had the st-link version
st-flash 1.6.1-115-g8560f93-dirty
(st-flash --version). I tried to checkout to version 1.6 and it worked!Steps:
sudo git checkout 6aa08a6
sudo make
I hope this helps!