lvgl / lv_binding_rust

LVGL bindings for Rust. A powerful and easy-to-use embedded GUI with many widgets, advanced visual effects (opacity, antialiasing, animations) and low memory requirements (16K RAM, 64K Flash).
MIT License
687 stars 71 forks source link

Create example using fixed size allocator #16

Closed rafaelcaricio closed 4 years ago

rafaelcaricio commented 4 years ago

The idea is to make use of wee_alloc with the static_array_backend feature enabled. Since lvgl-rs cannot remove the dependency on alloc crate, we can show how users can have predictable limit on the amount of memory their firmware will take in embedded devices when using lvgl-rs.