A template for kick-starting a Rust + FlipperZero project using flipperzero-rs
🐬❤️🦀.
Currently supports SDK 14.0 ([email protected]).
- Install
rustup
by following the instructions onrustup.rs
. - Install the nightly build tool-chain to support the
different-binary-name
feature:rustup toolchain install nightly
- Install
cargo-generate
:cargo install cargo-generate
- Use
rustup
to install thethumbv7em-none-eabihf
target to the nightly build:rustup target add --toolchain nightly thumbv7em-none-eabihf
- Use
cargo generate
to clone this template:If thecargo generate --git https://github.com/flipperzero-rs/flipperzero-template.git --name my-project
cargo generate
command fails with a segfault, try cloning the template project locally and use a relative path instead:git clone https://github.com/flipperzero-rs/flipperzero-template.git cargo generate --git flipperzero-template --name my-project
- Switch into the local directory:
cd my-project
cargo build
The resulting .fap
binary can be found in target/thumbv7em-none-eabihf/debug
.
This template is licensed under the MIT License.