build and run on STM32F407G-DISC1 evaluation board
- arm-none-eabi-gcc toolchain.
- stlink to flash binaries into the development board. Some distribution have packages for this.
- standard development tools: CMake, make, git
- python and python3 (both command must be present and running on the development machine).
- may be Im missing some....
cmake -DCMAKE_TOOLCHAIN_FILE=arm-none-eabi-libopencm3.toolchain -DCMAKE_INSTALL_PREFIX=./cmake-build/binaries -S. -Bcmake-build -DCMAKE_BUILD_TYPE=Release
make -C cmake-build/
#run
st-flash --reset write cmake-build/test_xxx 0x8000000