flipperzero-template
flipperzero-template copied to clipboard
A template for starting a flipperzero-rs project for the Flipper Zero🐬
flipperzero-template🚀
A template for kick-starting a Rust + FlipperZero project using flipperzero-rs 🐬❤️🦀.
Currently supports SDK 35.0 ([email protected]).
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
The resulting .fap binary can be found in target/thumbv7em-none-eabihf/debug.
License
This template is licensed under the MIT License.