STM32 project managed with CMake | VIDEO 46

Опубликовано: 16 Март 2026
на канале: Matej Blagšič
31,132
605

In this video I show you my minimal CMake configuration which requires very few modifications to adapt to different STM32 microcontrollers. I also demonstrate this in the video.

The configuration was inspired by following article and youtube video and I recommend you to have a look:
https://dev.to/younup/cmake-on-stm32-...
   • Andreas Reischuck "Cross Compiling with CM...  

Timestamps:
0:00 Introduction
1:57 Overview of sample project
3:46 Modifying CubeMX generated Makefile for the project
5:58 CMake files
7:08 CMake gcc-arm-none-eabi toolchain walkthrough
11:47 CMakeLists.txt walkthrough
24:58 Manual CMake configuration launch, configuration inspection and build
30:34 Automation using top level Makefile walkthrough
33:22 Ending remarks

Project files:
https://github.com/prtzl/Embedded_vid...