PlatformIO version of the MobiFlight firmware source.
Warning: Before attempting to build the repo you must enable long path support in git otherwise you will get a build failure on the Raspberry Pi Pico build. To enable long paths type the following in a terminal window:
git config --global core.longpaths true
If you still receive an error then enable long paths support in Windows.
- Install Visual Studio Code
- Install the PlatformIO extension. Visual Studio Code will automatically suggest this extension if you don't already have it installed.
- From the Command Palette select
PlatformIO: Build
to build orPlatformIO: Upload
to build and upload to your connected board
If you want to speed up local development and only build for one of the supported platforms then click on the Default (MobiFlight-FirmwareSource)
label
in the Visual Studio Code status bar and then select the specific target platform you want to build for.
To publish a new release:
- Go to the GitHub Releases page and
click the
Draft a new release
button. - Click
Choose a tag
and create a new version tag, e.g.1.14.0
- Enter a title and release notes.
- Optionally check
This is a pre-release
if the release should be for testing purposes and not be marked as the latest published release. - Click
Publish release
.
The release build process will automatically run and after a few minutes attach firmware binaries for the release to the release page.
If a release was marked as pre-release you can go back later and edit it to remove the pre-release designation which will automatically promote it to the latest published release.