Skip to content

Building

nerdCopter edited this page May 26, 2023 · 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: force full building: make TARGETNAME --always-make.

@nerdCopter Tip: make all targets, showing only success and error: clear ; make all --keep-going | grep -i 'Building\|error'

Clone this wiki locally