Simple project for STM Discovery F3 board using modm.io library and CMake.
- GCC (min. 7) for arm
- CMake
- lbuild (instruction can be found here)
- Clone this repository
- Download submodules:
git submodule update --init --recursive - Build HAL using:
lbuild build - Create build directory:
mkdir cmake-gcc-arm - Go inside new directory
cd cmake-gcc-arm - Genate build system using
cmake .. - Build:
make - You're ready to flash your device :)