Light and Versatile Graphics Library is a free and open-source graphics library providing everything you need to create embedded GUI with easy-to-use graphical elements, beautiful visual effects and low memory footprint.
See https://docs.littlevgl.com/en/html/index.html for documentation.
To use lvgl
, add the following include to the application's
Makefile:
EXTERN_LIBS += $(TOCK_USERLAND_BASE_DIR)/lvgl
Checkout the lvgl submodule in this directory
$ git submodule init -- lvgl
$ git submodule update
For faster build times, edit the lvgl/lvgl.mk
file and comment the examples.
# include $(LVGL_DIR)/$(LVGL_DIR_NAME)/examples/examples.mk
include $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/extra.mk
include $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/core/lv_core.mk
...
then run make
$ cd lvgl
$ make
Edit the lv_conf.h
in this folder to set up some parameters and optionals