kopia lustrzana https://github.com/stlink-org/stlink
711 B
711 B
Building with MinGW under Windows
Prequistes
- 7Zip
- CMake 2.8 or higher
- MinGW64 GCC toolchain (5.3.0)
Installation
- Install 7Zip from http://www.7-zip.org
- Install CMake from https://cmake.org/download
- Install MinGW64 from https://sourceforge.net/projects/mingw-w64 (mingw-w64-install.exe)
- Git clone or download stlink sourcefiles zip
- Create build folder in source
Building
Check and execute <source-dir>\scripts\mingw64-build.bat
NOTE: when installing different toolchains make sure you edit the path in the mingw64-build.bat
the build script uses currently C:\Program Files\mingw-w64\x86_64-5.3.0-win32-sjlj-rt_v4-rev0\mingw64\bin