This repository is a fork of the Slint MCU C++ Templates with preliminary Nix Flakes support. This is not meant to work in NixOS specifically, but rather in any system that supports Nix Flakes.
The only prerequisite is a working Nix installation with flakes enabled. Nix can be installed by following the instructions here.
To enable flakes, follow the instructions here..
To start a nix shell, run the following command in the root of this repository:
nix develop
Then once inside the nix shell, you can build a project with the following example command (no need to install any dependencies, they will be automatically installed via nix):
cd stm32h735g-dk
cmake -B build
cmake --build build
This repository contains templates for different STM32 Discovery Kits to create C++ applications with Slint.
Each sub-directory corresponds to one supported board.
Project | STM32 Board |
---|---|
stm32h747i-disco | STM32H747I-DISCO: Dual-core Arm M7/M4 MCU with 4” touch LCD display module |
stm32h735g-dk | STM32H735G-DK: Arm M7 MCU with 4” touch LCD display module |