Skip to content

no1wudi/nuttx-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

NuttX Rust Bindings

Safe Rust bindings for the NuttX RTOS API, supporting both std and no_std environments.

Features

Important Note: The optional features must match the corresponding configuration in your NuttX build. For example, enabling fb_overlay requires CONFIG_FB_OVERLAY=y in your NuttX configuration.

Input Devices

  • Touchscreen

Video

  • Framebuffer
  • Display information
  • Optional features:
    • FB overlay support (fb_overlay)
    • FB module info support (fb_moduleinfo)
    • FB update support (fb_update)
    • FB sync support (fb_sync)

Usage

Add this to your Cargo.toml:

[dependencies]
nuttx = "0.1"

Enable optional features as needed:

[dependencies.nuttx]
version = "0.1"
features = ["fb_overlay", "fb_update"]

Safety

This crate uses unsafe blocks to interface with NuttX's C API. All public APIs are designed to be safe to use, with proper error handling and resource management.

About

Rust friendly bindings to NuttX APIs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages