STM32 Archive
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
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
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.
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