A template for starting a flipperzero-rs project for the Flipper Zeroπ¬
Last updated Jun 1, 2026
107
Stars
13
Forks
0
Issues
0
Stars/day
Attention Score
31
Language breakdown
Rust 100.0%
βΈ Files
click to expand
README
flipperzero-templateπ
A template for kick-starting a Rust + FlipperZero project using flipperzero-rs π¬β€οΈπ¦.
Usage
Initial setup
- Install
rustupby following the instructions onrustup.rs. - Install the nightly build tool-chain to support the
different-binary-namefeature:
rustup toolchain install nightly
- Install
cargo-generate:
cargo install cargo-generate
- Use
rustupto install thethumbv7em-none-eabihftarget to the nightly build:
rustup target add --toolchain nightly thumbv7em-none-eabihf
Generate the project
- Use
cargo generateto clone this template:
cargo generate --git https://github.com/flipperzero-rs/flipperzero-template.git --name my-project
- Switch into the local directory:
cd my-project
Build with cargo build
cargo build
Copy the binary to your Flipper Zero
[!IMPORTANT]
This requires thestoragecommand fromflipperzero-tools(cargo install --locked flipperzero-tools) orstorage.pyfrom the official SDK.
The resulting .fap binary can be found in target/thumbv7em-none-eabihf/debug.
storage send target/thumbv7em-none-eabihf/release/my-project.fap /ext/apps/Examples/my-project.fap
Build and run on change
[!IMPORTANT]
This requires therun-fapcommand fromflipperzero-tools(cargo install --locked flipperzero-tools) orrunfap.pyfrom the official SDK.
You can automatically build and run your binary using cargo-watch and the run-fap tool.
cargo watch -s 'cargo build --release && run-fap target/thumbv7em-none-eabihf/release/my-project.fap'
License
This template is licensed under the MIT License.
π More in this category