17 releases (11 breaking)

0.12.0 Sep 12, 2024
0.11.0 Aug 31, 2023
0.10.0 Jun 3, 2023
0.8.0 Mar 31, 2023
0.4.0 Nov 22, 2022

#193 in Embedded development

Download history 17/week @ 2024-07-15 13/week @ 2024-07-22 9/week @ 2024-07-29 40/week @ 2024-08-05 12/week @ 2024-08-12 6/week @ 2024-08-19 6/week @ 2024-08-26 6/week @ 2024-09-02 147/week @ 2024-09-09 38/week @ 2024-09-16 76/week @ 2024-09-23 18/week @ 2024-09-30 9/week @ 2024-10-07 23/week @ 2024-10-14 4/week @ 2024-10-21 14/week @ 2024-10-28

51 downloads per month
Used in 5 crates (4 directly)

MIT license

1.5MB
32K SLoC

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 73.0 (flipperzero-firmware@1.0.1).

The crate major version number will be updated after a bump in API version in the Flipper Zero firmware.

Crate version API version
0.12.x 73.0
0.11.x 35.0
0.10.x 28.2
0.9.x 23.0
0.8.x 20.0
0.7.x 14.0
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 application

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

See flipperzero-template🚀 to help you get started.

License

Licensed under the MIT License. See LICENSE for details.

Dependencies

~1.5MB
~39K SLoC