Project Setup
Software Requirements
The following software is required to build the project:
Windows
Arduino installation with Teensyduino add-on
Git for Windows (Bash)
MinGW (make)
Visual Studio 2017 (for Management UI builds)
Qt 5 (for Management UI builds)
If needed, copy MinGW/bin/mingw32-make.exe
to MinGW/bin/make.exe
, as this documentation refers to the command as make
.
Requirements to regenerate protobuf (nanopb) sources:
Download protoc binaries, fe.: https://github.com/protocolbuffers/protobuf/releases/download/v3.11.4/protoc-3.11.4-win64.zip
Extract zip, fe. c:\share\protoc-3.11.4
Add protoc (fe., c:\share\protoc-3.11.4\bin) to PATH
Ubuntu 18.04
Arduino installation with Teensyduino add-on
apt install build-essential
Qt 5 (for Management UI builds)
Requirements to regenerate protobuf (nanopb) sources:
apt install protobuf libprotobuf-dev python-protobuf
Fetching sources
Use git
to clone the root project (TeensyFanController).
You must initialize and pull the git sub-modules/sub-repositories:
git clone https://github.com/mstrthealias/TeensyFanController.git
git submodule init
git submodule update
Setup project build environment
Change directory to the project root, and use Makefile:
cd TeensyFanController
ARDUINO_DIR=/opt/Arduino make
Last updated
Was this helpful?