Skip to content

firefly-zero/firefly-rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

firefly-rust

Rust SDK for making Firefly Zero games.

Installation

cargo add firefly_rust

Cargo features

  • std: required if you don't build your project with #![no_std]. It will remove from the crate the custom panic handler to avoid conflicts with the standard library.
  • alloc: required if you want to use FileBuf. Allows the crate to do memory allocations. If you enable alloc but not std, you have to also provide a global allocator. We recommend using talc.
  • sudo: required if you want to use sudo module. Enables privileged access to the device.
  • nalgebra_support: can be activated if you use nalgebra. Enables type conversion to and from nalgebra vectors.

License

MIT License. You can do whatever you want with the SDK, modify it, embed into any apps and games. Have fun!