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
- Host: GitHub
- URL: https://github.com/dnedic/most_commented_embedded_cmakelists
- Owner: DNedic
- Created: 2023-01-05T14:51:59.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-09-02T00:24:49.000Z (over 2 years ago)
- Last Synced: 2025-03-22T14:51:10.625Z (10 months ago)
- Topics: c, cmake, cmakelists, embedded, embedded-systems, stm32, stm32f103
- Language: C
- Homepage:
- Size: 4.23 MB
- Stars: 27
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```