#macro #mynewt #pinetime

nightly macro no-std pinetime-macros

Safe Wrapper Macros for Mynewt on PineTime Smart Watch

6 releases (stable)

2.0.0 Oct 19, 2020
1.0.3 Oct 12, 2020
1.0.2 Oct 8, 2020
1.0.0 Oct 7, 2020
0.4.0 Oct 7, 2020

#6 in #pinetime

32 downloads per month
Used in 5 crates

Apache-2.0

69KB
919 lines

Rust Safe Wrapper Macros for Mynewt on PineTime Smart Watch

This crate contains Safe Wrapper Macros used by the PineTime Watch Face Framework: pinetime-watchface

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

Refer to the article...

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

See src for more details.


lib.rs:

Mynewt Macros for calling Mynewt APIs . Import this crate into a source code crate and check the expanded macros using:

clear ; cargo rustc -- -Z unstable-options --pretty expanded | head -20

Dependencies

~2MB
~46K SLoC