st-link Archive
23 Oct 2020
Installing ST-Link v2 to flash STM32 targets on Linux
![](https://freeelectron.ro/wp-content/uploads/2019/12/stlink-v2-150x150.png)
This guide is targeting Linux users and ST-Link v2 hardware. First, we are going to install the necessary libraries and build tools: sudo apt-get install git make cmake libusb-1.0-0-dev sudo apt-get install gcc build-essential Now, we will download and build the ST-Link utilities: cd ~myusername mkdir stm32 cd stm32 git clone https://github.com/stlink-org/stlink cd stlink cmake
19 Dec 2019
Installing ST-Link v2 to flash STM32 targets on Linux – old version
This article has a newer version. This guide is targeting Linux users and ST-Link v2 hardware. First, we are going to install the necessary libraries and build tools: sudo apt-get install git make cmake libusb-1.0-0-dev sudo apt-get install gcc build-essential Now, we will download and build the ST-Link utilities: cd ~myusername mkdir stm32 cd stm32