-
-
Notifications
You must be signed in to change notification settings - Fork 115
Building
nerdCopter edited this page Jun 15, 2021
·
5 revisions
Although building is possible on any platform, here is the Debian/Ubuntu method.
one time:
sudo apt install git build-essential
git clone https://github.com/emuflight/EmuFlight.git
Build:
cd EmuFlight
#on occasion when arm_sdk changes: (sometimes the servers which host arm_sdk corrupt the download, so repeat until success)
make arm_sdk_install --always-make --trace
#build targets (single, list, or all):
make HELIOSPRING FOXEERF405 MATEKF722
Optional:
make all --keep-going
.hex
files will be under ./obj
. you may delete ./obj/*.bin
.
Note: This works with git checkout [branch or commit]
also.
@nerdCopter Tip: i like building with make TARGETNAME --always-make
to make sure dependencies are rebuilt.