why2025-badge-sys

Crates.iowhy2025-badge-sys
lib.rswhy2025-badge-sys
version0.2.0
created_at2025-08-11 16:30:38.41137+00
updated_at2025-08-11 21:17:41.57448+00
descriptionBindings to the built-in functions of the WHY2025 badge
homepage
repositoryhttps://github.com/zebreus/why2025-badge-rust
max_upload_size
id1790406
size230,941
Zebreus (zebreus)

documentation

README

why2025-badge-sys

Raw bindings to the functions exported by the WHY2025 badge

Example

#![no_std]

unsafe {
    why2025_badge_sys::printf(b"Hello, world!\n\0".as_ptr());
}

The bindings are autogenerated from the headers present in the firmware, so they are not exactly idiomatic rust.

The symbols definitely need more documentation. If you want to add some, please add it to the C code in the firmware repository, it will get picked up when rebuilding lib.rshift

Interesting symbols

  • [printf]
  • [window_create]
  • [window_framebuffer_create]
  • [window_present]
Commit count: 0

cargo fmt