most_commented_embedded_cmakelists
most_commented_embedded_cmakelists copied to clipboard
An example CMake project for STM32 devices. It contains the most thoroughly commented embedded CMakeLists file
The most thoroughly commented embedded CMakeLists file project
This repository contains an example embedded CMake project using an STM32F103 MCU. It contains the most thoroughly commented embedded CMakeLists file and a nix-shell reproducible development environment covered on my blog.
Building
To build the project in the default Debug mode use the following commands:
cmake -S . -B build -DCMAKE_BUILD_TYPE=Debug -DCMAKE_TOOLCHAIN_FILE=arm-none-eabi-gcc.cmake
cmake --build build