Skip to content

Application Template for Flipper Zero, "STM32 as a Swiss Army Knife"

Notifications You must be signed in to change notification settings

Alex4386/f0-template

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flipper Zero: Application Template

How to use this template

  1. Setup the repository by clicking the Use this template button on the top of the repository. Fill in the data if needed.
  2. Update README.md's upstream url with your repository's url.
  3. Add LICENSE file with your own license.
  4. Continue on Setup Build environment.
  5. Change AppID

Build Status

Nightly Build Release Build
Nightly Build Release Build

Setup Build environment

Build Instruction

  1. Install ufbt:
    pip3 install ufbt
  2. Clone this repository and enter the repository root.
  3. 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
  4. Run ufbt in the repository root:
    ufbt
  5. Compiled binary is now available at ./dist/ directory.

Setup Visual Studio Code

Warning

This command will overwrite your .vscode directory and .gitignore on your root directory. Make sure to backup your changes before running this command.

  1. Suppose your build environment is ready.
  2. Run ufbt vscode_dist to generate Visual Studio Code config.

What Next?

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)

About

Application Template for Flipper Zero, "STM32 as a Swiss Army Knife"

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 100.0%