LittlevGL 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).
Find a file
2020-05-30 00:08:46 +02:00
examples/demo No need for manual nul byte 2020-05-30 00:08:46 +02:00
lvgl No need for manual nul byte 2020-05-30 00:08:46 +02:00
lvgl-sys Make it not tied to a color scheme 2020-05-27 22:37:22 +02:00
.gitignore Ignore target dir 2020-04-12 20:43:42 +02:00
.gitmodules Configurable lv_conf.h file 2020-04-12 20:37:26 +02:00
Cargo.toml Improvements in the bindings 2020-04-18 19:20:38 +02:00
demo.png Demo image in README 2020-04-12 12:32:18 +02:00
LICENSE Initial commit 2020-04-10 15:00:21 +02:00
README.md Explain that example runs in a simulator (#4) 2020-05-15 12:54:31 +02:00

LittlevGL - Open-source Embedded GUI Library in Rust

LittlevGL provides everything you need to create a Graphical User Interface (GUI) on embedded systems with easy-to-use graphical elements, beautiful visual effects and low memory footprint.

LittlevGL is compatible with #![no_std] environments by default.

Official LittlevGL Website · C library repository · Live demo


Rust bindings usage demo code.

Usage

Edit your Cargo.toml file dependencies with:

$ cargo add lvgl

The build requires the environment variable bellow to be set:

  • DEP_LV_CONFIG_PATH: Path to the directory containing the lv_conf.h header file used for configuration of LittlevGL library.

We recommend the lv_conf.h file to be in your project's root directory. If so, the command to build your project would be:

$ DEP_LV_CONFIG_PATH=`pwd` cargo build

Running the demo

This project contains an example that can run in a desktop simulator.