This project allows writing Rust-based applications for the Flipper Zero.
It doesn't have any direct dependency on flipperzero-firmware
or toolchain,
so it can be used to build binaries with no external dependencies.
These crates only support the core
and alloc
crates.
The Rust thumbv7em-none-eabihf
target currently only supports no_std
development.
This means it's not possible to use anything in the std
crate.
Currently supports SDK 11.2 ([email protected]).
The Rust crate version number will be updated after a major API version bump in the Flipper Zero firmware.
Crate version | API version |
---|---|
0.6.x | 11.2 |
0.5.x | 10.1 |
0.4.x | 7.5 |
0.3.x | 2.2 |
flipperzero
: High-level safe bindingsflipperzero-alloc
: Custom global allocator (required foralloc
)flipperzero-rt
: Runtime support (including panic handler and entry point helper)flipperzero-sys
: Low-level bindings to Flipper Zero API (unsafe)
- Install
rustup
by following the instructions onrustup.rs
. - Use
rustup
to install thethumbv7em-none-eabihf
target:rustup target add thumbv7em-none-eabihf
The Flipper Zero supports installing externally built applications on the SD card.
See examples/hello-rust
for an example application.
Licensed under the MIT License. See LICENSE for details.