STM32 toolchain setup and examples (29.03.2023) The newest makefile (29.03.2023) with support for st-flash(1) is in the discoL100 directory. This makefile expects a copy of libopencm3 [1] someplace (set by OPENCM3_DIR variable). That needs to be built as described in it's own readme. The default value for the variable is "libopencm3" so you just need to symlink the library in each of your project directories. You will also need the arm-none-eabi toolchain, on debian it's in these packages: sudo apt install binutils-arm-none-eabi gcc-arm-none-eabi libstdc++-arm-none-eabi-newlib libnewlib-arm-none-eabi gdb-arm-none-eabi * hello.c - Small demo program, blinks PC13 led and some leds on PORTA * pcf2111/ - Demo program for an display module based on a PCF2111 IC, using this toolchain * oldmakefiles/ - contains older versions of the Makefile * stm32-examples/ - various example for BluePill boards (STM32F103C8T6) [1] - https://github.com/libopencm3/libopencm3