An open API service indexing awesome lists of open source software.

https://github.com/dnedic/most_commented_embedded_cmakelists

An example CMake project for STM32 devices. It contains the most thoroughly commented embedded CMakeLists file
https://github.com/dnedic/most_commented_embedded_cmakelists

c cmake cmakelists embedded embedded-systems stm32 stm32f103

Last synced: 3 months ago
JSON representation

An example CMake project for STM32 devices. It contains the most thoroughly commented embedded CMakeLists file

Awesome Lists containing this project

README

          

# 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](CMakeLists.txt) and a [nix-shell reproducible development environment](shell.nix) covered on [my blog](https://dnedic.github.io/blog/).

# Building
To build the project in the default Debug mode use the following commands:
```bash
cmake -S . -B build -DCMAKE_BUILD_TYPE=Debug -DCMAKE_TOOLCHAIN_FILE=arm-none-eabi-gcc.cmake
cmake --build build
```