- Setup the repository by clicking the
Use this template
button on the top of the repository. Fill in the data if needed. - Update
README.md
's upstream url with your repository's url. - Add
LICENSE
file with your own license. - Continue on Setup Build environment.
- Change
AppID
Nightly Build | Release Build |
---|---|
- Install
ufbt
:pip3 install ufbt
- Clone this repository and enter the repository root.
- Run
ufbt update
to update the SDK for your flipper- If you are using custom firmware, You should switch SDK. Here is the example for
unleashed
firmware:ufbt update --index-url=https://up.unleashedflip.com/directory.json
- If you want to use different release channel, You can run update to that channel too. Here is the example for
dev
channel (dev
,rc
,release
are supported):ufbt update --channel=dev
- If you are using custom firmware, You should switch SDK. Here is the example for
- Run
ufbt
in the repository root:ufbt
- Compiled binary is now available at
./dist/
directory.
Warning
This command will overwrite your .vscode
directory and .gitignore
on your root directory.
Make sure to backup your changes before running this command.
- Suppose your build environment is ready.
- Run
ufbt vscode_dist
to generate Visual Studio Code config.
See KICKSTART.md to see how to start building and setting up the repo for the first time! (This includes changing AppID
and required steps to make your app WORK)