STM32 Archive
23 Oct 2020
Installing ST-Link v2 to flash STM32 targets on Linux

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
18 Dec 2019
Bare Metal STM32 Programming – LED Blink
Do you want to start STM32 programming? Get the Blue Pill which is featuring the powerful & cheap ARM Cortex-M3 32-bit microcontroller then, let’s go! We are going to build a LED blink app from scratch, using only the manual of the STM32F103C8T6 chip. The host platform used for this guide is Linux Mint 19.3.
12 Dec 2019
Setting-up cross compiler and build tools for STM32
Here is an ARM cross-compiler tutorial for STM32 and other ARM-based microcontrollers, like Microchip’s SAM’s. What’s a cross compilation process? That is when you use a x86 machine to produce binary code for a different architecture, like ARM. The situation is similar when you use a Raspberry Pi (ARM CortexA) to build apps for STM32