Build the examples from the STMicroelectronics/STM32CubeF1 library with CMake
, GCC
& Clang
git clone --recursive https://github.com/tobiashienzsch/examples-stm32.git
make CONFIG=Release # GCC release build. Release is default.
make clean # Remove build dir
make CLANG=1 # Clang release build
- LTO for GCC.
- Fix warnings with clang asm files.
- Set linker script in each project. Not globally.