Skip to content

str4d/flipperzero

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust for Flipper Zero 🐬❤️🦀

crates.io Flipper Zero API docs.rs MIT license

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.

SDK version

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

Crates

Initial setup

  1. Install rustup by following the instructions on rustup.rs.
  2. Use rustup to install the thumbv7em-none-eabihf target:
    rustup target add thumbv7em-none-eabihf
    

Writing an external app

The Flipper Zero supports installing externally built applications on the SD card.

See examples/hello-rust for an example application.

License

Licensed under the MIT License. See LICENSE for details.

About

Rust on the Flipper Zero

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%