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 trueIf 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: Buildto build orPlatformIO: Uploadto 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 releasebutton. - Click
Choose a tagand create a new version tag, e.g.1.14.0 - Enter a title and release notes.
- Optionally check
This is a pre-releaseif 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.