#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

Download history 1/week @ 2024-02-08 4/week @ 2024-02-15 8/week @ 2024-02-22 24/week @ 2024-02-29 18/week @ 2024-03-07 15/week @ 2024-03-14 18/week @ 2024-03-21 16/week @ 2024-03-28

71 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
~43K SLoC