Skip to content
This repository has been archived by the owner on Jan 19, 2023. It is now read-only.

caspermeijn/mynewt-rust

Repository files navigation

Rust bindings for mynewt

This repo contains some rust bindings for the mynewt api. It contains two crates:

  • mynewt-sys contains the raw rust bindings
  • mynewt contains safe wrappers for the mynewt packages

Both crates only build the bindings for the enabled mynewt packages.

Status

Incomplete. I will add new APIs when I need them. Feel free to send a pull request.

The bindgen code expects some environment variables that are provided by the master branch of newt builder. See https://github.com/caspermeijn/mynewt-newt/blob/master/INSTALLING.md

Usage

First you need to add the mynewt crate as an dependency of your rust application. Then you can use the correct BSP module for obtaining the peripherals.

About

Rust wrappers for mynewt

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published