Skip to content

0.12.0

Latest
Compare
Choose a tag to compare
@dcoles dcoles released this 12 Sep 19:37
· 36 commits to main since this release
2b1c52b

Added

  • flipperzero::gpio::i2c, providing a Rust interface to the external 3.3V I2C
    bus over GPIO pins C0 and C1, as well as the internal (power) I2C bus.
  • flipperzero::furi::string::FuriString::into_raw, allowing ownership
    of the string to be able to be handed over to C code.

Changed

  • Updated to SDK 73 (firmware 1.0.1🥳).
  • Switched to nightly-2024-09-10 compiler
  • flipperzero_rt::entry macro now requires a function with type signature
    fn(Option<&CStr>) -> i32 instead of fn(*mut u8) -> i32.
  • flipperzero::furi::string::FuriString::as_mut_ptr is now public to allow for
    it to be used with low-level C APIs (e.g. furi_string_printf).

Removed

  • flipperzero::toolbox::{Md5, Sha256} (due to their removal from the Flipper
    Zero SDK API).
  • flipperzero_sys::c_string!, since CStr literals are stable now
    and the macro did not provide any validations.