STM32 project managed with CMake | VIDEO 46
Matej Blagšič
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-the-beginning-3766 https://www.youtube.com/watch?v=rgWwrzZLVR8&t=2144s
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/SausageCode/Embedded_videos/tree/master/046_BUILDING-PT5-cmake ... https://www.youtube.com/watch?v=9tWRdnyWGb8
151320479 Bytes