STM32 – dockerized toolchain

Lightweight docker image built on top of alpine:3.10 with installed ARM-none-eabi toolchain and few additional tools: ARM-none-eabi toolchain (2019; GNU Tools for Arm Embedded Processors 8-2019-q3-update) stlink (v1.5) make (v4.2) cmake (v3.14) DockerHub: https://hub.docker.com/r/lpodkalicki/stm32-toolchain Installing Bellow you can find recommended simple one-line installer that pulls the newest docker-image and installs stm32-toolchain script into “/usr/bin/” directory. curl https://raw.githubusercontent.com/lpodkalicki/stm32-toolchain-docker/master/install.sh | bash -s … Read more

How to compile and burn the code to STM32 chip on Linux (Ubuntu)

This is tutorial for beginners that shows how to install tools, compile the code with gcc-arm-none-eabi and send it to the STM32 using st-flash. It also introduce basics of automation of this task by putting all instructions into Makefile. A few, complete code examples can be found on GitHub: stm32f401 stm32f072 stm32f042 1. Installing compiler … Read more