#lvgl #api-bindings #mynewt #pinetime #bindings-generator

nightly no-std pinetime-lvgl

LVGL Bindings for Mynewt on PineTime Smart Watch

8 releases (stable)

2.0.1 Oct 21, 2020
2.0.0 Oct 19, 2020
1.0.4 Oct 12, 2020
0.4.0 Oct 7, 2020

#1391 in Embedded development

43 downloads per month
Used in 3 crates (via pinetime-watchface)

Apache-2.0

15MB
317K SLoC

C 175K SLoC // 0.1% comments Rust 141K SLoC // 0.0% comments Python 854 SLoC // 0.1% comments Shell 399 SLoC // 0.1% comments Arduino C++ 85 SLoC // 0.1% comments Forge Config 49 SLoC

Rust LVGL Bindings for Mynewt on PineTime Smart Watch

This crate contains LVGL Bindings used by the PineTime Watch Face Framework: pinetime-watchface

Check out a sample watch face created with this framework: barebones-watchface

The LVGL Bindings are compatible with PineTime Mynewt Firmware pinetime-rust-mynewt and with PineTime WebAssembly Simulator lvgl-wasm

Refer to the article...

"Create Your Own PineTime Watch Face in Rust... And Publish on crates.io"

To generate bindings and publish to crates.io...

scripts/gen-bindings.sh

cargo package --list --allow-dirty

cargo publish --dry-run --allow-dirty

cargo publish    

See src for more details.


lib.rs:

LVGL API for Rust. Contains Rust bindings for LVGL API for C, generated by bindgen. Also includes safe versions of LVGL APIs created specially for Rust.

Dependencies