A set of auxiliary classes for flashing devices
- Flashing
- CRC
- Stopwatch
Cross-platform
The project is written on C++14
OS | Requirements |
---|---|
Linux | g++5 or higher, 64 bit |
Windows | msvc2015, 32 bit |
OSX | clang++ , 64 bit |
- Download the Qt installer
- You need to install
Qt 5.9.4
or higher, and following packages:- Qt Core for your compiler (msvc2015/g++/clang++)
-
From directory with project (use shadow build), type in terminal:
-
sh
cd .. mkdir devlib-build cd devlib-build qmake "../flash_utils/flash_utils.pro" make
-
pwsh (PowerShell)
cd .. mkdir devlib-build cd devlib-build qmake "..\flash_utils\flash_utils.pro" jom.exe
-
-
Note: By default
qmake
locates in[QTPATH]/[QTVERSION]/[COMPILER]/bin
. For example~/Qt/5.9.1/clang_64/bin/qmake
. On Windows, instead of make you can usejom.exe
which installs with msvc compiler. -
ccache: For building with ccache add
QMAKE_CXX='ccache $${QMAKE_CXX}'
to the end of qmake or QtCreator build kit
By default the project builds only utils
library.
-
FUTILS_INCLUDE_TESTS
- enabletests
build Example:qmake CONFIG+=FUTILS_INCLUDE_TESTS